From 5021f30e64f44193a31acb92661294408cb8fee8 Mon Sep 17 00:00:00 2001 From: He4eT Date: Tue, 10 Dec 2024 09:05:03 +0100 Subject: [PATCH] Add the table and the gold key --- index.t | 1 + items/table.t | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 items/table.t diff --git a/index.t b/index.t index c826ce3..f273e61 100644 --- a/index.t +++ b/index.t @@ -32,3 +32,4 @@ gameMain: GameMainDef #include "items/note.t" #include "items/fruitBox.t" +#include "items/table.t" diff --git a/items/table.t b/items/table.t new file mode 100644 index 0000000..8ec8aa3 --- /dev/null +++ b/items/table.t @@ -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. " +;