%% *:CS_StopNPCMission Content %% %% &IsEnemyNPC The character to be stopped is the enemy NPC %% &Secondary Is a secondary combat; disallow this tag if calling %% a second main course subplot %% %% Somebody is going on a mission. It's the PC's job to locate that %% person and stop them from completing the mission. Most of these %% components are timed- if the PC doesn't discover and halt the mission %% in time, it counts as a loss. %% %% This subplot may alter the story context. %% %% When this subplot concludes, it sets one of the following triggers: %% .%id%_%plotid%_GoWin %% .%id%_%plotid%_GoLoss %% It will also hide the encounter with SetEncounterInactive. %% %% This is a MAIN COURSE subplot. Favored by: POLIC %% %% %% Param1: The NPC to be stopped %% Content name desc requires <*:CS_StopNPCMission &IsEnemyNPC E:M.--- -E:A.nme F:P.art -F:POLIC I:++ ~+Gmo> changes Size 8 % E1 is the NPC to be stopped % E2 is an outdoor scene for the encounter % E3 is the encounter itself % E4 is the core story item Element2 Element3 Place3 <2> Element4 HINT_%id% <:%id1%> % P%id%01 = Initialization Counter % P%id%02 = Decimation Counter % P%id%03 = Reinforcements Counter %% FAIL CONDITIONS %% - SubPlot1 (DiscoverNPCMission) Lost update end .%id2%_%plotid2%_GoDecimation .%id2%_%plotid2%_GoReinforcements %% SubPlot1 = Discover the NPC's mission %% SubPlot2 = Gain advantage vs NPC SubPlot1 <*:CS_DiscoverNPCMission&EnemyNPC&Searching 2 3 1> SubPlot2 <*:CS_GainAdvantageVsNPC&Decimation&Reinforcements 1> sub MetaScene 3 2 %% This battle starts with an offer from the enemy: switch sides and %% share the wealth. % L1 = Encounter Over Counter % L2 = Initialization Counter special MapWidth 50 MapHeight 50 Start nu1 nu2 nu4 GoOddWin GoWinMission end Msg1 Msg2 Msg3 Msg4 Msg5 <%name1% flees the battlefield.> Msg6 Msg7 <%name1% is down! Let's get the blazes out of here!> Msg8 <%name1%'s lancemates flee the battlefield.> sub team 1 setally 3 SetEnemy 2 4 ParaX 5 ParaY 10 team 2 name SetEnemy 1 3 SetAlly 4 Deploy GoBigDeploy ParaX 45 ParaY 45 team 3 name setally 1 setenemy 2 4 Deploy ParaX 10 ParaY 5 team 4 name SetEnemy 1 3 SetAlly 4 ParaX 45 ParaY 45 end Persona 1 special % V1 = First time counter greeting GoChat result1 result2 result3 result4 result5 result6 .fac *result7 <*THEME_EXPO&Enemy na> Msg1 Msg1_1 CMsg1_1 Msg1_2 CMsg1_2 Msg1_3 <> CMsg1_3 Msg1_4 CMsg1_4 Msg1_5 CMsg1_5 Msg1_6 <> CMsg1_6 Msg2 Msg3 Msg4 Msg6 Msg8 Msg9 Msg10 Prompt1 <[Continue]> Prompt2 Prompt3 Prompt4 Prompt5 Prompt6 Prompt7 <[Continue]> end inv stc CORE-ACTIVATABLE name <%name1%'s Lance> end %% ******************* %% *** GENERAL *** %% ******************* Content name desc requires <*:CS_StopNPCMission &IsEnemyNPC (E:A.hat|E:A.mut) (E:M.---|E:M.rev|E:M.nih) F:++ -!Ne -!Lo -&Secondary> changes Size 10 % E1 is the NPC to be stopped % E2 is an outdoors scene for the first McGuffin encounter % E3 is the McGuffin encounter % E4 is the enemy faction Place1 Element2 Element3 Place3 <2> Element4 HINT_%id% <:%id2%> % P%id%01 = Initialization Counter %% FAIL CONDITIONS: %% - Reveal Encounter (SP2) fails %% - Either of the two combats are lost % At the beginning, activate the McGuiffin encounter and its locator. update end .%id%_GoLoseMission % Failure in either of the sub-missions results in the failure of the main mission. .%id1%_%plotid1%_GoLoss .%id2%_%plotid2%_GoLoss .%id1%_%plotid1%_GoWin .%id3%_%plotid3%_GoWin Msg%id%01 <%name1% challenged you to stop \OPR %1% from attacking a location in town; \SPR %1% did not appear to be acting rationally.> Msg%id%02 <%name1% challenged you to stop \OPR %1% .> Msg%id%03 Msg%id%04 <%name1% claimed that you are soul-foes, destined to kill one another.> % SubPlot1 is a McGuffin combat encounter used to set up the rest of the plot % SubPlot2 is the task to reveal the above encounter % SubPlot3 is the attack the PC must prevent SubPlot1 <*:CS_MechaEncounter&Secondary 2 3> SubPlot2 <*:CS_DiscoverNPCMission&EnemyNPC 2 3 1> SubPlot3 <*:CS_StopAttack 4> sub Persona 1 special greeting result%id%01 result%id%02 Msg%id%01 Msg%id%02 Prompt%id%01 Prompt%id%02 end inv stc CORE-ACTIVATABLE name <%name1%'s Lance> end Content name desc requires <*:CS_StopNPCMission &IsEnemyNPC E:A.hat (E:M.---|E:M.mer|E:M.com|E:M.rev|E:M.nih) -!Ne ~E:evil_ -E:good_> changes Size 8 % E1 is the NPC to be stopped % E2 is an urban scene for the base % E3 is the base % E4 is the friend % E5 is the friend's stand-in, a VICTIM prop % E6 is a local hospital scene % E7 is the secret Element2 Element3 Place3 <2> Element4 Place4 Element5 Place5 <3> Element6 Element7 HINT_%id% <:%id1%> %% FAIL CONDITIONS %% - TellSecret fails %% - RevealEncounter fails % P%id%01 = Initialization Counter % P%id%02 = Time Limit % P%id%03 = Gain peaceful entry counter start .%id%_GoCheckSP2 % At first, start the Tell Secret subplot. update % When the secret is revealed set the timer and start the Reveal Base subplot. % Oh, and change the attitude to mutual hatred. Can't forget that. .%id1%_%plotid1%_GoLearnSecret % If the PC gains peaceful entry, that's a good thing. .%id3%_%plotid3%_GoPeacefulEntry Msg%id%01 Msg%id%02 <%name1% has kidnapped %name4%; \SPR %1% is likely planning to torture \OPR %4% for information about you.> Msg%id%03 % SubPlot1 is the FindSecret: this one starts the timer and the rest of the plot. % SubPlot2 is the locate base task % SubPlot3 is the peaceful entry task SubPlot1 <*:CS_TellSecretAboutNPC&LearnPlans&IsEnemy 7 1> SubPlot2 <*:CS_RevealEncounter_NPCBase&EnemyNPC&Kidnapping 2 3 1> SubPlot3 <*:CS_PeacefulEntry_NPCBase 3 1> sub MetaScene 3 mapwidth 35 mapheight 35 MonkeyMap LockedDoorChance 10 SecretDoorChance 5 IndustrialTiles NeededCells 3 % L1 = Friend has died start end GoCheckWin % If the PC attacks at all after gaining peaceful entry, the guards will become % hostile again. PCAttack Msg1 Msg2 Msg3 sub Team 1 SetEnemy 2 3 Team 2 name type SetEnemy 1 Deploy Team 3 name home type SetEnemy 1 Deploy room name special sub TrapDoor Destination -1 use end room desig minimap <......###..#1=..###......> end Persona 4 special greeting Msg1 end inv STC CORE-ACTIVATABLE-STATIONARY-DEFENDED name STC VICTIM name <%name4%> use GoFriendDied CLUE_MEDICINE Pass -100 GoSaveFriend Msg1 Msg2 Msg3 Secret Msg <%name1% has captured %name4%. As far as I know, it's because \SPR %1% wants to learn about your weaknesses.> end Content name desc requires <*:CS_StopNPCMission &Secondary &IsEnemyNPC> % E1 is the NPC to be stopped % E2 is an outdoors scene % E3 is an encounter for the mecha encounter Element2 Element3 Place3 <2> HINT_%id% <:%id2%> %% FAIL CONDITIONS %% - DiscoverNPCMission fails % P%id%01 = Initialization Counter update end % Pass the results of the mecha encounter backwards to whatever subplot called this one. .%id1%_%plotid1%_GoWin .%id1%_%plotid1%_GoLoss % SubPlot1 is the mecha encounter % SubPlot2 is the DiscoverNPCMission task SubPlot1 <*:CS_MechaEncounter&Raiders&Secondary 2 3> SubPlot2 <*:CS_DiscoverNPCMission&EnemyNPC&GatheringForces 2 3 1> inv stc CORE-ACTIVATABLE name <%name1%'s Forces> end Content name %% Based on the above component, but different. desc requires <*:CS_StopNPCMission &IsEnemyNPC E:++ ~F:++ ~P:++ -&Beancounter> % E1 is the NPC to be stopped % E2 is an outdoors scene % E3 is an encounter for the mix encounter Element2 Element3 Place3 <2> HINT_%id% <:%id2%> %% FAIL CONDITIONS %% - DiscoverNPCMission fails % P%id%01 = Initialization Counter update end % Pass the results of the mecha encounter backwards to whatever subplot called this one. .%id1%_%plotid1%_GoWin .%id1%_%plotid1%_GoLoss % SubPlot1 is the mix encounter % SubPlot2 is the DiscoverNPCMission task SubPlot1 <*:CS_MIX_Encounter 2 3 1> SubPlot2 <*:CS_DiscoverNPCMission&EnemyNPC&GatheringForces 2 3 1> inv stc CORE-ACTIVATABLE name <%name1%'s Forces> end Content name desc requires <*:CS_StopNPCMission -&IsEnemyNPC &Secondary> Size 8 % E1 is the NPC launching the attack % E2 is an urban scene for placing the factory % E3 is the metascene for the mission Element2 Element3 Place3 <2> HINT_%id% <:%id1%> %% FAIL CONDITIONS %% - The DiscoverNPCMission subplot fails %% - The timer runs out before combat is entered % p%id%01 = Initialization Counter % p%id%02 = Timer (24 to 30 hours) % p%id%03 = Reinforcements Counter % At initialization, set the timer and activate the two subplots. update HalfHour .%id%_GoDistant end .%id2%_%plotid2%_GoReinforcements Msg%id%01 Msg%id%02 <\SCENE &EpisodeScene is rocked as %name1%'s lance destroys its target.> Msg%id%03 % SubPlot1 is the DiscoverNPCMission task % SubPlot2 is the GainAdvantage_VsNPC task SubPlot1 <*:CS_DiscoverNPCMission&EnemyNPC&DestroyFactory 2 3 1> SubPlot2 <*:CS_GainAdvantageVsMecha&Reinforcements> sub MetaScene 3 2 % L1 = Initialization Counter % L2 = Victory Counter MapWidth 50 MapHeight 50 CityBlockMap terrain % At startup, clear the timer so the mission doesn't timeout while the PC is defending % the factory. That would just be silly. Start nu1 nu2 GoLoseMission GoWinMission end Msg1 Msg2 Msg3 Msg4 Msg5 sub Team 1 SetEnemy 2 SetAlly 3 4 ParaX 7 ParaY 7 Team 2 SetEnemy 1 3 4 Deploy ParaX 45 ParaY 45 Team 3 SetEnemy 2 SetAlly 1 4 team 4 setally 1 3 setenemy 2 Deploy ParaX 25 ParaY 7 rect name desig sub SuperProp requires <*Fortress> SetTeam 3 end end Persona 1 special greeting *GoGreet <*BattleChallenge GoThemeExpo na> *GoThemeExpo <*THEME_EXPO&Enemy na> end inv stc CORE-ACTIVATABLE name <%name1%'s Goal> end Content name desc requires <*:CS_StopNPCMission &IsEnemyNPC E:A.equ (E:M.com|E:M.ggd)> changes % E1 is the NPC launching this attack % E2 is an outdoors scene for the encounters % E3 is an encounter for the supposed mission- the PC completes this one first % E4 is the encounter for the ambush- after the PC wins E3 % E5 is a friend/lover/ally to come to the rescue % E6 is a second one Place1 Element2 Element3 Place3 <2> Element4 Place4 <2> Element5 Place5 <4 (Allies) sd ally> Element6 Place6 <4 (Allies) sd ally> HINT_%id% <:%id2%> % P%id%01 = Initialization Counter % At initialization, activate all the subplots and level the NPCs. update % Upon the Mecha Encounter subplot being won, this subplot's ambush will be activated. % If the sub-encounter is lost, this plot is lost without needing an ambush. .%id1%_%plotid1%_GoWin .%id1%_%plotid1%_GoLoss % SubPlot1 is the combat encounter that serves as the supposed mission % SubPlot2 is the locate encounter thingamabob SubPlot1 <*:CS_MechaEncounter&Secondary&Raiders 2 3> SubPlot2 <*:CS_DiscoverNPCMission&EnemyNPC&GatheringForces 2 3 1> sub Persona 1 special greeting GoEndConversation result1 result2 Msg1 Msg2 Prompt1 Prompt2 Metascene 4 2 % L1 = Encounter Over Counter % L2 = Initialization Counter MapWidth 50 MapHeight 50 start end nu1 nu2 Msg1 Msg2 Msg3 Msg4 Msg5 Msg6 Msg7 Msg8 <%name1%'s lance has been defeated.> Msg9 sub team 1 SetEnemy 2 SetAlly 3 ParaX 5 ParaY 10 team 2 SetEnemy 1 3 Deploy ParaX 45 ParaY 45 team 3 name SetAlly 1 SetEnemy 2 ParaX 10 ParaY 5 end end inv stc CORE-ACTIVATABLE name <%name1%'s Forces> STC CORE-MECHAAMBUSH-ACTIVATABLE name end Content name desc requires <*:CS_StopNPCMission ~&IsEnemyNPC (!Ne|!Lo) &Secondary> Size 8 % E1 is the NPC launching the attack % E2 is an urban scene for placing the factory % E3 is the metascene for the mission Element2 Element3 Place3 <2> HINT_%id% <:%id1%> %% FAIL CONDITIONS %% - The DiscoverNPCMission subplot fails %% - The timer runs out before combat is entered % p%id%01 = Initialization Counter % p%id%02 = Timer (24 to 30 hours) % p%id%03 = Reinforcements Counter % At initialization, set the timer and activate the two subplots. update HalfHour .%id%_GoDistant end .%id2%_%plotid2%_GoReinforcements Msg%id%01 Msg%id%02 <\SCENE &EpisodeScene is rocked as %name1%'s lance destroys its target.> Msg%id%03 % SubPlot1 is the DiscoverNPCMission task % SubPlot2 is the GainAdvantage_VsNPC task SubPlot1 <*:CS_DiscoverNPCMission&EnemyNPC&DestroyFactory 2 3 1> SubPlot2 <*:CS_GainAdvantageVsMecha&Reinforcements> sub MetaScene 3 2 % L1 = Initialization Counter % L2 = Victory Counter MapWidth 50 MapHeight 50 CityBlockMap terrain % At startup, clear the timer so the mission doesn't timeout while the PC is defending % the factory. That would just be silly. Start nu1 nu2 GoLoseMission GoWinMission end Msg1 Msg2 Msg3 Msg4 Msg5 sub Team 1 SetEnemy 2 SetAlly 3 4 ParaX 7 ParaY 7 Team 2 SetEnemy 1 3 4 Deploy ParaX 45 ParaY 45 Team 3 SetEnemy 2 SetAlly 1 4 team 4 setally 1 3 setenemy 2 Deploy ParaX 25 ParaY 7 rect name desig sub SuperProp requires <*Fortress> SetTeam 3 end end end inv stc CORE-ACTIVATABLE name <%name1%'s Goal> end Content name desc requires <*:CS_StopNPCMission &IsEnemyNPC E:A.nme> changes % E1 is the new enemy % E2 is the metascene to be used for this encounter % E3 is the scene in which to place it Place1 <2 (Enemies) SD Enemy> Element2 Place2 <3> Element3 % P%id%01 = Initialization Counter % P%id%02 = Have gained reinforcements update %% FAIL CONDITIONS: %% - RevealEncounter subplot fails. end .%id1%_%plotid1%_GoReinforcements Msg%id%01 <%name1% has gotten away.> %% Hint Redirection HINT_%id% <:%id2%> % SubPlot1 = Gain Advantage vs Raiders % SubPlot2 = Discover NPC mission SubPlot1 <*:CS_GainAdvantageVsMecha&Reinforcements> SubPlot2 <*:CS_RevealEncounter_Raiders 3 2> sub MetaScene 2 2 % L1 = Encounter Over Counter % L2 = Initialization Counter MapWidth 50 MapHeight 50 Start nu1 nu2 end GoFreeze Msg1 Msg2 Msg3 Msg4 Msg5 Msg5_1 CMsg5_1 Msg5_2 CMsg5_2 Msg6 <%name1% defeated you.> Msg7 Msg8 Msg8_1 CMsg8_1 Msg8_2 CMsg8_2 Msg9 <%name1%'s cockpit is mysteriously empty. Could \SPR %1% have survived?> sub team 1 setally 3 SetEnemy 2 ParaX 5 ParaY 5 team 2 SetEnemy 1 3 Deploy ParaX 45 ParaY 45 team 3 setally 1 setenemy 2 Deploy ParaX 10 ParaY 5 end Persona 1 special greeting *result%id%01 <*THEME_EXPO&Enemy na> result%id%02 Msg%id%01 Msg%id%01_1 CMsg%id%01_1 Msg%id%01_2 <> CMsg%id%01_2 Prompt%id%01 Prompt%id%01_1 Prompt%id%01_2 Prompt%id%02 Prompt%id%02_1 Prompt%id%02_2 end inv stc CORE-ACTIVATABLE name <%name1%'s Lance> end Content name desc requires <*:CS_StopNPCMission -&IsEnemyNPC E:--> changes % E1 is the new enemy % E2 is the metascene to be used for this encounter % E3 is the scene in which to place it Place1 Element2 Place2 <3> Element3 % P%id%01 = Initialization Counter % P%id%02 = Have gained reinforcements update %% FAIL CONDITIONS: %% - RevealEncounter subplot fails. end .%id1%_%plotid1%_GoReinforcements Msg%id%01 <%name1% has gotten away.> %% Hint Redirection HINT_%id% <:%id2%> % SubPlot1 = Gain Advantage vs Raiders % SubPlot2 = Discover NPC mission SubPlot1 <*:CS_GainAdvantageVsMecha&Reinforcements> SubPlot2 <*:CS_DiscoverNPCMission&EnemyNPC&DestroyFactory 3 2 1> sub MetaScene 2 2 % L1 = Encounter Over Counter % L2 = Initialization Counter MapWidth 50 MapHeight 50 Start nu1 nu2 end Msg1 Msg2_1 Msg2_2 Msg2_3 <%name1% doesn't like senseless violence, so \SPR %1% left as soon as \PPR %1% mission was done. The rest of us, on the other hand, can't get enough of the stuff...> CMsg2_3 Msg2_4 CMsg2_4 Msg2_5 CMsg2_5 Msg3 Msg4 Msg5 Msg6 sub team 1 setally 3 SetEnemy 2 ParaX 5 ParaY 5 team 2 SetEnemy 1 3 Deploy ParaX 45 ParaY 45 team 3 setally 1 setenemy 2 Deploy ParaX 10 ParaY 5 end end inv stc CORE-ACTIVATABLE name <%name1%'s Goal> end Content name desc requires <*:CS_StopNPCMission -&IsEnemyNPC E:-- (!Ne|!Lo)> changes % E1 is the NPC launching the attack % E2 is an urban scene for placing the factory % E3 is the metascene for the mission Place1 <3 (Enemies) SD enemy> Element2 Element3 Place3 <2> HINT_%id% <:%id1%> %% FAIL CONDITIONS %% - The DiscoverNPCMission subplot fails %% - The timer runs out before combat is entered % p%id%01 = Initialization Counter % p%id%02 = Timer (24 to 30 hours) % p%id%03 = Reinforcements Counter % P%id%04 = Combat Started % At initialization, set the timer and activate the two subplots. % If the timer runs out, set E1 as the core story enemy + set attitude update HalfHour .%id%_GoDistant end .%id2%_%plotid2%_GoReinforcements Msg%id%01 Msg%id%02 <\SCENE &EpisodeScene is rocked as %name1%'s lance destroys its target.> Msg%id%03 % SubPlot1 is the DiscoverNPCMission task % SubPlot2 is the GainAdvantage_VsNPC task SubPlot1 <*:CS_DiscoverNPCMission&EnemyNPC&DestroyFactory 2 3 1> SubPlot2 <*:CS_GainAdvantageVsMecha&Reinforcements> sub MetaScene 3 2 % L1 = Initialization Counter % L2 = Victory Counter MapWidth 50 MapHeight 50 CityBlockMap terrain % At startup, clear the timer so the mission doesn't timeout while the PC is defending % the factory. That would just be silly. Start nu1 nu2 GoLoseMission GoWinMission end Msg1 Msg2 Msg3 Msg4 Msg5 sub Team 1 SetEnemy 2 SetAlly 4 ParaX 7 ParaY 7 Team 2 name SetEnemy 1 4 Deploy ParaX 45 ParaY 45 Team 3 SetAlly 1 4 team 4 setally 1 setenemy 2 Deploy ParaX 25 ParaY 7 rect name desig sub SuperProp requires <*Fortress> SetTeam 3 end end Persona 1 greeting .%id%_GoCombatGreet *result%id%01 <*THEME_EXPO&Enemy na> Msg%id%01 Msg%id%01_1 Msg%id%01_2 Msg%id%02 Msg%id%02_1 CMsg%id%02_1 Msg%id%02_2 CMsg%id%02_2 Msg%id%02_11 CMsg%id%02_11 Msg%id%02_12 CMsg%id%02_12 Prompt%id%01 Prompt%id%01_1 Prompt%id%01_2 end inv stc CORE-ACTIVATABLE name <%name1%'s Goal> end %% %% *:CS_StopAttack Content %% %% &IsEnemyFac The faction to be stopped is the core story enemy %% %% A faction is planning to attack something. The PC will have 24 hours to find %% out what and prevent the attack. This is kind of like the above subplot type %% but involves a faction rather than an NPC and is not a main course. Generally, %% this subplot will be invoked when a threat is discovered, and may well form %% the primary combat for an episode. %% %% When this subplot concludes, it sets one of the following triggers: %% .%id%_%plotid%_GoWin %% .%id%_%plotid%_GoLoss %% %% PARAM1: The faction behind the attack %% Content name desc requires <*:CS_StopAttack> Size 8 % E1 is the faction launching the attack % E2 is an urban scene for placing the factory % E3 is the metascene for the mission Element2 Element3 Place3 <2> %% FAIL CONDITIONS %% - The DiscoverNPCMission subplot fails %% - The timer runs out before combat is entered % p%id%01 = Initialization Counter % p%id%02 = Timer (24 to 30 hours) % p%id%03 = Reinforcements Counter % At initialization, set the timer and activate the two subplots. update HalfHour .%id%_GoDistant end .%id2%_%plotid2%_GoReinforcements Msg%id%01 Msg%id%02 <\SCENE &EpisodeScene is rocked as mecha from %name1% destroy their target.> Msg%id%03 % SubPlot1 is the DiscoverNPCMission task % SubPlot2 is the GainAdvantage_VsNPC task SubPlot1 <*:CS_RevealEncounter_FactionTarget&IsEnemy&OfAttack 2 3 1> SubPlot2 <*:CS_GainAdvantageVsMecha&Reinforcements> sub MetaScene 3 2 % L1 = Initialization Counter % L2 = Victory Counter MapWidth 50 MapHeight 50 CityBlockMap terrain % At startup, clear the timer so the mission doesn't timeout while the PC is defending % the factory. That would just be silly. Start nu1 nu2 GoLoseMission GoWinMission end Msg1 Msg2 Msg3 Msg4 Msg5 sub Team 1 SetEnemy 2 SetAlly 3 4 ParaX 7 ParaY 7 Team 2 SetEnemy 1 3 4 Deploy ParaX 45 ParaY 45 Team 3 SetEnemy 2 SetAlly 1 4 team 4 setally 1 3 setenemy 2 Deploy ParaX 25 ParaY 7 rect name desig sub SuperProp requires <*Fortress> SetTeam 3 end end end inv stc CORE-ACTIVATABLE name end