Update to use base code

This commit is contained in:
William Moore 2022-08-25 14:18:08 -05:00
parent 173575d714
commit 6a89609ee1
7 changed files with 79 additions and 8 deletions

View File

@ -1,7 +1,7 @@
BUILDDIR := build
DISTDIR := dist
SRCDIR := .
TARGETS := dummy
TARGETS := missingwand
all: $(TARGETS)

View File

@ -0,0 +1,78 @@
[ Copyright (C) 2022 William R. Moore <william@nerderium.com> and Olivia BE Moore
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. ]
"Mystery of the Missing Wand" by "Masterful Interactions".
The story description is "Where in the world is the missing wand and can you find it before it is too late?".
The release number is 1.
Release along with cover art, interpreter, library card, and source text.
Include Menus by Emily Short. Include Basic Help Menu by Emily Short.
[
FIGURES
]
Figure of Heroine is the file "heroine.jpg".
[
PERSONS
]
[
PLACES
]
[ Reg's House ]
Reg's House Living Room is a room. It is below Reg's House Upstairs. It is north of Reg's House Kitchen. The description is "The living room of Reg's House is very clean and large.".
Reg's House Upstairs is room.
Reg's House Kitchen is a room. The description is "The lightly-colored, hardwood floor, the white, wooden cabinets, and granite countertop just simply sparkles despite being in an area primarily used in the preparation of messy foods.".
Briley's Bedroom is a room. It is north of Reg's House Upstairs. The description is "The room is an utter nightmare of heavy metal CDs and role-playing game stuff. Be careful where you walk!".
Reg's Bedoom is a room. It is west of Reg's House Upstairs. The description is "The bedroom is tidy and orderly with lace curtains on both windows that face outside. The bed looks like it is always made and ready to sleep in.".
Sparkle's Bedoom is a room. It is east of Reg's House Upstairs. The description is "The bedroom is full of stuffed animals, pink bunny toys, and many girl's things. The window has fancy, pink curtains on it.".
[
THINGS
]
A die is a kind of thing. A die has a number called sides.
The tetrahedron is a die. It is in Briley's Bedroom. The sides of tetrahedron is 4. The description is "This pyramid shaped plastic shape is silver colored. It looks like it wants to be rolled.".
The hexahedron is a die. It is in Briley's Bedroom. The sides of hexahedron is 6. The description is "This cube shaped plastic shape is silver colored. It looks like it wants to be rolled.".
The octohedron is a die. It is in Briley's Bedroom. The sides of octohedron is 8. The description is "This eight-sided plastic shape looks like two pyramids connected at the bottom and is silver colored. It looks like it wants to be rolled.".
The decahedron is a die. It is in Briley's Bedroom. The sides of decahedron is 10. The description is "This ten-sided plastic shape looks like two diamonds connected at the tops and is silver colored. It looks like it wants to be rolled.".
The dodecahedron is a die. It is in Briley's Bedroom. The sides of dodecahedron is 12. The description is "This twelve-sided plastic shape looks like a soccer ball and is silver colored. It looks like it wants to be rolled.".
Reg TV is a thing. It is fixed in place. It is in Reg Living Room. The description is "A flat screen QLED TV with black trim. It is fixed onto the wall.".
[
ACTIONS
]
Before examining the player:
display the Figure of Heroine.
The player is in Reg's House Living Room.
Before going to a room:
continue the action.
After going to a room (called new room):
if new room is Briley's Bedroom:
say "Ouch! You stepped on the [tetrahedron] with bare feet! That's going to leave a mark. Better look around to see what happened.";
otherwise:
continue the action.
Understand "roll [something preferably held]" as rolling. Rolling is an action applying to one visible thing.
Check rolling when the noun is not a die: say "[the noun] is not something you can roll." instead.
Carry out rolling:
say "You've rolled [the noun].".

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

View File

@ -1,3 +0,0 @@
{
"makefile.extensionOutputFolder": "./.vscode"
}

4
web.sh
View File

@ -1,4 +0,0 @@
#!/bin/sh
python3 ${IF}/blorbtool.py $1.gblorb giload $1.materials/Release/interpreter interpreter
cp $1.gblorb "$1.materials/Release/`cat $1.inform/Release.blurb | grep -Eo -m1 '([^\"]+\.gblorb)' | sed -e 's/\( \)/\\ /g'`"