summaryrefslogtreecommitdiff
path: root/client/data/loc_city.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_city.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_city.lua')
-rw-r--r--client/data/loc_city.lua39
1 files changed, 39 insertions, 0 deletions
diff --git a/client/data/loc_city.lua b/client/data/loc_city.lua
new file mode 100644
index 0000000..02fce53
--- /dev/null
+++ b/client/data/loc_city.lua
@@ -0,0 +1,39 @@
+local locations = require("locations")
+local world = require("world")
+
+local location = {
+ name = "City",
+ goto_txt = [[
+You wander through the winding roads that lead up to the great stone walls
+around the City of Beginnings. You pass under a portcullis to find yourself
+on the main road, the streets lined with novices that decided to settle down
+in the first location they found themselves in.
+]],
+ desc = [[The city of Beginnings is a city filled with novice players.
+There are stone walls tower around the outside perimeter of the city, protecting
+the homes inside from the elements.
+
+The city only exists thanks to new players waking up and deciding to settle
+down immediately. If you choose to settle down here, you will inevitable
+be cramped in by other players, lost in the winding roads of the city.
+
+Mountains loom in the distance to the north
+Open fields lie to the east.
+There is a beach along the nearby ocean to the south.
+There is a dense forest to the West.
+]],
+ settle_txt = [[
+You make your way through the streets until you chance on a narrow plot, squeezed
+between two other houses. The road in front of the plot is poorly paved, and the
+houses on either side are dilapidated.
+]],
+ houses = {},
+ go = {
+ {"north", function() return world.locations["Mountains"] end},
+ {"east", function() return world.locations["Fields"] end},
+ {"south", function() return world.locations["Beach"] end},
+ {"west", function() return world.locations["Forest"] end}
+ }
+}
+
+locations.add_location(location)