-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathworld.ron
72 lines (72 loc) · 1.69 KB
/
world.ron
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
(player: "PLAYER", items: {
"PLAYER": (
names: ["self", "myself"],
locations: ["CENTER ROOM"],
hp: 10,
),
"CENTER ROOM": (
desc: "You are in the center room.",
names: ["Center Room"],
),
"CENTER ROOM NORTH": (
names: ["closet", "north", "enter"],
locations: ["CENTER ROOM"],
dest: "CLOSET",
),
"CENTER ROOM SOUTH": (
names: ["arena", "south"],
locations: ["CENTER ROOM"],
dest: "ARENA",
),
"BOX": (
desc: "There is a box here.",
names: ["box"],
locations: ["CENTER ROOM"],
container: Closed,
can_take: true,
),
"APPLE": (
desc: "There is an apple on the ground.",
names: ["apple"],
locations: ["BOX"],
can_take: true,
),
"CLOSET": (
desc: "You are in the closet.",
names: ["Closet"],
),
"IRON SWORD": (
desc: "There is an iron sword here.",
names: ["iron sword"],
locations: ["CLOSET"],
can_take: true,
),
"RED BLOCK": (
desc: "There is a large red block here.",
names: ["large red block"],
locations: ["CLOSET"],
can_take: true,
),
"ARENA": (
names: ["Arena"],
desc: "You are in a circular arena with a dirt floor.",
),
"GOBLIN": (
names: ["goblin"],
locations: ["ARENA"],
hp: 3,
nature: Aggressive,
),
"DAGGER": (
names: ["dagger"],
locations: ["GOBLIN"],
damage: 1,
can_take: true,
),
"SPEAR": (
names: ["spear"],
locations: ["ARENA"],
can_take: true,
damage: 2,
),
})