summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/encyclopediae/default_encyclopedia.json20
-rw-r--r--content/maps/room.json4
2 files changed, 22 insertions, 2 deletions
diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json
index b4007d5..5f127cd 100644
--- a/content/encyclopediae/default_encyclopedia.json
+++ b/content/encyclopediae/default_encyclopedia.json
@@ -413,6 +413,17 @@
]]}]
],
"flags": ["Occupied"]
+ },
+ "quarry": {
+ "sprite": "quarry",
+ "height": 2,
+ "components": [
+ ["Interactable", {"action": ["interaction", ["mine", "mining"]]}],
+ ["Minable", {"total": 20, "trigger": "loot"}],
+ ["Loot", {"spread": true, "loot": ["list", [
+ ["list", [{"type": "stone"}, 1.0]]
+ ]]}]
+ ]
}
},
"items": {
@@ -442,7 +453,14 @@
"armour": {"action": ["equip", {
"slot": "body",
"stats": {"defence": 3}
- }]}
+ }]},
+ "pickaxe": {
+ "sprite": "sword",
+ "action": ["equip", {
+ "slot": "hand",
+ "stats": {"mining": 5}
+ }]
+ }
},
"templates":{
"plantedcarrotseed": ["plantedseed", {"delay": 60, "next": "carrotseedling"}],
diff --git a/content/maps/room.json b/content/maps/room.json
index 052e65b..853e7a3 100644
--- a/content/maps/room.json
+++ b/content/maps/room.json
@@ -23,7 +23,7 @@
" X,,*,,.,,,,,,,,,,,~~~''''''''''''''''f'''X",
" X*,,,,.,,,d,VVV,,,~~~'''''''''''f''''f'''X",
"1.......,,,,,VVV,,,~~~'''''''''''ffffff'''X",
- " X/,,,,.,,,,,VVV,,,~~~''''''''''''''''''''X",
+ " X/,,,,.,P,Q,VVV,,,~~~''''''''''''''''''''X",
" XXXXX,.,XXXXXXXXXX~~~XXXXXXXXXXXXXXXXXXXXX",
" %%% "
],
@@ -51,6 +51,8 @@
"s": ["ground", "sign"],
"u": ["ground", "dude"],
"t": ["ground", "trader"],
+ "P": ["ground", "pickaxe"],
+ "Q": "quarry",
" ": []
}
}