1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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)
|