Skip to content

Commit

Permalink
Fix godco_place_coop_new's mapgen_update search
Browse files Browse the repository at this point in the history
  • Loading branch information
Procyonae committed Nov 8, 2024
1 parent 582f33f commit 0c0b042
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"type": "effect_on_condition",
"id": "godco_place_coop_new",
"global": false,
"effect": [ { "mapgen_update": "darryl_place_coop", "om_terrain": "godco_7" }, { "math": [ "darryl_building_coop", "=", "2" ] } ]
"effect": [
{ "mapgen_update": "darryl_place_coop", "om_terrain": "godco_7", "target_var": { "context_val": "search_locale" } },
{ "math": [ "darryl_building_coop", "=", "2" ] }
]
},
{
"type": "effect_on_condition",
Expand Down
7 changes: 6 additions & 1 deletion data/json/npcs/godco/godco_missions.json
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,13 @@
},
"end": {
"effect": [
{ "npc_location_variable": { "context_val": "search_locale" } },
{ "math": [ "darryl_building_coop", "=", "1" ] },
{ "queue_eocs": "godco_place_coop_new", "time_in_future": "168 hours" },
{
"queue_eocs": "godco_place_coop_new",
"time_in_future": "168 hours",
"variables": { "search_locale": { "context_val": "search_locale" } }
},
{ "u_spawn_item": "icon", "count": 6 }
],
"opinion": { "trust": 2, "value": 2 }
Expand Down

0 comments on commit 0c0b042

Please sign in to comment.