Add potion

This commit is contained in:
He4eT 2024-12-10 12:17:12 +01:00
commit a2ae664fcb
4 changed files with 24 additions and 0 deletions

View file

@ -55,3 +55,15 @@ dude: Person
+ AskTopic [tGames]
"<q>I will later show you one of my games, dude!</q>"
;
+ AskTopic [tPotion]
topicResponse() {
if (potion.location == dude) {
potion.moveInto(me);
"<q>Sure, dude! Take it.</q>\n
Now you have a potion in your inventory.";
} else {
"<q>I only had one potion. There's no more, man.</q>";
}
}
;