summaryrefslogtreecommitdiff
path: root/client/data/loc_fields.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_fields.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_fields.lua')
-rw-r--r--client/data/loc_fields.lua28
1 files changed, 28 insertions, 0 deletions
diff --git a/client/data/loc_fields.lua b/client/data/loc_fields.lua
new file mode 100644
index 0000000..38ca6bf
--- /dev/null
+++ b/client/data/loc_fields.lua
@@ -0,0 +1,28 @@
+local locations = require("locations")
+local world = require("world")
+
+local location = {
+ name = "Fields",
+ goto_txt = [[
+You take the path out of the city towards the open fields to the east. You
+pass over rolling hills and sparse farmland. There's nothing around here!
+ ]],
+ desc = [[
+The fields are an rural area. Small farmhouses and toolsheds dot the
+landscape. The occasional crop plot is planted in neat rows. You see cows
+grazing on a nearby hills. There are small saplings growing out of the ground
+at random intervals.
+
+There is a path to the City of Beginnings to the west
+]],
+ settle_txt = [[
+You keep walking through the rolling hills until you can barely see the closest
+houses to you, and mark out a plot in the mud with sticks.
+]],
+ houses = {},
+ go = {
+ {"west", function() return world.locations["City"] end},
+ }
+}
+
+locations.add_location(location)