Plot 0 name % [[Ver1.5]] % ********************** % *** ELEMENTS BLOCK *** % ********************** % E1 is the faction behind the story Element1 Element2 Element3 % ******************** % *** SCRIPT BLOCK *** % ******************** % V1 = Time Limit % V2 = Combat Indicator, if V2=1 combat has been entered % V3 = Email sent indicator. % If P3=-1, PC has been denied the job % V4 = Original home of E2 % S101 = Faction Victory Count % S102 = Enemy Victory Count (if appropriate) % S103 = How many times PC fought for faction % S104 = How many times PC fought against faction % On a cleanup request, delete this plot unless combat has been % entered. cleanup % Time limit. This plot will conclude in one day, or immediately % if NPC E2 is killed. % At this startup, move the NPC to the factory site. 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. % Finally, if the player won, the calling story's faction victory % count (by default now story variable 101) will be increased. nu1 nu2 % Email check. If the PC belongs to the same faction as the NPC, % he may receive an email about the mission. Make a check every % 5 minutes. 5Min % ********************* % *** MESSAGE BLOCK *** % ********************* % 01 - 05 : Email Messages. % The NPC is offering the PC a mission via email. Msg1 <\PERSONA E2 @ \SCENE EScene 2 :// You have been assigned to the new factory project. Meet me in \ELEMENT 3 .> Msg2 <\PERSONA E2 @ \SCENE EScene 2 :// Your services are required for the company. Come to \ELEMENT 3 at once.> Msg3 <\PERSONA E2 @ \SCENE EScene 2 :// \RANK , you have been given an assignment. Meet me in \ELEMENT 3 .> Msg4 <\PERSONA E2 @ \SCENE EScene 2 :// I've got a company assignment for you, \PC . Meet me here and we'll discuss it.> Msg5 <\PERSONA E2 @ \SCENE EScene 2 :// Come to \ELEMENT 3 for a corporate assignment. Our new factory is going up.> sub % This next bit is the conversation which will happen when the % PC speaks to E2. Persona 2 rumor % ******************** % *** SCRIPT BLOCK *** % ******************** % If you're feeling faint of heart, just skip this % and jump straight to the messages block below. % Here are the variables used in this conversation: % V1 = Job offer counter, V1=1 is job offered, V1=-1 if job denied % V2 = Message Randomizer % V3 = Threat value of enemy mecha % V4 = Reward offered to PC for the mission % At startup, make sure the NPC has been moved to the proper scene. Greeting % Next, check to see whether the PC has already % completed the mission or not. GoRealStart GoCheckLoss GoCheckJob % The first time the PC meets the NPC, the PC will be given the % mission automatically if he's part of the same faction, or if % he is a friend of the NPC, or if he's already been sent email. % The PC will be denied the mission if he's helped the enemy. GoCheckFirst GoCheckFaction GoCheckEmail % If the reaction score is greater than 20, PC will automatically % be offered the job, but unlike above will not be automatically % expected to accept it, GoCheckFriend GoNoAutomatic GoDenied GoFirstDesc GoAddComOps % The PC will enter combat here. result1 GoStartCombat .nu1 .nu2 result2 % The PC needs some time to get ready. result3 result4 % The PC will be told the enemy's point value. result5 result6 % The PC accepts the job offer. result7 result8 % The PC refuses the job offer. result9 result10 % The PC tries to get the job via "PLAN A"- be cheerful. result11 result12 result13 % PLAN "A", whatever it was, has failed... GoR11Lose % The PC tries to get the job via "PLAN B"- be friendly. % This is done with the Conversation skill. result14 result15 result16 % PLAN "B", whatever it was, has failed... GoR14Lose % The player doesn't want this stinkin' job. result17 result18 result19 % ********************* % *** MESSAGE BLOCK *** % ********************* % 01 - 05 : Player has won the battle and is being paid. Msg1 Msg2 Msg3 Msg4 Msg5 % 06 - 10 : Player has lost the battle. Msg6 Msg7 Msg8 Msg9 Msg10 % 11 - 15 : Description of mission. % use "$ \VAL V4 " to insert the pay for the mission, % and don't forget to mention that the PC also gets salvage. Msg11 Msg12 Msg13 Msg14 Msg15 % 16 - 20 : Player is asked if he is looking for a job. Msg16 <\ELEMENT 1 needs you for a combat mission. Are you interested in working for the company?> Msg17 Msg18 Msg19 Msg20 % 21 - 25 : NPC implies job, PC might have chance to get it. Msg21 Msg22 Msg23 Msg24 Msg25 <\ELEMENT 1 is the best employer in the Federated Territories. Our new factory will create jobs for the people of \ELEMENT 3 !> % 26 - 30 : PC will be told exact enemy point value. % use "\VAL V3 " to insert the value. Msg26 Msg27 Msg28 Msg29 Msg30 % 31 - 35 : "PLAN A" or "PLAN B" worked... the PC is offered % a job and may choose either prompt7/8 to accept or prompt9/10 % to reject it. Msg31 Msg32 Msg33 Msg34 Msg35 % 36 - 40 : Combat is starting. Msg36 Msg37 Msg38 Msg39 Msg40 % 101 : Player accepted job, then left to get ready. Msg101 % 102 : Player has refused to take job; answer to prompts 9-10. Msg102 % 103 : Player has asked for some time to get ready. Msg103 % 104 : "PLAN A" has failed, and the PC is not offered a job. Msg104 % 105 : "PLAN B" has failed, and the PC is not offered a job. Msg105 % 106 : Player doesn't want job; answer to prompts 17-19. msg106 % 107 : Memo msg107 <\ELEMENT 2 in \SCENE EScene 2 offered you a combat mission.> % 108 : NPC hasn't been moved yet. Msg108 % 01 - 02 : Ready to start the mission Prompt1 Prompt2 % 03 - 04 : Need time to get ready first. Prompt3 Prompt4 % 05 - 06 : What is the enemy point value? Prompt5 Prompt6 % 07 - 08 : After being asked if he wants a job, PC says yes. Prompt7 Prompt8 % 09 - 10 : After being asked if he wants a job, PC says no. Prompt9 Prompt10 % 11 - 13 : Player tries to get job using PLAN "A". Prompt11 Prompt12 Prompt13 % 14 - 16 : Player tries to get job using PLAN "B". Prompt14 Prompt15 Prompt16 % 17 - 19 : Player doesn't much care for the job. Prompt17 Prompt18 Prompt19 end