Any chance of stopping a command line in its tracks??
I tried to make a "as if user input a command" hoping that would brake off my code to stop the player getting the global chew command done to all the new instances to the different stages of chewing gum.. But of course being a bear of little brain - that too failed. Is there any way of stopping a process in a command line.
I really would not fancy having to have 4 different chewing gum items - because I'd like for the player only to need to type "chew gum". Not "chew gum" then "chew chewed gum" etc..
Ideas anyone?
Heres my bad excuse for chewing gum code:
command <Chew gum; Chew #text#> {
if got <gum> then {
msg <Holy!... Wow.. thats.. Mmm|nYeuch! Horrible!!|n>
hide <gum>
give <Sticky lump of chewed licoriche gum.>
exec <wait>
}
else msg <Um... No, on second thoughts. No.>
if got <Sticky lump of chewed licoriche gum.> then {
msg <Uhh.. Not pleasant.. really really.. well salty..>
hide <Sticky lump of chewed licoriche gum.>
give <Chewed Sticky lump of chewed licoriche gum.>
exec <wait>
}
if got <Chewed Sticky lump of chewed licoriche gum.> then {
msg <Brrr.. Hmm.. well.. It's not good.. but.. well. Not too bad you suppose.>
hide <Chewed Sticky lump of chewed licoriche gum.>
give <Chewed out really sticky lump of gum.>
exec <wait>
}
if got <Chewed out really sticky lump of gum.> then msg <Yum.. It's quite good. A shame the flavour all but chewed out now..>
}
command <wait> msg <Time passes..>
(Now I must really get some sleep, rock'n'roll lifestyle etc. tomorrow..)