mirror of
https://github.com/He4eT/simple-tads-game.git
synced 2026-05-05 01:17:24 +00:00
Boring starting room with note
This commit is contained in:
parent
a889e75a35
commit
3fb2a693d5
4 changed files with 34 additions and 5 deletions
11
characters/pc.t
Normal file
11
characters/pc.t
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
me: Actor
|
||||
'me/self'
|
||||
location = startingRoom
|
||||
;
|
||||
|
||||
+ jeans: Wearable
|
||||
'gray grey jeans/pants'
|
||||
'jeans'
|
||||
"Pair of gray denim pants. "
|
||||
wornBy = me
|
||||
;
|
||||
8
index.t
8
index.t
|
|
@ -17,10 +17,8 @@ gameMain: GameMainDef
|
|||
}
|
||||
;
|
||||
|
||||
firstRoom: Room 'Starting Room'
|
||||
"This is the boring starting room."
|
||||
;
|
||||
#include "characters/pc.t"
|
||||
|
||||
+me: Actor
|
||||
#include "locations/startingRoom.t"
|
||||
|
||||
;
|
||||
#include "items/note.t"
|
||||
|
|
|
|||
17
items/note.t
Normal file
17
items/note.t
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
note: Readable
|
||||
'note'
|
||||
'note'
|
||||
"This is a simple tutorial note. "
|
||||
location = startingRoom
|
||||
readDesc () {
|
||||
"
|
||||
Use <b>n</b>, <b>e</b>, <b>s</b> and <b>w</b> to navigate.\n
|
||||
Use <b>l</b> to <b>look around</b>.\n
|
||||
Use <b>x</b> to <b>examine</b> something.\n
|
||||
Use <b>i</b> to check the <b>inventory</b>.\n
|
||||
\b
|
||||
Don't be afraid to experiment with other verbs,
|
||||
such as <b>take</b>, <b>open</b>, and so on.
|
||||
";
|
||||
}
|
||||
;
|
||||
3
locations/startingRoom.t
Normal file
3
locations/startingRoom.t
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
startingRoom: Room 'Starting Room'
|
||||
"This is the boring starting room."
|
||||
;
|
||||
Loading…
Add table
Add a link
Reference in a new issue