From c66e56b22525b745e191ef1e069573a0f58c06a6 Mon Sep 17 00:00:00 2001 From: troido Date: Mon, 21 Sep 2020 23:50:52 +0200 Subject: pickaxes are now obtainable --- content/encyclopediae/npcs.json | 19 +++++++++++++++++++ content/maps/town.json | 3 ++- 2 files changed, 21 insertions(+), 1 deletion(-) (limited to 'content') 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"], " ": [] } } -- cgit