diff --git a/data/randomEvents/PrisonerMajorEventData.yml b/data/randomEvents/PrisonerMajorEventData.yml index 2f3a4ab4a2..f10ec443df 100644 --- a/data/randomEvents/PrisonerMajorEventData.yml +++ b/data/randomEvents/PrisonerMajorEventData.yml @@ -1,4 +1,4 @@ -# MegaMek Data (C) 2025 by The MegaMek Team is licensed under CC BY-NC-SA 4.0. +# MegaMek Data (C) 2025-2026 by The MegaMek Team is licensed under CC BY-NC-SA 4.0. # To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/4.0/ # # NOTICE: The MegaMek organization is a non-profit group of volunteers @@ -17,55 +17,69 @@ # All events in this yml are considered 'minor' events events: - # This is the internal identification enum for the event. - # Only acceptable values are in the PrisonerEvent enum. - - prisonerEvent: BREAKOUT + # This is the internal identification enum for the event. Should be unique among entries in this file. + - randomEventType: "BREAKOUT" responseEntries: # Can only include values from the ResponseQuality enum. Must include three responses whose # index matches the response options presented to the player. - quality: RESPONSE_NEUTRAL + # The randomEventType of the event that follows this. Must be in the same yml file. Defaults to "" + followOnEvent: "" + # Can only include skill values from the SkillType class. Defaults to "", if not present. + skillCheckSkill: Small Arms + # Can only include values from the SkillAttribute class. Defaults to "NO_ATTRIBUTE", if not present. + abilityCheckType: NO_ATTRIBUTE # The effects caused by successfully resolving the event. effectsSuccess: # Can only include values from the EventResultEffect enum. # Any response with the UNIQUE enum requires separate code support. # Defaults to NONE, if not present. - effect: INJURY_PERCENT - # TRUE to affect guards, otherwise false. Used by some EventResultEffect values. - # Defaults to FALSE, if not present. - isGuard: TRUE + # Include one or more RandomEventEffectedPersonnelType + affectedPersonnelTypes: + - SECURITY_GUARD # Intensity of the effect. Affects different effects differently. See EventResultEffect # for more information. Defaults to 0, if not present. magnitude: 20 # Can only include skill values from the SkillType class. Used by the 'SKILL' # EventResultEffect. Defaults to "", if not present. - skillType: SKILL_NONE + affectedSkill: "" - effect: PRISONER_CAPACITY magnitude: -25 # The effects caused by failing to resolve the event successfully. effectsFailure: - effect: ESCAPE_PERCENT + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 10 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 20 - effect: PRISONER_CAPACITY magnitude: -25 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Small Arms effectsSuccess: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 20 - effect: PRISONER_CAPACITY magnitude: -10 @@ -73,19 +87,25 @@ events: - effect: ESCAPE magnitude: 20 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: DEATH_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 5 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 20 - effect: PRISONER_CAPACITY magnitude: -25 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Small Arms effectsSuccess: - effect: ESCAPE_PERCENT + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: PRISONER_CAPACITY magnitude: -10 @@ -95,349 +115,467 @@ events: - effect: PRISONER_CAPACITY magnitude: -50 - - prisonerEvent: RIOT + - randomEventType: "RIOT" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: Melee Weapons effectsSuccess: - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - effect: PRISONER_CAPACITY magnitude: -25 effectsFailure: - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: DEATH_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 5 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - effect: PRISONER_CAPACITY magnitude: -25 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Small Arms effectsSuccess: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - effect: PRISONER_CAPACITY magnitude: -25 effectsFailure: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 20 - effect: PRISONER_CAPACITY magnitude: -50 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Negotiation effectsSuccess: - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 10 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - effect: PRISONER_CAPACITY magnitude: -25 effectsFailure: - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 20 - effect: PRISONER_CAPACITY magnitude: -25 - - prisonerEvent: MURDER + - randomEventType: "MURDER" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: Investigation effectsSuccess: - effect: DEATH - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: PRISONER_CAPACITY magnitude: -5 effectsFailure: - effect: DEATH - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Acting effectsSuccess: - effect: DEATH - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: PRISONER_CAPACITY magnitude: -10 effectsFailure: - effect: DEATH - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: PRISONER_CAPACITY magnitude: -25 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Melee Weapons effectsSuccess: - effect: DEATH - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 10 - effect: PRISONER_CAPACITY magnitude: -10 effectsFailure: - effect: DEATH - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: PRISONER_CAPACITY magnitude: -25 - - prisonerEvent: FIRE + - randomEventType: "FIRE" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: Administration effectsSuccess: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 10 - effect: ESCAPE_PERCENT + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 5 - effect: PRISONER_CAPACITY magnitude: -50 effectsFailure: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 10 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: ESCAPE_PERCENT + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: DEATH_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 5 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - effect: PRISONER_CAPACITY magnitude: -50 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Small Arms effectsSuccess: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 40 - effect: DEATH_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 20 - effect: PRISONER_CAPACITY magnitude: -25 effectsFailure: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 40 - effect: DEATH_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 20 - effect: PRISONER_CAPACITY magnitude: -50 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Investigation effectsSuccess: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 40 - effect: ESCAPE_PERCENT + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: DEATH_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 20 - effect: PRISONER_CAPACITY magnitude: -15 effectsFailure: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 40 - effect: ESCAPE_PERCENT + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: DEATH_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 20 - effect: PRISONER_CAPACITY magnitude: -50 - - prisonerEvent: POISON + - randomEventType: "POISON" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: Investigation effectsSuccess: # 'Poison' (xd6 Fatigue) 10% of personnel - effect: UNIQUE + affectedPersonnelTypes: + - CAMP_FOLLOWERS + - COMBAT_PERSONNEL + - SUPPORT_PERSONNEL magnitude: 1 effectsFailure: # 'Poison' (xd6 Fatigue) 10% of personnel - effect: UNIQUE + affectedPersonnelTypes: + - CAMP_FOLLOWERS + - COMBAT_PERSONNEL + - SUPPORT_PERSONNEL # Magnitude 2, as the problem wasn't resolved magnitude: 2 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Investigation effectsSuccess: # 'Poison' (xd6 Fatigue) 10% of personnel - effect: UNIQUE + affectedPersonnelTypes: + - CAMP_FOLLOWERS + - COMBAT_PERSONNEL + - SUPPORT_PERSONNEL # Magnitude 2, as the problem wasn't resolved magnitude: 2 - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 effectsFailure: # 'Poison' (xd6 Fatigue) 10% of personnel - effect: UNIQUE + affectedPersonnelTypes: + - CAMP_FOLLOWERS + - COMBAT_PERSONNEL + - SUPPORT_PERSONNEL # Magnitude 2, as the problem wasn't resolved magnitude: 2 - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - effect: PRISONER_CAPACITY magnitude: -15 - quality: RESPONSE_POSITIVE + skillCheckSkill: Investigation effectsSuccess: # 'Poison' (xd6 Fatigue) 10% of personnel - effect: UNIQUE + affectedPersonnelTypes: + - CAMP_FOLLOWERS + - COMBAT_PERSONNEL + - SUPPORT_PERSONNEL magnitude: 1 effectsFailure: # 'Poison' (xd6 Fatigue) 10% of personnel - effect: UNIQUE + affectedPersonnelTypes: + - CAMP_FOLLOWERS + - COMBAT_PERSONNEL + - SUPPORT_PERSONNEL # Magnitude 2, as the problem wasn't resolved - magnitude: 1 + magnitude: 2 - - prisonerEvent: HOSTAGE + - randomEventType: "HOSTAGE" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Acting effectsSuccess: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - effect: INJURY - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 2 effectsFailure: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - effect: DEATH - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 1 - effect: DEATH_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 5 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Small Arms effectsSuccess: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - effect: INJURY - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 3 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 5 effectsFailure: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - effect: DEATH - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 1 - effect: DEATH_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Leadership effectsSuccess: - effect: PRISONER_CAPACITY magnitude: -10 effectsFailure: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - effect: DEATH - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 1 - effect: DEATH_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - - prisonerEvent: BOMB + - randomEventType: "BOMB" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: Small Arms effectsSuccess: - effect: ESCAPE magnitude: 10 @@ -449,24 +587,29 @@ events: - effect: PRISONER_CAPACITY magnitude: -25 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Investigation effectsSuccess: - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - effect: PRISONER_CAPACITY magnitude: -25 effectsFailure: - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - effect: ESCAPE magnitude: 20 - effect: PRISONER_CAPACITY magnitude: -25 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Administration effectsSuccess: - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - effect: ESCAPE magnitude: 5 @@ -478,61 +621,74 @@ events: - effect: PRISONER_CAPACITY magnitude: -25 - - prisonerEvent: EXECUTION + - randomEventType: "EXECUTION" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Investigation effectsSuccess: - effect: DEATH - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 effectsFailure: - effect: DEATH - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - effect: PRISONER_CAPACITY magnitude: -25 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Administration effectsSuccess: - effect: DEATH - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: PRISONER_CAPACITY magnitude: -15 effectsFailure: - effect: DEATH - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 5 - effect: PRISONER_CAPACITY magnitude: -15 - quality: RESPONSE_NEGATIVE effectsSuccess: - effect: DEATH - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: PRISONER_CAPACITY magnitude: -5 effectsFailure: - effect: DEATH - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: PRISONER_CAPACITY magnitude: -15 - - prisonerEvent: ABANDONED_TO_DIE + - randomEventType: "ABANDONED_TO_DIE" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: Administration effectsSuccess: # Generate 2d6 new prisoners & xd6 crime - effect: UNIQUE @@ -548,6 +704,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -15 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Administration effectsSuccess: # Generate 2d6 new prisoners & xd6 crime - effect: UNIQUE @@ -563,6 +720,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -15 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Negotiation effectsSuccess: # Generate 2d6 new prisoners & xd6 crime - effect: UNIQUE @@ -578,86 +736,109 @@ events: - effect: PRISONER_CAPACITY magnitude: -15 - - prisonerEvent: UNITED + - randomEventType: "UNITED" responseEntries: - quality: RESPONSE_NEGATIVE + skillCheckSkill: Interest/Military effectsSuccess: - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - effect: PRISONER_CAPACITY magnitude: -5 effectsFailure: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 10 - effect: DEATH_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 1 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 5 - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Small Arms effectsSuccess: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 10 - effect: DEATH_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 1 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 5 - effect: PRISONER_CAPACITY magnitude: -5 effectsFailure: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 10 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: DEATH_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 5 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Small Arms effectsSuccess: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 1 - effect: PRISONER_CAPACITY magnitude: -5 effectsFailure: - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 10 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: DEATH_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 5 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - effect: PRISONER_CAPACITY magnitude: -10 diff --git a/data/randomEvents/PrisonerMinorEventData.yml b/data/randomEvents/PrisonerMinorEventData.yml index 447a985189..f29b3abe26 100644 --- a/data/randomEvents/PrisonerMinorEventData.yml +++ b/data/randomEvents/PrisonerMinorEventData.yml @@ -1,4 +1,4 @@ -# MegaMek Data (C) 2025 by The MegaMek Team is licensed under CC BY-NC-SA 4.0. +# MegaMek Data (C) 2025-2026 by The MegaMek Team is licensed under CC BY-NC-SA 4.0. # To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/4.0/ # # NOTICE: The MegaMek organization is a non-profit group of volunteers @@ -17,13 +17,18 @@ # All events in this yml are considered 'minor' events events: - # This is the internal identification enum for the event. - # Only acceptable values are in the PrisonerEvent enum. - - prisonerEvent: ARGUMENT + # This is the internal identification enum for the event. Should be unique among entries in this file. + - randomEventType: "ARGUMENT" responseEntries: # Can only include values from the ResponseQuality enum. Must include three responses whose # index matches the response options presented to the player. - quality: RESPONSE_NEUTRAL + # The randomEventType of the event that follows this. Must be in the same yml file. Defaults to "" + followOnEvent: "" + # Can only include skill values from the SkillType class. Defaults to "", if not present. + skillCheckSkill: "" + # Can only include values from the SkillAttribute class. Defaults to "NO_ATTRIBUTE", if not present. + abilityCheckType: CHARISMA # The effects caused by successfully resolving the event. effectsSuccess: # Can only include values from the EventResultEffect enum. @@ -32,18 +37,20 @@ events: - effect: PRISONER_CAPACITY # TRUE to affect guards, otherwise false. Used by some EventResultEffect values. # Defaults to FALSE, if not present. - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS # Intensity of the effect. Affects different effects differently. See EventResultEffect # for more information. Defaults to 0, if not present. magnitude: 5 # Can only include skill values from the SkillType class. Used by the 'SKILL' # EventResultEffect. Defaults to "", if not present. - skillType: SKILL_NONE + affectedSkill: "" # The effects caused by failing to resolve the event successfully. effectsFailure: - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Administration effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 10 @@ -58,13 +65,15 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 10 - effect: INJURY - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 3 - - prisonerEvent: WILD_STORIES + - randomEventType: "WILD_STORIES" responseEntries: - quality: RESPONSE_POSITIVE effectsSuccess: @@ -74,6 +83,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Small Arms effectsSuccess: - effect: PRISONER_CAPACITY magnitude: -5 @@ -81,10 +91,12 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - skillType: S_LEADER + affectedSkill: Leadership - quality: RESPONSE_NEUTRAL + skillCheckSkill: Cryptography effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 10 @@ -92,24 +104,28 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - skillType: S_LEADER + affectedSkill: Leadership - - prisonerEvent: TAMPERING + - randomEventType: "TAMPERING" responseEntries: - quality: RESPONSE_NEGATIVE + skillCheckSkill: Melee Weapons effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 effectsFailure: - effect: PRISONER_CAPACITY magnitude: -5 - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - quality: RESPONSE_POSITIVE effectsSuccess: @@ -125,22 +141,26 @@ events: - effect: PRISONER_CAPACITY magnitude: 10 - - prisonerEvent: CONVERSATIONS + - randomEventType: "CONVERSATIONS" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Cryptography effectsSuccess: - effect: NONE effectsFailure: - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Interrogation effectsSuccess: - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 effectsFailure: - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - effect: PRISONER_CAPACITY magnitude: -10 @@ -152,9 +172,10 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: RATIONS + - randomEventType: "RATIONS" responseEntries: - quality: RESPONSE_POSITIVE + abilityCheckType: CHARISMA effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -169,6 +190,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_POSITIVE + skillCheckSkill: Investigation effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 10 @@ -176,18 +198,23 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: TRADE + - randomEventType: "TRADE" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Investigation effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 - effect: INJURY_PERCENT + affectedPersonnelTypes: + - PRISONERS magnitude: 5 effectsFailure: - effect: PRISONER_CAPACITY magnitude: -15 - effect: INJURY_PERCENT + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - quality: RESPONSE_NEGATIVE effectsSuccess: @@ -196,6 +223,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -15 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Administration effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -203,15 +231,17 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - - prisonerEvent: DRAINED + - randomEventType: "DRAINED" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: Administration effectsSuccess: - effect: NONE effectsFailure: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_POSITIVE + abilityCheckType: CHARISMA effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -219,6 +249,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Leadership effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 10 @@ -226,42 +257,50 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - effect: FATIGUE_ALL - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - effect: LOYALTY_ALL - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: -2 - - prisonerEvent: RESCUE + - randomEventType: "RESCUE" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Administration effectsSuccess: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: 5 effectsFailure: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Negotiation effectsSuccess: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: 5 effectsFailure: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 2 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEGATIVE @@ -270,53 +309,62 @@ events: magnitude: 5 effectsFailure: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: -10 - - prisonerEvent: REPAIRS + - randomEventType: "REPAIRS" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Perception effectsSuccess: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - skillType: S_TECH_MECHANIC + affectedSkill: Tech/Mechanic effectsFailure: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - skillType: S_TECH_MECHANIC + affectedSkill: Tech/Mechanic - effect: PRISONER_CAPACITY magnitude: -20 - quality: RESPONSE_NEUTRAL effectsSuccess: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - skillType: S_TECH_MECHANIC + affectedSkill: Tech/Mechanic effectsFailure: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - skillType: S_TECH_MECHANIC + affectedSkill: Tech/Mechanic - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_POSITIVE + skillCheckSkill: Tech/Mechanic effectsSuccess: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - skillType: S_TECH_MECHANIC + affectedSkill: Tech/Mechanic effectsFailure: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: SICKNESS + - randomEventType: "SICKNESS" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: MedTech/Any effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -324,6 +372,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_POSITIVE + skillCheckSkill: Administration effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -336,44 +385,51 @@ events: magnitude: 5 effectsFailure: - effect: DEATH_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: PRISONER_CAPACITY magnitude: -15 - - prisonerEvent: VETERAN + - randomEventType: "VETERAN" responseEntries: - quality: RESPONSE_NEGATIVE effectsSuccess: - effect: NONE effectsFailure: - effect: INJURY - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 1 - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_POSITIVE + skillCheckSkill: Negotiation effectsSuccess: - effect: NONE effectsFailure: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_POSITIVE + skillCheckSkill: Administration effectsSuccess: - effect: NONE effectsFailure: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: GRAFFITI + - randomEventType: "GRAFFITI" responseEntries: - quality: RESPONSE_NEGATIVE + skillCheckSkill: Small Arms effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -388,18 +444,20 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_POSITIVE + skillCheckSkill: Investigation effectsSuccess: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: 5 effectsFailure: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: PRAYER + - randomEventType: "PRAYER" responseEntries: - quality: RESPONSE_NEUTRAL effectsSuccess: @@ -408,6 +466,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Administration effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -421,15 +480,17 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - - prisonerEvent: BARTERING + - randomEventType: "BARTERING" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Investigation effectsSuccess: - effect: NONE effectsFailure: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Interrogation effectsSuccess: - effect: NONE effectsFailure: @@ -443,57 +504,66 @@ events: # The OpFor has their morale bumped by one level - effect: UNIQUE - - prisonerEvent: OFFICER + - randomEventType: "OFFICER" responseEntries: - quality: RESPONSE_NEUTRAL effectsSuccess: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: 5 effectsFailure: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Negotiation effectsSuccess: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: -5 effectsFailure: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Interest/Politics effectsSuccess: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: -5 effectsFailure: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: DICE + - randomEventType: "DICE" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Melee Weapons effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -508,9 +578,11 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Administration effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -518,29 +590,33 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: LOVERS + - randomEventType: "LOVERS" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Leadership effectsSuccess: - effect: NONE effectsFailure: - effect: LOYALTY_ONE - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: -3 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Administration effectsSuccess: - effect: NONE effectsFailure: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Investigation effectsSuccess: - effect: NONE effectsFailure: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: SOBBING + - randomEventType: "SOBBING" responseEntries: - quality: RESPONSE_NEUTRAL effectsSuccess: @@ -550,6 +626,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_POSITIVE + skillCheckSkill: Administration effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -557,19 +634,22 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Melee Weapons effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 effectsFailure: - effect: DEATH - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: PROPAGANDA + - randomEventType: "PROPAGANDA" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Investigation effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -577,6 +657,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Investigation effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -591,9 +672,10 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - - prisonerEvent: SONGS + - randomEventType: "SONGS" responseEntries: - quality: RESPONSE_NEGATIVE + skillCheckSkill: Small Arms effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -608,6 +690,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Art/Singing effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -615,7 +698,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: REFUSE_RATIONS + - randomEventType: "REFUSE_RATIONS" responseEntries: - quality: RESPONSE_NEUTRAL effectsSuccess: @@ -625,21 +708,25 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_POSITIVE + skillCheckSkill: Negotiation effectsSuccess: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: 5 effectsFailure: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Small Arms effectsSuccess: - effect: PRISONER_CAPACITY magnitude: -5 @@ -647,9 +734,10 @@ events: - effect: PRISONER_CAPACITY magnitude: -15 - - prisonerEvent: PLOTTING + - randomEventType: "PLOTTING" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Administration effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -657,18 +745,21 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_POSITIVE + skillCheckSkill: Interrogation effectsSuccess: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: 5 effectsFailure: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEGATIVE @@ -679,23 +770,25 @@ events: - effect: PRISONER_CAPACITY magnitude: -15 - - prisonerEvent: EQUIPMENT + - randomEventType: "EQUIPMENT" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: Investigation effectsSuccess: - effect: NONE effectsFailure: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Astech effectsSuccess: - - effect: NONE - effect: PRISONER_CAPACITY magnitude: 5 effectsFailure: - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Melee Weapons effectsSuccess: - effect: PRISONER_CAPACITY magnitude: -5 @@ -703,9 +796,10 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - - prisonerEvent: PLANNED_RESCUE + - randomEventType: "PLANNED_RESCUE" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Negotiation effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -713,19 +807,23 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Interrogation effectsSuccess: - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: PRISONER_CAPACITY magnitude: 5 effectsFailure: - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 2 - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Administration effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 10 @@ -733,7 +831,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - - prisonerEvent: MISTAKE + - randomEventType: "MISTAKE" responseEntries: - quality: RESPONSE_NEUTRAL effectsSuccess: @@ -742,15 +840,19 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Investigation effectsSuccess: # Remove all combat skills from a random Prisoner - effect: UNIQUE + affectedPersonnelTypes: + - PRISONERS - effect: PRISONER_CAPACITY magnitude: 5 effectsFailure: - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Administration effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -758,9 +860,10 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: LETTER + - randomEventType: "LETTER" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: Cryptography effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 10 @@ -774,6 +877,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Investigation effectsSuccess: - effect: PRISONER_CAPACITY magnitude: -15 @@ -781,17 +885,20 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: ILLNESS + - randomEventType: "ILLNESS" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Administration effectsSuccess: - effect: NONE effectsFailure: - effect: DEATH_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 5 - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 10 - effect: PRISONER_CAPACITY magnitude: -10 @@ -800,14 +907,17 @@ events: - effect: NONE effectsFailure: - effect: DEATH_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 10 - effect: DEATH_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 20 - effect: PRISONER_CAPACITY magnitude: -15 - quality: RESPONSE_POSITIVE + skillCheckSkill: MedTech/Any effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 10 @@ -815,7 +925,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - - prisonerEvent: DO_ANDROIDS_DREAM_OF_ELECTRONIC_SHEEP + - randomEventType: "DO_ANDROIDS_DREAM_OF_ELECTRONIC_SHEEP" responseEntries: - quality: RESPONSE_NEUTRAL effectsSuccess: @@ -824,6 +934,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Negotiation effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -838,9 +949,10 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: HEAVY_METAL + - randomEventType: "HEAVY_METAL" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: Investigation effectsSuccess: - effect: PRISONER_CAPACITY magnitude: -10 @@ -854,6 +966,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Tracking/Any effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -861,15 +974,17 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: PARANOIA + - randomEventType: "PARANOIA" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Administration effectsSuccess: - effect: NONE effectsFailure: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Administration effectsSuccess: - effect: NONE effectsFailure: @@ -882,40 +997,49 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - - prisonerEvent: TUNNEL + - randomEventType: "TUNNEL" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: Administration effectsSuccess: - effect: NONE effectsFailure: - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_POSITIVE + skillCheckSkill: Interrogation effectsSuccess: - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: PRISONER_CAPACITY magnitude: 5 effectsFailure: - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 2 - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Stealth effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -923,7 +1047,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -15 - - prisonerEvent: PET_RODENT + - randomEventType: "PET_RODENT" responseEntries: - quality: RESPONSE_NEUTRAL effectsSuccess: @@ -933,46 +1057,56 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Animal Handling effectsSuccess: - effect: NONE effectsFailure: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Animal Handling effectsSuccess: - effect: NONE effectsFailure: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: ESCAPE_ROPE + - randomEventType: "ESCAPE_ROPE" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Melee Weapons effectsSuccess: - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 2 - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: PRISONER_CAPACITY magnitude: 5 effectsFailure: - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 2 - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + abilityCheckType: CHARISMA effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -980,18 +1114,22 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Leadership effectsSuccess: - effect: NONE effectsFailure: - effect: PRISONER_CAPACITY magnitude: -10 - - prisonerEvent: UNDERCOVER + - randomEventType: "UNDERCOVER" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: Administration effectsSuccess: # Change the origin faction of one prisoner to match employer - effect: UNIQUE + affectedPersonnelTypes: + - PRISONERS effectsFailure: - effect: PRISONER_CAPACITY magnitude: -5 @@ -1000,63 +1138,76 @@ events: - effect: NONE effectsFailure: - effect: DEATH - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Interrogation effectsSuccess: # Change the origin faction of one prisoner to match employer - effect: UNIQUE + affectedPersonnelTypes: + - PRISONERS - effect: SUPPORT_POINT magnitude: 1 effectsFailure: - effect: SUPPORT_POINT magnitude: -1 - - prisonerEvent: BRAND + - randomEventType: "BRAND" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Investigation effectsSuccess: - effect: LOYALTY_ONE - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: -5 - effect: PRISONER_CAPACITY magnitude: -5 effectsFailure: - effect: LOYALTY_ONE - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: -5 - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_POSITIVE + skillCheckSkill: MedTech/Any effectsSuccess: - effect: LOYALTY_ONE - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: -5 - effect: PRISONER_CAPACITY magnitude: 5 effectsFailure: - effect: LOYALTY_ONE - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: -5 - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEGATIVE effectsSuccess: - effect: LOYALTY_ONE - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: -5 effectsFailure: - effect: LOYALTY_ONE - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: -5 - effect: PRISONER_CAPACITY magnitude: -10 - - prisonerEvent: SILENCE + - randomEventType: "SILENCE" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Investigation effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -1071,15 +1222,17 @@ events: - effect: PRISONER_CAPACITY magnitude: -15 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Security Systems/Electronic effectsSuccess: - effect: NONE effectsFailure: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: SINGING + - randomEventType: "SINGING" responseEntries: - quality: RESPONSE_NEUTRAL + abilityCheckType: CHARISMA effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -1087,6 +1240,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Small Arms effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -1094,6 +1248,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Cryptography effectsSuccess: - effect: PRISONER_CAPACITY magnitude: -5 @@ -1101,9 +1256,10 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: PAPER + - randomEventType: "PAPER" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Cryptography effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -1125,9 +1281,10 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - - prisonerEvent: HOLIDAY + - randomEventType: "HOLIDAY" responseEntries: - quality: RESPONSE_NEGATIVE + skillCheckSkill: Small Arms effectsSuccess: - effect: NONE effectsFailure: @@ -1141,6 +1298,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Interrogation effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -1148,15 +1306,17 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: WHISPERS + - randomEventType: "WHISPERS" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Administration effectsSuccess: - effect: NONE effectsFailure: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Sensor Operations effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -1170,52 +1330,62 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - - prisonerEvent: LEADER + - randomEventType: "LEADER" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: Interrogation effectsSuccess: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - skillType: S_LEADER + affectedSkill: Leadership effectsFailure: - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Investigation effectsSuccess: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: 10 effectsFailure: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Stealth effectsSuccess: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - skillType: S_LEADER + affectedSkill: Leadership effectsFailure: - effect: SKILL - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - skillType: S_LEADER + affectedSkill: Leadership - effect: PRISONER_CAPACITY magnitude: -10 - - prisonerEvent: ARGUMENTS + - randomEventType: "ARGUMENTS" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: Negotiation effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -1223,6 +1393,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Administration effectsSuccess: - effect: NONE effectsFailure: @@ -1235,7 +1406,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - - prisonerEvent: SENTIMENTAL_ITEM + - randomEventType: "SENTIMENTAL_ITEM" responseEntries: - quality: RESPONSE_POSITIVE effectsSuccess: @@ -1251,6 +1422,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Investigation effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -1258,18 +1430,21 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - - prisonerEvent: MALNUTRITION + - randomEventType: "MALNUTRITION" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: Melee Weapons effectsSuccess: - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: PRISONER_CAPACITY magnitude: 5 effectsFailure: - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 - effect: PRISONER_CAPACITY magnitude: -5 @@ -1280,6 +1455,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Administration effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 10 @@ -1287,52 +1463,63 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: INJURIES + - randomEventType: "INJURIES" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: Investigation effectsSuccess: - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 1 effectsFailure: - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEGATIVE effectsSuccess: - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 effectsFailure: - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - effect: INJURY_PERCENT - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 5 - effect: INJURY_PERCENT - isGuard: TRUE + affectedPersonnelTypes: + - SECURITY_GUARD magnitude: 1 - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Administration effectsSuccess: - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 effectsFailure: - effect: INJURY - isGuard: FALSE + affectedPersonnelTypes: + - PRISONERS magnitude: 3 - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: TERROR + - randomEventType: "TERROR" responseEntries: - quality: RESPONSE_NEGATIVE effectsSuccess: @@ -1341,6 +1528,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_POSITIVE + skillCheckSkill: Negotiation effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -1348,6 +1536,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Interrogation effectsSuccess: - effect: SUPPORT_POINT magnitude: 1 @@ -1357,9 +1546,10 @@ events: - effect: PRISONER_CAPACITY magnitude: -15 - - prisonerEvent: SCREAMING + - randomEventType: "SCREAMING" responseEntries: - quality: RESPONSE_NEUTRAL + skillCheckSkill: MedTech/Any effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -1367,6 +1557,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Administration effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -1380,9 +1571,10 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: PHOTO + - randomEventType: "PHOTO" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: Negotiation effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -1396,6 +1588,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Negotiation effectsSuccess: - effect: SUPPORT_POINT magnitude: 1 @@ -1405,9 +1598,10 @@ events: - effect: PRISONER_CAPACITY magnitude: -15 - - prisonerEvent: GHOSTS + - randomEventType: "GHOSTS" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: MedTech/Any effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -1421,6 +1615,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -10 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Administration effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 10 @@ -1428,9 +1623,10 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - - prisonerEvent: VOICES + - randomEventType: "VOICES" responseEntries: - quality: RESPONSE_POSITIVE + skillCheckSkill: Administration effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 5 @@ -1438,6 +1634,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -5 - quality: RESPONSE_NEGATIVE + skillCheckSkill: Small Arms effectsSuccess: - effect: PRISONER_CAPACITY magnitude: 10 @@ -1445,6 +1642,7 @@ events: - effect: PRISONER_CAPACITY magnitude: -15 - quality: RESPONSE_NEUTRAL + skillCheckSkill: Administration effectsSuccess: - effect: NONE effectsFailure: diff --git a/data/universe/defaultspa.xml b/data/universe/defaultspa.xml index d4b87d0c49..8eeff5eb8c 100644 --- a/data/universe/defaultspa.xml +++ b/data/universe/defaultspa.xml @@ -2265,32 +2265,32 @@ While this SPA does exist in ATOW, these effects are unique to MekHQ.]]> edge_when_admin_acquire_fail_other Use Edge for Acquisition Failure (TN 2–7). - + edge_when_admin_acquire_fail_greater_than_eight Use Edge for Acquisition Failure (TN 8–10). - + edge_when_admin_acquire_fail_greater_than_eleven Use Edge for Acquisition Failure (TN 11–12). - + edge_when_salvage_accident Use Edge for Salvage Accidents. - + edge_when_escape_attempt_fail Use Edge for Escape Attempt Failure. - + edge_when_admin_fail_appraisal Use Edge for Procurement Cost Appraisal Failure. - + edge_when_commander_negotiation_fail @@ -2300,12 +2300,17 @@ While this SPA does exist in ATOW, these effects are unique to MekHQ.]]> edge_when_recon_fail Use Edge for Scouting failure. - + edge_when_training_fail Use Edge for Training Operation Failure. - + + + + edge_when_random_event_fail + Use Edge for Random Event Failure. +