From fa5ddaa570473ece02e0a3bfb35702211d21ce12 Mon Sep 17 00:00:00 2001 From: troido Date: Sat, 3 Oct 2020 15:20:52 +0200 Subject: added dense grass; home is now part of monsterAI component --- content/encyclopediae/crops.json | 2 +- content/encyclopediae/default_encyclopedia.json | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'content/encyclopediae') diff --git a/content/encyclopediae/crops.json b/content/encyclopediae/crops.json index 99c5ec3..4b20147 100644 --- a/content/encyclopediae/crops.json +++ b/content/encyclopediae/crops.json @@ -169,7 +169,7 @@ "radishes": {"sprite": "food", "name": "radish", "entity": "radish", "action": {"eat": 3}}, "eldritch_radish": {"sprite": "food", "name": "eldritch_radish", "action": {"eat": 20}}, "carrotseed": {"sprite": "seed", "action": {"build": ["plantedcarrotseed", ["Floor", "Soil"], ["Occupied", "Blocking"]]}}, - "carrot": {"sprite": "food", "action": {"eat": 5}}, + "carrot": {"sprite": "carrot", "action": {"eat": 5}}, "cottonseed": {"sprite": "seed", "action": {"build": ["plantedcottonseed", ["Floor", "Soil"], ["Occupied", "Blocking"]]}}, "cotton": {"sprite": "cotton"}, "cottonyarn": {"sprite": "cottonyarn"}, diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json index 1430a8d..f918bd7 100644 --- a/content/encyclopediae/default_encyclopedia.json +++ b/content/encyclopediae/default_encyclopedia.json @@ -153,6 +153,20 @@ ["blue cape", ["cape", "bluedye"], ["bluecape"]] ]]}] ] + }, + "densegrass": { + "sprite": "densegrass", + "height": 0.5, + "components": [ + ["Interactable", {"typ": "mine", "arg": "gathering"}], + ["Minable", {"total": 1, "trigger": "die"}], + ["Loot", {"loot": [ + [{"$template": "radishseed"}, 0.3], + [{"$template": "carrotseed"}, 0.1], + [{"$template": "cottonseed"}, 0.04] + ]}], + ["Requirements", {"required_flags": ["Floor", "Soil"], "blocking_flags": ["Occupied", "Blocking"]}] + ] } }, "items": { -- cgit