SHARE
TWEET

Untitled

skroton Feb 27th, 2014 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ACTOR RadSuitPickup : CustomInventory Replaces RadSuit
  2. {
  3.   Game Doom
  4.   Height 46
  5.   +INVENTORY.AUTOACTIVATE
  6.   +INVENTORY.ALWAYSPICKUP
  7.   Inventory.MaxAmount 0
  8.   Inventory.PickupMessage "$GOTSUIT" // "Radiation Shielding Suit"
  9.   States
  10.   {
  11.   Spawn:
  12.         SUIT A -1 Bright
  13.         Stop
  14.   Pickup:
  15.         TNT1 A 0 A_JumpIfInventory("PowerFractalIronFeet", 1, "PickupFail")
  16.         TNT1 A 0 A_GiveInventory("FractalRadSuit", 1)
  17.         Goto PickupFail //Fail
  18.   PickupFail:
  19.         SUIT A 1
  20.         Fail
  21.   }
  22. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top