Plot 0 name % v1.303 Standard % A leader will offer a combat mission. Yay! So what's different % between this one and the regular combat template? Well, first of % all this one isn't linked to a story, so it's good for making % independant PLOT_*.txt missions. Secondly, some of the things have % been rebalanced so a deserving PC will get the mission more easily % while an undeserving one won't. Leaders generally like Heroic, Lawful % types. % Element1 is just the leader of some town. element1 % ******************** % *** SCRIPT BLOCK *** % ******************** % P1 = Time Limit % P2 = Combat Indicator, if V2=1 combat has been entered % P3 = Email sent indicator. % Time limit. This plot will conclude in one day, or immediately % if NPC E1 is killed. start GoCheckTime GoDelete % Combat check. If combat has been entered, V2=1. % Combat ends in victory if the number of active masters on % team two drops to zero, or ends in defeat is the number of % active masters on team one drops to zero. After combat, V2=3 % if the player was victorious or V2=2 is the player lost. nu1 nu2 % Email check. The NPC might send the PC email about this mission. 5Min % ********************* % *** MESSAGE BLOCK *** % ********************* % 01 - 05 : Email Messages. % The NPC is offering the PC a mission via email. Msg1 <\PERSONA E1 @ \SCENE EScene 1 :// > Msg1_2 <\PERSONA E1 @ \SCENE EScene 1 :// > Msg1_3 <\PERSONA E1 @ \SCENE EScene 1 :// > Msg1_4 <\PERSONA E1 @ \SCENE EScene 1 :// > Msg1_5 <\PERSONA E1 @ \SCENE EScene 1 :// > sub % This next bit is the conversation which will happen when the % PC speaks to E1. Persona 1 % Fill in something for the rumor string, so the PC will know who % has a job to offer. !1 will add the name of the NPC. rumor <> % eg., rumor % ******************** % *** SCRIPT BLOCK *** % ******************** % V1 = Job offer counter, V1=1 is job offered, V1=-1 if job denied % V3 = Threat value of enemy mecha % V4 = Reward offered to PC for the mission greeting GoCheckLoss GoCheckMission % The first time the PC speaks to the NPC, initialize everything. GoCheckFirst GoCheckOffer % If the PC has "the right stuff", an offer will be made immediately. % If not, no offer will be made at all. In the example provided % below, "the right stuff" is a Lawful reputation + being liked. GoMakeOffer GoAddAcceptOps GoAddComOps GoNoMeks GoNoOffer % If the mission was denied but not previously cleaned up, do % that now. GoDenied % PC will accept the job. Descibe the mission. result1 % PC refuses the job. result4 % PC will enter combat now. result7 GoStartCombat .nu1 .nu2 % PC will ask how many points the enemy has. result9 % PC needs some time to get ready. result11 % ********************* % *** MESSAGE BLOCK *** % ********************* % 01 : Player has won the battle and is being paid. Msg1 <> Msg1_2 <> Msg1_3 <> Msg1_4 <> Msg1_5 <> % 06 : Player has lost the battle. Msg6 <> Msg6_7 <> Msg6_8 <> Msg6_9 <> Msg6_10 <> % 11 : PC got email about mission; asked to accept Msg11 <> Msg11_2 <> Msg11_3 <> Msg11_4 <> Msg11_5 <> % 16 : Player has "the right stuff"; will be offered mission. Msg16 <> Msg16_7 <> Msg16_8 <> Msg16_9 <> Msg16_0 <> % 21 : PC has accepted; describe the mission. Msg21 <> Msg21_2 <> Msg21_3 <> Msg21_4 <> Msg21_5 <> % 26 : Combat is starting Msg26 <> Msg26_7 <> Msg26_8 <> Msg26_9 <> Msg26_10 <> % 31 : Describe enemy point value Msg31 <> Msg31_2 <> Msg31_3 <> Msg31_4 <> Msg31_5 <> % 101 : Player is back from repairs, time to start mission. Msg101 % 102 : Player doesn't have "the right stuff" for this mission. Msg102 % 103 : Memo Msg103 <\ELEMENT 1 in \SCENE EScene 1 offered you a mission.> % 104 : PC didn't want the job. Msg104 % 105 : PC needs time to get ready. Msg105 % 106 : PC doesn't have a mecha. Msg106 % 01 : PC will accept the mission. Prompt1 <> Prompt1_2 <> Prompt1_3 <> % 04 : PC doesn't want this mission. Prompt4 <> Prompt4_5 <> Prompt4_6 <> % 07 : Combat is starting. prompt7 <> prompt7_8 <> % 09 : How many points? prompt9 <> prompt9_10 <> % 11 : Just a minute... prompt11 <> prompt11_2 <> end