wpicksup.zsc (2099B)
1 class S3FlechePickup : DBPickupBase replaces SuperShotgun 2 { 3 Default 4 { 5 +WEAPONSPAWN 6 Inventory.Pickupmessage "Thou hast mastered Fleche!"; 7 } 8 9 States 10 { 11 Spawn: 12 LUNG A -1; 13 stop; 14 Pickup: 15 TNT1 A 1 16 { 17 if (CountInv("Fleche") == 0) 18 { 19 A_GiveInventory("Fleche", 1); 20 GiveSpirit(10); 21 } 22 } 23 stop; 24 } 25 } 26 27 class S5ZornhauPickup : DBPickupBase replaces PlasmaRifle 28 { 29 Default 30 { 31 +WEAPONSPAWN 32 Inventory.Pickupmessage "You have mastered Zornhau"; 33 } 34 35 States 36 { 37 Spawn: 38 ZORN A -1; 39 stop; 40 Pickup: 41 TNT1 A 1 42 { 43 if (CountInv("Zornhau") == 0) 44 { 45 A_GiveInventory("Zornhau", 1); 46 GiveSpirit(10); 47 } 48 } 49 stop; 50 } 51 } 52 53 class S6PassePickup : DBPickupBase replaces BFG9000 54 { 55 Default 56 { 57 +WEAPONSPAWN 58 Inventory.Pickupmessage "Teleport technique!"; 59 } 60 61 States 62 { 63 Spawn: 64 BON2 A -1; 65 stop; 66 Pickup: 67 TNT1 A 0 68 { 69 if (CountInv("Passe") == 0) 70 { 71 A_GiveInventory("Passe", 1); 72 GiveSpirit(10); 73 } 74 } 75 stop; 76 } 77 } 78 79 class S4ThrowPickup : DBPickupBase replaces RocketLauncher 80 { 81 Default 82 { 83 +WEAPONSPAWN 84 Inventory.Pickupmessage "Thou hast mastered the flying sword!"; 85 } 86 87 States 88 { 89 Spawn: 90 TOSS A -1; 91 stop; 92 Pickup: 93 TNT1 A 0 94 { 95 if (CountInv("ThrowTech") == 0) 96 { 97 A_GiveInventory("ThrowTech", 1); 98 GiveSpirit(10); 99 } 100 } 101 stop; 102 } 103 } 104 105 class SwordPickup : CustomInventory //for when you throw your sword 106 { 107 Default 108 { 109 Inventory.Pickupmessage "Got it!"; 110 +INVENTORY.QUIET 111 -NOGRAVITY 112 } 113 114 States 115 { 116 Spawn: 117 SORD A -1 Bright; 118 stop; 119 Pickup: 120 TNT1 A 0 121 { 122 let owner1 = DevilbunnyPlayer(self); 123 owner1.hasSword = 1; 124 A_SelectWeapon("Pflug"); 125 A_StartSound("swordpickup"); 126 } 127 Poof: 128 TNT1 A 1; 129 stop; 130 131 } 132 } 133 134 class FakeShotgun : Actor replaces Shotgun //guns!? 135 { 136 137 States 138 { 139 Spawn: 140 SHOT A -1; 141 } 142 143 } 144 145 class FakeChaingun : Actor replaces Chaingun 146 { 147 States 148 { 149 Spawn: 150 MGUN A -1; 151 } 152 }