Code: Select all
ACTOR QuadDamage : PowerupGiver 86
{
   +INVENTORY.ALWAYSPICKUP
   +INVENTORY.AUTOACTIVATE
   +COUNTITEM
   scale 0.8
   Inventory.MaxAmount 0
   Inventory.PickupSound "items/quaddamage"
   Inventory.PickupMessage "quad damage!"
   powerup.color "44 55 aa" 25
   powerup.duration 2100 
   powerup.type "WeaponLevel2"
   states
   {
   Spawn:
      PQUA ABCDEFGH 3 BRIGHT
      Loop
   }   
}I propose a solution: if the current weapon is flagged as POWERED_UP, force the player to switch to its SisterWeapon upon changing levels and remove the powerup from their inventory.



