Skip to content

Commit

Permalink
Gun store eargear spawn fix (#2551)
Browse files Browse the repository at this point in the history
* Add files via upload

* Gun store locker item spawn fix

For the lone locker the coordinates for item spawn were off by one, both x and y, which caused ear plugs and/or muffs sometimes spawn outside on top of the downspout.

* style: lint CRLF -> LF

* chore: remove unrelated file

---------

Co-authored-by: scarf <greenscarf005@gmail.com>
  • Loading branch information
metalheimer and scarf005 authored Apr 4, 2023
1 parent 2152cd3 commit 15ddc37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/json/mapgen/s_gun.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@
"ammo": 25,
"magazine": 100
},
{ "item": "ear_plugs", "x": 2, "y": 14, "chance": 50, "repeat": 2 },
{ "item": "powered_earmuffs", "x": 2, "y": 14, "chance": 30 }
{ "item": "ear_plugs", "x": 3, "y": 15, "chance": 50, "repeat": 2 },
{ "item": "powered_earmuffs", "x": 3, "y": 15, "chance": 30 }
],
"place_monsters": [ { "monster": "GROUP_ZOMBIE", "x": [ 0, 0 ], "y": [ 23, 23 ], "chance": 2, "repeat": [ 2, 3 ] } ]
}
Expand Down

0 comments on commit 15ddc37

Please sign in to comment.