From 7e7f4693d224a6f337630c61ae1ac596f05fb2a1 Mon Sep 17 00:00:00 2001 From: RenechCDDA <84619419+RenechCDDA@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:48:13 -0500 Subject: [PATCH] Kill test error, for real this time --- data/json/npcs/missiondef.json | 20 -------------------- data/mods/TEST_DATA/missions.json | 12 ++---------- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/data/json/npcs/missiondef.json b/data/json/npcs/missiondef.json index 4dbf650846dba..ed830413f0e7f 100644 --- a/data/json/npcs/missiondef.json +++ b/data/json/npcs/missiondef.json @@ -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", @@ -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", diff --git a/data/mods/TEST_DATA/missions.json b/data/mods/TEST_DATA/missions.json index 35b52067673da..945f02c9b5e83 100644 --- a/data/mods/TEST_DATA/missions.json +++ b/data/mods/TEST_DATA/missions.json @@ -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": [ ] } ]