diff options
| author | Alexander Pickering <alex@cogarr.net> | 2019-01-27 10:32:09 -0500 |
|---|---|---|
| committer | Alexander Pickering <alex@cogarr.net> | 2019-01-27 10:32:09 -0500 |
| commit | 0aae46ecc38005236210f7e243f02cac39ab1dc3 (patch) | |
| tree | e2fcc9893df4ff03a87e113b3c0ff89357c86ef7 /client/data/loc_forest.lua | |
| download | home_text_adventure-0aae46ecc38005236210f7e243f02cac39ab1dc3.tar.gz home_text_adventure-0aae46ecc38005236210f7e243f02cac39ab1dc3.tar.bz2 home_text_adventure-0aae46ecc38005236210f7e243f02cac39ab1dc3.zip | |
Inital commit
Diffstat (limited to 'client/data/loc_forest.lua')
| -rw-r--r-- | client/data/loc_forest.lua | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/client/data/loc_forest.lua b/client/data/loc_forest.lua new file mode 100644 index 0000000..43fd8af --- /dev/null +++ b/client/data/loc_forest.lua @@ -0,0 +1,35 @@ +local locations = require("locations") +local world = require("world") + +local location = { + name = "Forest", + goto_txt = [[ +You wander out through the city gates and take the forest path going west. +You approach the only road that cuts through the thick woods, dwarfed by the +trees on either side. +]], + desc = [[ +The forest is vast, and it's easy to get lost if you don't stick to the path. +Occasionally a trail leads off the path, sometimes it will circle around a +rock or tree. Other times trails seemingly disappears into the underbrush. A stream +comes down from the mountains to the north-east, running along your trail +for a while before turning back into the deep underbrush. + +Soon your come to a place where the well-worn trail stops, and there are only +faint paths leading deeper into the foliage in every direction. + +There is a path leading to the City of Beginnings to the east. +]], + settle_txt = [[ +You pick a direction from the end of the path, one that looks like no one has +gone down before, and start walking. After a while you decide you've walked +far enough, you commit the path you took here to memory, and start marking the +area you plan to build in with sticks and twigs. +]], + houses = {}, + go = { + {"east", function() return world.locations["City"] end}, + } +} + +locations.add_location(location) |
