summaryrefslogtreecommitdiff
path: root/client/data/loc_mountains.lua
diff options
context:
space:
mode:
authorAlexander Pickering <alex@cogarr.net>2019-01-27 10:32:09 -0500
committerAlexander Pickering <alex@cogarr.net>2019-01-27 10:32:09 -0500
commit0aae46ecc38005236210f7e243f02cac39ab1dc3 (patch)
treee2fcc9893df4ff03a87e113b3c0ff89357c86ef7 /client/data/loc_mountains.lua
downloadhome_text_adventure-0aae46ecc38005236210f7e243f02cac39ab1dc3.tar.gz
home_text_adventure-0aae46ecc38005236210f7e243f02cac39ab1dc3.tar.bz2
home_text_adventure-0aae46ecc38005236210f7e243f02cac39ab1dc3.zip
Inital commit
Diffstat (limited to 'client/data/loc_mountains.lua')
-rw-r--r--client/data/loc_mountains.lua32
1 files changed, 32 insertions, 0 deletions
diff --git a/client/data/loc_mountains.lua b/client/data/loc_mountains.lua
new file mode 100644
index 0000000..e8450ee
--- /dev/null
+++ b/client/data/loc_mountains.lua
@@ -0,0 +1,32 @@
+local locations = require("locations")
+local world = require("world")
+
+local location = {
+ name = "Mountains",
+ goto_txt = [[
+You take the path up the mountains. Where the pine trees end, your real trek
+begins. The ice, uninhibited by the trees makes the path up the mountain
+treacherous to hike. You persist forward, and eventually reach a landing a
+little below the summit, where you see a few stone home built into the
+mountainside.
+]],
+ desc = [[
+The mountainside is a distant but secure place to build a home. The homes
+here are built partly into the mountain, with the occasional wooden frame
+sticking out. The avalanches make the area treacherous, and the inhabitants
+stock up on food and other necessities in case they are snowed in.
+
+There is a path to the City of Beginnings to the south
+]],
+ settle_txt = [[
+You brave the icy paths to find a small flat area to start building. You mark
+out the plot with large stones. The road in front of your plot is covered in
+snow. You cannot see any other homes around you.
+]],
+ houses = {},
+ go = {
+ {"south", function() return world.locations["City"] end},
+ }
+}
+
+locations.add_location(location)