scene 0 0 % "Raid the Mansion" scene % % Here's a mansion with plenty of nasty guards to give the PC headaches. % The PC can sneak in, or try to engage all the guards, or just run away. % There are rooms that can be used by the calling function to put things % in, and several teams to be stocked with bad guys. % Team 2 = Default enemies, in the driveway % Team 3 = More enemies, in Guard Room 1 % Team 4 = Even more enemies, in Guard Room 2 % Team 5 = Whatever is supposed to be in the goal room % V1 = Initialization Counter % * V2 = WMon value for Team 2 % * V100 - V199 = Reserved for use by the calling plot, etc. ForestMap % Do initialization here... start % If the PC leaves or is killed, return to the calling scene. nu1 sub Mansion LockedDoorChance 50 SecretDoorChance 10 MFX 5 MFY 5 Width 25 Height 25 name sub rect name FloorType 20 rect name FloorType 25 rect name FloorType 25 end rect MFX 35 MFY 5 Width 15 Height 10 FloorType 6 name rect Width 5 Height 5 name MFX 25 MFY 44 Team 1 home SetEnemy 2 3 4 Team 2 SetEnemy 1 SetAlly 3 4 home type Team 3 SetEnemy 1 SetAlly 2 4 home Team 4 SetEnemy 1 SetAlly 2 3 home Team 5 home end