Code: Select all
ACTOR ShotgunGiver : CustomInventory replaces Shotgun
{
Inventory.PickupMessage "KS-23 Riot Shotgun: \"Turns a riot into a laugh riot!\""
Inventory.PickupSound "misc/w_pkup"
Scale 0.3
States
{
Spawn:
TNT1 A 0 NoDelay A_CheckFlag("TOSSED", "DropNothing")
KSSG A -1
Wait
DropNothing:
TNT1 A 0
Stop
Pickup:
TNT1 A 0 A_JumpIfInventory("PumpShotgun", 1, 2)
TNT1 A 0 A_GiveInventory("PumpShotgun", 1)
Stop
TNT1 A 0 A_GiveInventory("DualPumpShotgun", 1)
TNT1 A 0 A_Log("Now with twice the taste! (Dual Wield)")
Stop
}
}
Code: Select all
Now with twice the taste! (Dual Wield)
KS-23 Riot Shotgun: "Turns a riot into a laugh riot!"