Code: Select all
actor ChronoSpeed : PowerupGiver //used for ChronoSphere
{
powerup.type "Speed"
powerup.duration 1050
+INVENTORY.AUTOACTIVATE
+INVENTORY.ALWAYSPICKUP
states
{
Spawn:
TNT1 A 1 Bright
loop
}
}
actor ChronoJump : PowerupGiver //used for ChronoSphere
{
powerup.type "HighJump"
powerup.duration 1050
+INVENTORY.AUTOACTIVATE
+INVENTORY.ALWAYSPICKUP
states
{
Spawn:
TNT1 A 1 Bright
loop
}
}
actor ChronoSphere : PowerupGiver 5215
{
inventory.pickupmessage "Speedy!"
inventory.pickupsound "misc/p_pkup"
powerup.color "Cyan" 0.15
powerup.type "DoubleFiringSpeed"
powerup.duration 1050
+COUNTITEM
+INVENTORY.AUTOACTIVATE
+INVENTORY.ALWAYSPICKUP
states
{
Spawn:
TIME ABCD 6 Bright
loop
Pickup:
TIME A 0 Bright A_GiveInventory("ChronoSpeed",1)
TIME A 0 Bright A_GiveInventory("ChronoJump",1)
stop
}
}