From f4a8c53f9a5ee7d096a833567e8efeee42214e46 Mon Sep 17 00:00:00 2001 From: Antti Riikonen Date: Sun, 6 Oct 2024 23:50:20 +0300 Subject: [PATCH] Backport #76175 (grass regrows for grazing) to 0.H (#76855) * Make grazing actually work, with grass regrowth * No copy-from --------- Co-authored-by: RenechCDDA <84619419+RenechCDDA@users.noreply.github.com> --- .../furniture_and_terrain/terrain-flora.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/data/json/furniture_and_terrain/terrain-flora.json b/data/json/furniture_and_terrain/terrain-flora.json index 30c8e711d4972..982b933bc7034 100644 --- a/data/json/furniture_and_terrain/terrain-flora.json +++ b/data/json/furniture_and_terrain/terrain-flora.json @@ -2549,7 +2549,8 @@ "symbol": ".", "color": "green", "move_cost": 2, - "flags": [ "TRANSPARENT", "DIGGABLE", "FLAT", "PLOWABLE" ], + "transforms_into": "t_grass_grazed", + "flags": [ "TRANSPARENT", "DIGGABLE", "FLAT", "PLOWABLE", "GRAZABLE" ], "bash": { "sound": "thump", "ter_set": "t_null", "str_min": 40, "str_max": 100, "str_min_supported": 100, "bash_below": true } }, { @@ -2603,6 +2604,19 @@ "flags": [ "TRANSPARENT", "DIGGABLE", "FLAT", "PLOWABLE" ], "bash": { "ter_set": "t_null", "str_min": 50, "str_max": 400, "str_min_supported": 100, "bash_below": true } }, + { + "type": "terrain", + "id": "t_grass_grazed", + "name": "grazed grass", + "description": "An area of extremely short green stubble protruding from the dirt. Something has been clearly grazing here.", + "looks_like": "t_grass_dead", + "symbol": ".", + "color": "brown", + "move_cost": 2, + "transforms_into": "t_grass", + "flags": [ "TRANSPARENT", "DIGGABLE", "FLAT", "PLOWABLE", "HARVESTED" ], + "bash": { "ter_set": "t_null", "str_min": 50, "str_max": 400, "str_min_supported": 100, "bash_below": true } + }, { "type": "terrain", "id": "t_grass_golf",