Skip to content

Commit

Permalink
Fixing infinite gravel bug/exploit (CleverRaven#57301)
Browse files Browse the repository at this point in the history
* Add files via upload

* Delete construction.json

* Delete terrain-railroads.json

* Fixes infinite gravel exploit CleverRaven#57289

gravel should not be infinite

* There is infinite gravel here as well CleverRaven#57289

No more infinite gravel
  • Loading branch information
Atomikkrab authored May 1, 2022
1 parent 762e351 commit c86ae6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/json/construction.json
Original file line number Diff line number Diff line change
Expand Up @@ -5208,7 +5208,7 @@
"required_skills": [ [ "survival", 0 ] ],
"time": "60 m",
"qualities": [ [ { "id": "DIG", "level": 1 } ] ],
"byproducts": [ { "item": "material_gravel", "count": [ 350, 500 ] } ],
"byproducts": [ { "item": "material_gravel", "count": [ 7, 10 ] } ],
"pre_terrain": "t_railroad_rubble",
"post_terrain": "t_dirt"
},
Expand Down
4 changes: 2 additions & 2 deletions data/json/furniture_and_terrain/terrain-railroads.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
"ter_set": "t_null",
"sound": "crunch!",
"sound_fail": "whump!",
"items": [ { "item": "material_gravel", "count": [ 5, 15 ] }, { "item": "sharp_rock", "count": [ 0, 1 ] } ],
"items": [ { "item": "material_gravel", "count": [ 1, 3 ] }, { "item": "sharp_rock", "count": [ 0, 1 ] } ],
"bash_below": true
},
"deconstruct": {
"ter_set": "t_pit_shallow",
"items": [
{ "item": "material_gravel", "count": [ 350, 500 ] },
{ "item": "material_gravel", "count": [ 7, 10 ] },
{ "item": "sharp_rock", "count": [ 0, 2 ] },
{ "item": "rock", "count": [ 4, 12 ] }
]
Expand Down

0 comments on commit c86ae6d

Please sign in to comment.