summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-09-21 23:50:52 +0200
committertroido <troido@protonmail.com>2020-09-21 23:50:52 +0200
commitc66e56b22525b745e191ef1e069573a0f58c06a6 (patch)
tree8d7199abd75cee416e06ef85e4ee726b2f10dee1 /content
parent5ce9b012a7987f4085057f4f0b0af35e76810a7a (diff)
pickaxes are now obtainable
Diffstat (limited to 'content')
-rw-r--r--content/encyclopediae/npcs.json19
-rw-r--r--content/maps/town.json3
2 files changed, 21 insertions, 1 deletions
diff --git a/content/encyclopediae/npcs.json b/content/encyclopediae/npcs.json
index 00c45d6..26c2c4a 100644
--- a/content/encyclopediae/npcs.json
+++ b/content/encyclopediae/npcs.json
@@ -95,6 +95,25 @@
]]
]]}]
]
+ },
+ "toolsmith": {
+ "sprite": "human",
+ "height": 1.5,
+ "name": "toolsmith",
+ "components": [
+ ["Interactable", {"typ": "exchange", "arg": ["list", [
+ "buy ",
+ ["list", [
+ ["list", ["pickaxe", ["list", ["carrot", "carrot", "carrot", "carrot", "carrot", "carrot", "carrot", "carrot", "carrot", "carrot"]], ["list", ["pickaxe"]]]]
+ ]]
+ ]]}],
+ ["MonsterAI", {
+ "view_distance": 1,
+ "move_chance": 0.01,
+ "homesickness": 0.3
+ }],
+ ["Movable", {"cooldown": 3}]
+ ]
}
}
}
diff --git a/content/maps/town.json b/content/maps/town.json
index 26e700e..cd75e51 100644
--- a/content/maps/town.json
+++ b/content/maps/town.json
@@ -53,7 +53,7 @@
",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,,,,,,,,...,,,,,#++++++#,,,h,",
",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,,,,,,,,...,,,,,#++++++#,,,h,",
",h,,,,,,,,,,,,,,,,,~~~~~~~,,,,,,,,,,,,,,,,,...,,,,,#++++++#,,,h,",
- ",h,,,,,,,,,,,,,,,,,~~~~~~~~~~~,,,,,,,,,,,,,...,,,,,#++++++#,,,h,",
+ ",h,,,,,,,,,,,,,,,,,~~~~~~~~~~~,,,,,,,,,,,,,...,,,,,#+++S++#,,,h,",
",h,,,,,,,,,,,,,,,,,~~~~~~~~~~~~~~,,,,,,,,,,...,,,,,#++++++#,,,h,",
",h,,,,,,,,,,,,,,,,,~~~~~~~~~~~~~~~~~,,,,,,,...,,,,,########,,,h,",
",h,,,,,,,,,,,,,,,,,,~~~~~~~~~~~~~~~~~~~~~~,...,,,,,,,,,,,,,,,,h,",
@@ -89,6 +89,7 @@
"kwargs": {"destination": "smallview", "destpos": "towneast"}
}, "ground"],
"r": ["grass", "rabbit"],
+ "S": ["floor", "toolsmith"],
" ": []
}
}