Advertisement
ijontichy

reloadbutton.dec

Jun 2nd, 2012
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. actor ReloadButtonOn: CustomInventory
  2. {
  3. Inventory.MaxAmount 1
  4. +UNDROPPABLE
  5.  
  6. States
  7. {
  8. Use:
  9. TNT1 A 0 A_GiveInventory("ReloadButton", 1)
  10. fail
  11. }
  12. }
  13.  
  14. actor ReloadButtonOff: CustomInventory
  15. {
  16. Inventory.MaxAmount 1
  17. +UNDROPPABLE
  18.  
  19. States
  20. {
  21. Use:
  22. TNT1 A 0 A_TakeInventory("ReloadButton", 1)
  23. fail
  24. }
  25. }
  26.  
  27. actor ReloadButton: Inventory
  28. {
  29. Inventory.MaxAmount 1
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement