Skip to content

Commit

Permalink
Merge pull request #72227 from GuardianDll/amigara_drop
Browse files Browse the repository at this point in the history
make amigara death drop stuff near the character
  • Loading branch information
Maleclypse authored Mar 7, 2024
2 parents 1c2c14e + 0b4c9cc commit e586e92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
3 changes: 2 additions & 1 deletion data/json/effects_on_condition/misc_effect_on_condition.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
"id": "EOC_last_amigara_death",
"condition": { "math": [ "u_monsters_nearby('mon_amigara_horror')", "<", "1" ] },
"effect": [
{ "mapgen_update": "amigara_death" },
{ "u_location_variable": { "context_val": "my_loc" }, "max_radius": 2, "passable_only": true },
{ "map_spawn_item": "amigara_drops", "use_item_group": true, "loc": { "context_val": "my_loc" } },
{ "u_lose_effect": "effect_amigara" },
{
"u_message": "As the last of the horrors fell dead, you notice a strange thing popped up from nowhere and dropped on the ground.",
Expand Down
6 changes: 0 additions & 6 deletions data/json/mapgen/nested/aux_nested.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,12 +424,6 @@
"place_vehicles": [ { "vehicle": "rolling_trash_can", "x": 0, "y": 0, "chance": 80, "status": 0 } ]
}
},
{
"type": "mapgen",
"method": "json",
"update_mapgen_id": "amigara_death",
"object": { "place_items": [ { "item": "amigara_drops", "x": 11, "y": 12, "chance": 100 } ] }
},
{
"type": "mapgen",
"method": "json",
Expand Down

0 comments on commit e586e92

Please sign in to comment.