Advertisement
Chronos_Ouroboros

Untitled

Nov 12th, 2014
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. Actor Grenade : Inventory {
  2. // Stuff here
  3. }
  4.  
  5. Actor GrenadeStack : CustomInventory {
  6. // More stuff here
  7. }
  8.  
  9. Actor ClipPickup : CustomInventory {
  10. Inventory.Amount 0
  11. Inventory.MaxAmount 1
  12. +Inventory.AutoActivate +Inventory.IgnoreSkill
  13. States {
  14. Spawn:
  15. GREN A -1
  16. Stop
  17. Pickup:
  18. TNT1 A 0 A_JumpIfInventory ("Grenade", 3, "GiveStack")
  19. TNT1 A 0 A_GiveInventory ("Grenade", 1)
  20. Stop
  21. GiveStack:
  22. TNT1 A 0 A_TakeInventory ("Grenade", 3)
  23. TNT1 A 0 A_GiveInventory ("TripleGrenade", 1)
  24. Stop
  25. Use:
  26. TNT1 A 0
  27. Stop
  28. }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement