Skip to content

Commit

Permalink
Backport #76175 (grass regrows for grazing) to 0.H (#76855)
Browse files Browse the repository at this point in the history
* Make grazing actually work, with grass regrowth

* No copy-from

---------

Co-authored-by: RenechCDDA <[email protected]>
  • Loading branch information
harakka and RenechCDDA authored Oct 6, 2024
1 parent 57ba47d commit f4a8c53
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion data/json/furniture_and_terrain/terrain-flora.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
},
{
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit f4a8c53

Please sign in to comment.