From 77eed840ceccc58881c06efd4403be86c936b348 Mon Sep 17 00:00:00 2001 From: troido Date: Tue, 22 Sep 2020 17:51:23 +0200 Subject: added way to create dyed capes --- content/encyclopediae/default_encyclopedia.json | 37 +++++++++++++++++++++++++ content/encyclopediae/npcs.json | 35 +++++++++++++++++++++++ 2 files changed, 72 insertions(+) (limited to 'content/encyclopediae') diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json index bd1ae9c..ca12897 100644 --- a/content/encyclopediae/default_encyclopedia.json +++ b/content/encyclopediae/default_encyclopedia.json @@ -124,6 +124,32 @@ ]] ]]}] ] + }, + "sewingtable": { + "sprite": "sewingtable", + "height": 1.0, + "components": [ + ["Interactable", {"typ": "exchange", "arg": ["list", [ + "sew ", + ["list", [ + ["list", ["cape", ["list", ["cottoncloth", "cottoncloth", "cottoncloth", "cottonyarn", "cottonyarn"]], ["list", ["cape"]]]] + ]] + ]]}] + ] + }, + "tub": { + "sprite": "tub", + "height": 1.0, + "components": [ + ["Interactable", {"typ": "exchange", "arg": ["list", [ + "dye ", + ["list", [ + ["list", ["red cape", ["list", ["cape", "reddye"]], ["list", ["redcape"]]]], + ["list", ["green cape", ["list", ["cape", "greendye"]], ["list", ["greencape"]]]], + ["list", ["blue cape", ["list", ["cape", "bluedye"]], ["list", ["bluecape"]]]] + ]] + ]]}] + ] } }, "items": { @@ -158,6 +184,17 @@ "stats": {"mining": 5} }] }, + "reddye": {"sprite": "bag"}, + "greendye": {"sprite": "bag"}, + "bluedye": {"sprite": "bag"}, + "cape": { + "sprite": "armour", + "action": ["equip", { + "slot": "back", + "stats": {}, + "sprite": "grayplayer" + }] + }, "redcape": { "sprite": "armour", "action": ["equip", { diff --git a/content/encyclopediae/npcs.json b/content/encyclopediae/npcs.json index ffc60cf..02f13ad 100644 --- a/content/encyclopediae/npcs.json +++ b/content/encyclopediae/npcs.json @@ -85,6 +85,7 @@ "trader": { "sprite": "human", "height": 1.5, + "name": "crop trader", "components": [ ["Interactable", {"typ": "exchange", "arg": ["list", [ "buy ", @@ -103,6 +104,27 @@ ["Movable", {"cooldown": 3}] ] }, + "dyetrader": { + "sprite": "human", + "height": 1.5, + "name": "dye trader", + "components": [ + ["Interactable", {"typ": "exchange", "arg": ["list", [ + "buy ", + ["list", [ + ["list", ["red dye", ["list", ["club", "club"]], ["list", ["reddye"]]]], + ["list", ["green dye", ["list", ["stone", "stone", "stone", "stone", "stone"]], ["list", ["greendye"]]]], + ["list", ["blue dye", ["list", ["sword"]], ["list", ["bluedye"]]]] + ]] + ]]}], + ["MonsterAI", { + "view_distance": 1, + "move_chance": 0.01, + "homesickness": 0.3 + }], + ["Movable", {"cooldown": 3}] + ] + }, "toolsmith": { "sprite": "human", "height": 1.5, @@ -121,6 +143,19 @@ }], ["Movable", {"cooldown": 3}] ] + }, + "villager": { + "sprite": "human", + "height": 1.5, + "name": "villager", + "components": [ + ["MonsterAI", { + "view_distance": 1, + "move_chance": 0.01, + "homesickness": 0.3 + }], + ["Movable", {"cooldown": 3}] + ] } } } -- cgit