
EDIT: I've got the NoahPlayer and Feed classes up now, going to see what else I can get on there.
EDIT2: Added FeedTrough. I have to go to bed now, I'll do more tomorrow.

Code: Select all
actor GatlingGunUpgrade2 : CustomInventory Replaces GatlingGunUpgrade
{
inventory.pickupsound "weapon/gatling/pickup"
+INVENTORY.ALWAYSPICKUP
states
{
Spawn:
CGUN A -1
stop
Pickup:
TNT1 A 0 A_JumpIfInventory("GatlingGun3",1,"Pic2")
TNT1 A 0 A_GiveInventory("GatlinGun3",1)
stop
Pic2:
TNT1 A 0 A_GiveInventory("DualGatlingGun3",1)
stop
}
}