mirror of
https://github.com/He4eT/simple-tads-game.git
synced 2026-05-04 17:07:24 +00:00
Add the fruitBox
This commit is contained in:
parent
c1167001d5
commit
8e9c98d49b
2 changed files with 37 additions and 0 deletions
1
index.t
1
index.t
|
|
@ -31,3 +31,4 @@ gameMain: GameMainDef
|
|||
#include "locations/secondRoom.t"
|
||||
|
||||
#include "items/note.t"
|
||||
#include "items/fruitBox.t"
|
||||
|
|
|
|||
36
items/fruitBox.t
Normal file
36
items/fruitBox.t
Normal 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. "
|
||||
;
|
||||
Loading…
Add table
Add a link
Reference in a new issue