Skip to content

Commit

Permalink
Merge pull request #78649 from RenechCDDA/kill_test_error_2
Browse files Browse the repository at this point in the history
Don't assign missions during testing, for real this time
  • Loading branch information
Maleclypse authored Dec 19, 2024
2 parents eed3ee5 + 7e7f469 commit 53fb1e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 30 deletions.
20 changes: 0 additions & 20 deletions data/json/npcs/missiondef.json
Original file line number Diff line number Diff line change
Expand Up @@ -982,19 +982,6 @@
"effect": [ { "remove_active_mission": "MISSION_CAMP_LEADERSHIP_CHANGE" }, { "u_lose_var": "time_of_last_succession" } ],
"deactivate_condition": { "not": { "compare_string": [ "yes", { "u_val": "time_of_last_succession" } ] } }
},
{
"type": "effect_on_condition",
"id": "EOC_FACTION_SUCCESSION_CHANGE_INIT",
"eoc_type": "EVENT",
"required_event": "game_start",
"effect": [
{ "remove_active_mission": "MISSION_CAMP_LEADERSHIP_CHANGE" },
{
"assign_mission": "MISSION_CAMP_LEADERSHIP_CHANGE",
"deadline": { "math": [ "time('now') + time_between_succession" ] }
}
]
},
{
"type": "effect_on_condition",
"id": "EOC_FACTION_SUCCESSION_CHANGE_REINIT",
Expand All @@ -1016,13 +1003,6 @@
"required_event": "game_begin",
"effect": [ { "run_eocs": "EOC_FACTION_SUCCESSION_COOLDOWN" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_FACTION_SUCCESSION_COOLDOWN_GAMESTART_CHECK",
"eoc_type": "EVENT",
"required_event": "game_start",
"effect": [ { "run_eocs": "EOC_FACTION_SUCCESSION_COOLDOWN" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_FACTION_SUCCESSION_COOLDOWN",
Expand Down
12 changes: 2 additions & 10 deletions data/mods/TEST_DATA/missions.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,9 @@
{
"//COMMENT": "Dummy EOCs to prevent the startup chain from triggering missions in the test environment.",
"type": "effect_on_condition",
"id": "EOC_FACTION_SUCCESSION_COOLDOWN_GAMEBEGIN_CHECK",
"id": "EOC_FACTION_SUCCESSION_CHANGE_REINIT",
"eoc_type": "EVENT",
"required_event": "game_begin",
"effect": [ ]
},
{
"//COMMENT": "Dummy EOCs to prevent the startup chain from triggering missions in the test environment.",
"type": "effect_on_condition",
"id": "EOC_FACTION_SUCCESSION_COOLDOWN_GAMESTART_CHECK",
"eoc_type": "EVENT",
"required_event": "game_start",
"required_event": "game_avatar_new",
"effect": [ ]
}
]

0 comments on commit 53fb1e9

Please sign in to comment.