Add the fruitBox

This commit is contained in:
He4eT 2024-12-10 08:38:08 +01:00
commit 8e9c98d49b
2 changed files with 37 additions and 0 deletions

View file

@ -31,3 +31,4 @@ gameMain: GameMainDef
#include "locations/secondRoom.t"
#include "items/note.t"
#include "items/fruitBox.t"

36
items/fruitBox.t Normal file
View file

@ -0,0 +1,36 @@
Fruit: Food
desc = "Looks like a fruit. "
tasteDesc = "It's distinctly fruit-flavoured. "
smellDesc = "It has a kind of faint, fruity smell. "
feelDesc = "The fruit skin feels firm but smooth. "
soundDesc = "The fruit is strangely silent. "
;
/* */
fruitBox: OpenableContainer, Heavy
'wooden box'
'wooden box'
"A huge wooden box with a sticker on the lid. "
isListed = true
location = startingRoom
;
+ Decoration 'lid' 'lid'
"The lid is made of wood and decorated with a sticker. "
;
++ Decoration 'sticker' 'sticker'
"It's just a sticker with a silly face. "
;
+ apple: Fruit 'apple' 'apple';
+ mango: Fruit 'mango' 'mango';
+ orange: Fruit 'orange' 'orange';
+ banana: Fruit
'banana'
'banana'
"It's yellow, about six inches long, and slightly curved.\n
This banana looks reasonably fresh. "
tasteDesc = "It's distinctly banana-flavoured. "
;