' Quest 3.5 ASL Template
define game <Game Name>
asl-version <350>
gametype singleplayer
game version <1.0>
game author <Your Name>
game copyright <© 2004 ...>
game info <Enter any additional information about this game here.>
start <Start Room>
end define
define room <Start Room>
look <Description Goes Here>
define object <glass>
take {
give <glass>
' if not flag <start> then {
' speak <Now you need to turn on the water.>
' msg <Type "turn on X" where X is the object you wish to activate, in this case, the sink.>
' }
}
' hidden
' give to <Jody> { '<<< YOU DON'T NEED THIS - THE 'give <Jody>' in the glass
' lose <glass> '<<< OBJECT WILL CAUSE IT NEVER TO BE USED...
' }
properties <fillable; drinkable>
action <fill> {
if not flag <waterglass> then {
flag on <waterglass>
if flag <sinkon> then msg <You fill the glass with water.> else msg <There is no running water around here.>
}
else msg <The glass is already full.>
if not flag <firstfill> and here <blackcat1> then {
speak <That looks mighty tasty, take a drink.>
speak <Don't forget to refill it when you're done.>
msg <Type "drink from X" where X is the object you wish to drink from, in this case, the glass.>
flag on <firstfill>
}
else do <drink>
}
action <drink> {
if flag <waterglass> then {
msg <It tastes really good.>
flag off <waterglass>
}
else msg <The glass is empty.>
}
end define
define object <Jody>
' speak if not flag <start> and not got <glass> and ( %chores% < 2 ) then {
' say <Go and get me a glass of water. This is your second chore.>
' speak <Meet me in the kitchen.>
' move <blackcat1; Kitchen>
' }
displaytype <person>
article <her>
gender <she>
give <glass> {
msg <thank you>
lose <glass>
hide <glass>
}
end define
end define
define text <intro>
Enter intro text here
end define
define text <win>
Enter win text here
end define
define text <lose>
Enter lose text here
end define
Anonymous wrote:Hi Matcauthon137
Send me the asl if you want - I'll see if I can spot the problem in the 'full# version
Al (MaDbRiT)
(You can get my e-mail address from my profile)