Add the table and the gold key

This commit is contained in:
He4eT 2024-12-10 09:05:03 +01:00
commit 5021f30e64
2 changed files with 28 additions and 0 deletions

View file

@ -32,3 +32,4 @@ gameMain: GameMainDef
#include "items/note.t" #include "items/note.t"
#include "items/fruitBox.t" #include "items/fruitBox.t"
#include "items/table.t"

27
items/table.t Normal file
View file

@ -0,0 +1,27 @@
table: Heavy, Surface
'wooden desk/table'
'wooden desk'
"Massive wooden table with one drawer. "
location = secondRoom
;
+ drawer: Component, OpenableContainer
'drawer'
'drawer'
"Just a drawer. "
;
++ Decoration
'paper*papers/sheet*sheets/page*pages'
'sheets of crumpled paper'
"Just a chaotic pile of torn and crumpled notebook pages. "
isListed = true
dobjFor (Search) remapTo(Search, drawer)
;
++ goldKey: Key, Hidden
'gold golden key*keys'
'golden key'
"Long tubular key made of gold. "
;