Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function int CountPMags(void)
- {
- int ammo;
- ammo = CheckInventory("PMag1");
- ammo = ammo + (CheckInventory("PMag2") * 2);
- ammo = ammo + (CheckInventory("PMag3") * 3);
- ammo = ammo + (CheckInventory("PMag4") * 4);
- ammo = ammo + (CheckInventory("PMag5") * 5);
- ammo = ammo + (CheckInventory("PMag6") * 6);
- ammo = ammo + (CheckInventory("PMag7") * 7);
- ammo = ammo + (CheckInventory("PMag8") * 8);
- ammo = ammo + (CheckInventory("PMag9") * 9);
- ammo = ammo + (CheckInventory("PMag10") * 10);
- ammo = ammo + (CheckInventory("PMag11") * 11);
- ammo = ammo + (CheckInventory("PMag12") * 12);
- ammo = ammo + (CheckInventory("PMag13") * 13);
- ammo = ammo + (CheckInventory("PMag14") * 14);
- ammo = ammo + (CheckInventory("PMag15") * 15);
- return ammo;
- }
- function int GetSmallestPMag(void)
- {
- int smallestmag;
- if(CheckInventory("PMag1")){ smallestmag = 1; }
- else if(CheckInventory("PMag2")){ smallestmag = 2; }
- else if(CheckInventory("PMag3")){ smallestmag = 3; }
- else if(CheckInventory("PMag4")){ smallestmag = 4; }
- else if(CheckInventory("PMag5")){ smallestmag = 5; }
- else if(CheckInventory("PMag6")){ smallestmag = 6; }
- else if(CheckInventory("PMag7")){ smallestmag = 7; }
- else if(CheckInventory("PMag8")){ smallestmag = 8; }
- else if(CheckInventory("PMag9")){ smallestmag = 9; }
- else if(CheckInventory("PMag10")){ smallestmag = 10; }
- else if(CheckInventory("PMag11")){ smallestmag = 11; }
- else if(CheckInventory("PMag12")){ smallestmag = 12; }
- else if(CheckInventory("PMag13")){ smallestmag = 13; }
- else if(CheckInventory("PMag14")){ smallestmag = 14; }
- else if(CheckInventory("PMag15")){ smallestmag = 15; }
- else{ smallestmag = 0; }
- return smallestmag;
- }
- function int GetLargestPMag(void)
- {
- int largestmag;
- if(CheckInventory("PMag15")){ largestmag = 15; }
- else if(CheckInventory("PMag14")){ largestmag = 14; }
- else if(CheckInventory("PMag13")){ largestmag = 13; }
- else if(CheckInventory("PMag12")){ largestmag = 12; }
- else if(CheckInventory("PMag11")){ largestmag = 11; }
- else if(CheckInventory("PMag10")){ largestmag = 10; }
- else if(CheckInventory("PMag9")){ largestmag = 9; }
- else if(CheckInventory("PMag8")){ largestmag = 8; }
- else if(CheckInventory("PMag7")){ largestmag = 7; }
- else if(CheckInventory("PMag6")){ largestmag = 6; }
- else if(CheckInventory("PMag5")){ largestmag = 5; }
- else if(CheckInventory("PMag4")){ largestmag = 4; }
- else if(CheckInventory("PMag3")){ largestmag = 3; }
- else if(CheckInventory("PMag2")){ largestmag = 2; }
- else if(CheckInventory("PMag1")){ largestmag = 1; }
- else{ largestmag = 0; }
- return largestmag;
- }
- function int GivePMag(int which, int msg, int give)
- {
- if(give){ GiveInventory("TSPPistolAmmoMag",1); }
- switch(which){
- case 1:
- GiveInventory("PMag1",1);
- if(msg){ hudmessage(s:"Picked up a used pistol magazine. [\cj+1 Pistol Ammo\c-]";HUDMSG_PLAIN|HUDMSG_LOG,2,CR_RED,0.0,0.0,1.0); }
- break;
- case 2:
- GiveInventory("PMag2",1);
- if(msg){ hudmessage(s:"Picked up a used pistol magazine. [\cj+2 Pistol Ammo\c-]";HUDMSG_PLAIN|HUDMSG_LOG,2,CR_RED,0.0,0.0,1.0); }
- break;
- case 3:
- GiveInventory("PMag3",1);
- if(msg){ hudmessage(s:"Picked up a used pistol magazine. [\cj+3 Pistol Ammo\c-]";HUDMSG_PLAIN|HUDMSG_LOG,2,CR_RED,0.0,0.0,1.0); }
- break;
- case 4:
- GiveInventory("PMag4",1);
- if(msg){ hudmessage(s:"Picked up a used pistol magazine. [\cj+4 Pistol Ammo\c-]";HUDMSG_PLAIN|HUDMSG_LOG,2,CR_RED,0.0,0.0,1.0); }
- break;
- case 5:
- GiveInventory("PMag5",1);
- if(msg){ hudmessage(s:"Picked up a used pistol magazine. [\cj+5 Pistol Ammo\c-]";HUDMSG_PLAIN|HUDMSG_LOG,2,CR_RED,0.0,0.0,1.0); }
- break;
- case 6:
- GiveInventory("PMag6",1);
- if(msg){ hudmessage(s:"Picked up a used pistol magazine. [\cj+6 Pistol Ammo\c-]";HUDMSG_PLAIN|HUDMSG_LOG,2,CR_RED,0.0,0.0,1.0); }
- break;
- case 7:
- GiveInventory("PMag7",1);
- if(msg){ hudmessage(s:"Picked up a used pistol magazine. [\cj+7 Pistol Ammo\c-]";HUDMSG_PLAIN|HUDMSG_LOG,2,CR_RED,0.0,0.0,1.0); }
- break;
- case 8:
- GiveInventory("PMag8",1);
- if(msg){ hudmessage(s:"Picked up a used pistol magazine. [\cj+8 Pistol Ammo\c-]";HUDMSG_PLAIN|HUDMSG_LOG,2,CR_RED,0.0,0.0,1.0); }
- break;
- case 9:
- GiveInventory("PMag9",1);
- if(msg){ hudmessage(s:"Picked up a used pistol magazine. [\cj+9 Pistol Ammo\c-]";HUDMSG_PLAIN|HUDMSG_LOG,2,CR_RED,0.0,0.0,1.0); }
- break;
- case 10:
- GiveInventory("PMag10",1);
- if(msg){ hudmessage(s:"Picked up a used pistol magazine. [\cj+10 Pistol Ammo\c-]";HUDMSG_PLAIN|HUDMSG_LOG,2,CR_RED,0.0,0.0,1.0); }
- break;
- case 11:
- GiveInventory("PMag11",1);
- if(msg){ hudmessage(s:"Picked up a used pistol magazine. [\cj+11 Pistol Ammo\c-]";HUDMSG_PLAIN|HUDMSG_LOG,2,CR_RED,0.0,0.0,1.0); }
- break;
- case 12:
- GiveInventory("PMag12",1);
- if(msg){ hudmessage(s:"Picked up a used pistol magazine. [\cj+12 Pistol Ammo\c-]";HUDMSG_PLAIN|HUDMSG_LOG,2,CR_RED,0.0,0.0,1.0); }
- break;
- case 13:
- GiveInventory("PMag13",1);
- if(msg){ hudmessage(s:"Picked up a used pistol magazine. [\cj+13 Pistol Ammo\c-]";HUDMSG_PLAIN|HUDMSG_LOG,2,CR_RED,0.0,0.0,1.0); }
- break;
- case 14:
- GiveInventory("PMag14",1);
- if(msg){ hudmessage(s:"Picked up a used pistol magazine. [\cj+14 Pistol Ammo\c-]";HUDMSG_PLAIN|HUDMSG_LOG,2,CR_RED,0.0,0.0,1.0); }
- break;
- case 15:
- GiveInventory("PMag15",1);
- if(msg){ hudmessage(s:"Picked up a pistol magazine. [\cj+1 Pistol Magazine\c-]";HUDMSG_PLAIN|HUDMSG_LOG,2,CR_RED,0.0,0.0,1.0); }
- break; }
- return 0;
- }
- function int TakePMag(int which, int throw, int take)
- {
- if(take){ TakeInventory("TSPPistolAmmoMag",1); }
- switch(which){
- case 0:
- if(throw){ GiveInventory("BaseThrowPMag",1); }
- break;
- case 1:
- TakeInventory("PMag1",1);
- if(throw){ GiveInventory("ThrowPMag1",1); }
- break;
- case 2:
- TakeInventory("PMag2",1);
- if(throw){ GiveInventory("ThrowPMag2",1); }
- break;
- case 3:
- TakeInventory("PMag3",1);
- if(throw){ GiveInventory("ThrowPMag3",1); }
- break;
- case 4:
- TakeInventory("PMag4",1);
- if(throw){ GiveInventory("ThrowPMag4",1); }
- break;
- case 5:
- TakeInventory("PMag5",1);
- if(throw){ GiveInventory("ThrowPMag5",1); }
- break;
- case 6:
- TakeInventory("PMag6",1);
- if(throw){ GiveInventory("ThrowPMag6",1); }
- break;
- case 7:
- TakeInventory("PMag7",1);
- if(throw){ GiveInventory("ThrowPMag7",1); }
- break;
- case 8:
- TakeInventory("PMag8",1);
- if(throw){ GiveInventory("ThrowPMag8",1); }
- break;
- case 9:
- TakeInventory("PMag9",1);
- if(throw){ GiveInventory("ThrowPMag9",1); }
- break;
- case 10:
- TakeInventory("PMag10",1);
- if(throw){ GiveInventory("ThrowPMag10",1); }
- break;
- case 11:
- TakeInventory("PMag11",1);
- if(throw){ GiveInventory("ThrowPMag11",1); }
- break;
- case 12:
- TakeInventory("PMag12",1);
- if(throw){ GiveInventory("ThrowPMag12",1); }
- break;
- case 13:
- TakeInventory("PMag13",1);
- if(throw){ GiveInventory("ThrowPMag13",1); }
- break;
- case 14:
- TakeInventory("PMag14",1);
- if(throw){ GiveInventory("ThrowPMag14",1); }
- break;
- case 15:
- TakeInventory("PMag15",1);
- if(throw){ GiveInventory("ThrowPMag15",1); }
- break; }
- return 0;
- }
- function int ClearPMags(int take)
- {
- if(take){ TakeInventory("TSPPistolAmmoMag",0x7FFFFFFF); }
- TakeInventory("PMag1",0x7FFFFFFF);
- TakeInventory("PMag2",0x7FFFFFFF);
- TakeInventory("PMag3",0x7FFFFFFF);
- TakeInventory("PMag4",0x7FFFFFFF);
- TakeInventory("PMag5",0x7FFFFFFF);
- TakeInventory("PMag6",0x7FFFFFFF);
- TakeInventory("PMag7",0x7FFFFFFF);
- TakeInventory("PMag8",0x7FFFFFFF);
- TakeInventory("PMag9",0x7FFFFFFF);
- TakeInventory("PMag10",0x7FFFFFFF);
- TakeInventory("PMag11",0x7FFFFFFF);
- TakeInventory("PMag12",0x7FFFFFFF);
- TakeInventory("PMag13",0x7FFFFFFF);
- TakeInventory("PMag14",0x7FFFFFFF);
- TakeInventory("PMag15",0x7FFFFFFF);
- return 0;
- }
- script "PMagChange" ENTER
- {
- int ammo, maxammo, maxmags;
- int lastusemags = GetCVar("tsp_usemags");
- Delay(3);
- while(true){
- if((GetCVar("tsp_usemags") != lastusemags) && !(GetCVar("tsp_usemags"))){
- lastusemags = GetCVar("tsp_usemags");
- ammo = CountPMags();
- ClearPMags(1);
- GiveInventory("TSPPistolAmmo",ammo); }
- else if((GetCVar("tsp_usemags") != lastusemags) && (GetCVar("tsp_usemags"))){
- lastusemags = GetCVar("tsp_usemags");
- if(CheckInventory("Backpack2") > 0){ maxmags = 15; }
- else{ maxmags = 10; }
- ammo = CheckInventory("TSPPistolAmmo");
- TakeInventory("TSPPistolAmmo",0x7FFFFFFF);
- if((ammo / maxmags) >= 15){
- GiveInventory("TSPPistolAmmoMag",maxmags);
- GiveInventory("PMag15",maxmags); }
- else{
- while(ammo > 15){
- ammo = ammo - 15;
- GiveInventory("TSPPistolAmmoMag",1);
- GiveInventory("PMag15",1); }
- if(ammo > 0){ GivePMag(ammo,0,1); }}}
- Delay(6); }
- }
- script "PMagSpawn" (int chance, int LSchance)
- {
- int SpawnX, SpawnY, SpawnZ, SpawnAngle;
- int roll;
- roll = random(1,255);
- if((GameSkill() < 5 && roll <= chance) || (GameSkill() >= 5 && roll <= LSchance)){
- SpawnX = GetActorX(0);
- SpawnY = GetActorY(0);
- SpawnZ = GetActorZ(0);
- SpawnAngle = GetActorAngle(0);
- SpawnForced("PistolAmmoDropper",SpawnX,SpawnY,SpawnZ,0,SpawnAngle); }
- }
- script "PistolMagPickup" (int howmany)
- {
- int ammo, maxammo, mags, maxmags, smallestmag;
- if(GetCVar("tsp_fullmags")){ howmany = 15; }
- if(!GetCVar("tsp_usemags") && GameSkill() < 5){
- if(CheckInventory("Backpack2") > 0){ maxammo = 300; }
- else{ maxammo = 150; }
- ammo = CheckInventory("TSPPistolAmmo");
- if(ammo < maxammo){
- if(howmany == 16){ GiveInventory("TSPPistolAmmo",10); }
- else{ GiveInventory("TSPPistolAmmo",5); }
- setresultvalue(1);
- terminate; }
- else{
- setresultvalue(0);
- terminate; }}
- else{
- if(CheckInventory("Backpack2") > 0){ maxmags = 15; }
- else{ maxmags = 10; }
- mags = CheckInventory("TSPPistolAmmoMag");
- if(howmany == 16){ howmany = 15; }
- if(mags < maxmags){
- GivePMag(howmany,1,1);
- setresultvalue(1);
- terminate; }
- else{
- smallestmag = GetSmallestPMag();
- if(howmany > smallestmag){
- GivePMag(howmany,1,0);
- TakePMag(smallestmag,1,0);
- setresultvalue(1);
- terminate; }
- else{
- setresultvalue(0);
- terminate; }}}
- }
- script "PistolReloadCheck" (int which)
- {
- if(!which){
- if(!GetCVar("tsp_usemags") && GameSkill() < 5 && CheckInventory("TSPPistolAmmo")){ setresultvalue(1); }
- else if(CheckInventory("TSPPistolAmmoMag")){ setresultvalue(1); }
- else{ setresultvalue(0); }}
- else{
- if((!GetCVar("tsp_usemags") && GameSkill() < 5) &&
- (!CheckInventory("TSPPistolAmmo") || CheckInventory("AutoPistolMag") == 15)){
- setresultvalue(1); }
- else if( CheckInventory("AutoPistolMag") >= GetLargestPMag() || !CheckInventory("TSPPistolAmmoMag")){
- setresultvalue(1); }
- else{ setresultvalue(0); }}
- }
- script "PMagOut" (void)
- {
- int mags, maxmags, smallestmag;
- int loadedammo;
- loadedammo = CheckInventory("AutoPistolMag");
- TakeInventory("AutoPistolMag",0x7FFFFFFF);
- if(!GetCVar("tsp_usemags") && GameSkill() < 5){
- GiveInventory("TSPPistolAmmo",loadedammo);
- TakePMag(0,1,0);
- terminate; }
- else{
- if(!loadedammo){
- TakePMag(0,1,0);
- terminate; }
- else{
- if(CheckInventory("Backpack2") > 0){ maxmags = 15; }
- else{ maxmags = 10; }
- mags = CheckInventory("TSPPistolAmmoMag");
- if(mags < maxmags){
- GivePMag(loadedammo,0,1);
- terminate; }
- else{
- smallestmag = GetSmallestPMag();
- if(loadedammo > smallestmag){
- TakePMag(smallestmag,1,0);
- GivePMag(loadedammo,0,0);
- terminate; }
- else{
- SetUserVariable(0,"user_PMagInGun",loadedammo);
- terminate; }}}}
- }
- script "PMagIn" (void)
- {
- int mags, maxmags, smallestmag, largestmag;
- int ammobuffer;
- ammobuffer = GetUserVariable(0,"user_PMagInGun");
- SetUserVariable(0,"user_PMagInGun",0);
- if(!GetCVar("tsp_usemags") && GameSkill() < 5){
- while(CheckInventory("AutoPistolMag") < 15){
- TakeInventory("TSPPistolAmmo",1);
- GiveInventory("AutoPistolMag",1); }}
- else{
- if(CheckInventory("Backpack2") > 0){ maxmags = 15; }
- else{ maxmags = 10; }
- largestmag = GetLargestPMag();
- TakePMag(largestmag,0,1);
- GiveInventory("AutoPistolMag",largestmag);
- if(ammobuffer){
- GivePMag(ammobuffer,0,1); }}
- }
- Actor PMag15 : Boolean { Inventory.MaxAmount 15 }
- Actor PMag14 : PMag15 {}
- Actor PMag13 : PMag15 {}
- Actor PMag12 : PMag15 {}
- Actor PMag11 : PMag15 {}
- Actor PMag10 : PMag15 {}
- Actor PMag9 : PMag15 {}
- Actor PMag8 : PMag15 {}
- Actor PMag7 : PMag15 {}
- Actor PMag6 : PMag15 {}
- Actor PMag5 : PMag15 {}
- Actor PMag4 : PMag15 {}
- Actor PMag3 : PMag15 {}
- Actor PMag2 : PMag15 {}
- Actor PMag1 : PMag15 {}
- ACTOR TSPPistolAmmoDrop replaces Clip
- {
- States
- {
- Spawn:
- TNT1 A 0
- TNT1 A 0
- TNT1 A 0
- TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("TSPGetGameSkill") == 5,"LoneSurvivorSpawn")
- Goto SpawnAmmo
- LoneSurvivorSpawn:
- TNT1 A 0 A_Jump(155,"SpawnAmmo")
- Stop
- SpawnAmmo:
- TNT1 A 0 A_SpawnItemEx("BasePistolMag",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
- Stop
- }
- }
- ACTOR PistolAmmoDropper
- {
- Height 2
- Radius 2
- +NOINTERACTION
- +NOCLIP
- +THRUACTORS
- States
- {
- Spawn:
- TNT1 A 0
- TNT1 A 0
- TNT1 A 0
- TNT1 A 0
- TNT1 A 0 A_Jump(256,"Drop5","Drop6","Drop7","Drop8","Drop9","Drop10","Drop11","Drop12","Drop13","Drop14","Drop15")
- Wait
- Drop5:
- TNT1 A 0 A_DropItem("PistolMag5")
- Stop
- Drop6:
- TNT1 A 0 A_DropItem("PistolMag6")
- Stop
- Drop7:
- TNT1 A 0 A_DropItem("PistolMag7")
- Stop
- Drop8:
- TNT1 A 0 A_DropItem("PistolMag8")
- Stop
- Drop9:
- TNT1 A 0 A_DropItem("PistolMag9")
- Stop
- Drop10:
- TNT1 A 0 A_DropItem("PistolMag10")
- Stop
- Drop11:
- TNT1 A 0 A_DropItem("PistolMag11")
- Stop
- Drop12:
- TNT1 A 0 A_DropItem("PistolMag12")
- Stop
- Drop13:
- TNT1 A 0 A_DropItem("PistolMag13")
- Stop
- Drop14:
- TNT1 A 0 A_DropItem("PistolMag14")
- Stop
- Drop15:
- TNT1 A 0 A_DropItem("PistolMag15")
- Stop
- }
- }
- ACTOR BasePistolMag : CustomInventory
- {
- Inventory.PickupMessage ""
- Inventory.PickupSound "919m/magout"
- DeathSound "weapons/smallclip"
- +INVENTORY.AUTOACTIVATE
- +CORPSE
- States
- {
- Spawn:
- 919F ABCDEFGH 2
- Loop
- Crash:
- TNT1 A 0 A_Jump(85,"Crash1","Crash2","Crash3","Crash4")
- Wait
- Crash1:
- 919F A -1 A_Scream
- Stop
- Crash2:
- 919F C -1 A_Scream
- Stop
- Crash3:
- 919F G -1 A_Scream
- Stop
- Crash4:
- 919F E -1 A_Scream
- Stop
- Pickup:
- TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("PistolMagPickup",16),"PickupSuccess")
- Fail
- PickupSuccess:
- TNT1 A 0 A_RailWait
- Stop
- }
- }
- ACTOR PistolMag1 : BasePistolMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("PistolMagPickup",1),"PickupSuccess")
- Fail
- }
- }
- ACTOR PistolMag2 : BasePistolMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("PistolMagPickup",2),"PickupSuccess")
- Fail
- }
- }
- ACTOR PistolMag3 : BasePistolMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("PistolMagPickup",3),"PickupSuccess")
- Fail
- }
- }
- ACTOR PistolMag4 : BasePistolMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("PistolMagPickup",4),"PickupSuccess")
- Fail
- }
- }
- ACTOR PistolMag5 : BasePistolMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("PistolMagPickup",5),"PickupSuccess")
- Fail
- }
- }
- ACTOR PistolMag6 : BasePistolMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("PistolMagPickup",6),"PickupSuccess")
- Fail
- }
- }
- ACTOR PistolMag7 : BasePistolMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("PistolMagPickup",7),"PickupSuccess")
- Fail
- }
- }
- ACTOR PistolMag8 : BasePistolMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("PistolMagPickup",8),"PickupSuccess")
- Fail
- }
- }
- ACTOR PistolMag9 : BasePistolMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("PistolMagPickup",9),"PickupSuccess")
- Fail
- }
- }
- ACTOR PistolMag10 : BasePistolMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("PistolMagPickup",10),"PickupSuccess")
- Fail
- }
- }
- ACTOR PistolMag11 : BasePistolMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("PistolMagPickup",11),"PickupSuccess")
- Fail
- }
- }
- ACTOR PistolMag12 : BasePistolMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("PistolMagPickup",12),"PickupSuccess")
- Fail
- }
- }
- ACTOR PistolMag13 : BasePistolMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("PistolMagPickup",13),"PickupSuccess")
- Fail
- }
- }
- ACTOR PistolMag14 : BasePistolMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("PistolMagPickup",14),"PickupSuccess")
- Fail
- }
- }
- ACTOR PistolMag15 : BasePistolMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("PistolMagPickup",15),"PickupSuccess")
- Fail
- }
- }
- Actor BaseThrowPMag : CustomInventory
- {
- +INVENTORY.AUTOACTIVATE
- Inventory.Amount 1
- Inventory.MaxAmount 1
- States
- {
- Pickup:
- TNT1 A 0 A_FireCustomMissile("SpentClip1",3,0,-4,-12)
- Stop
- }
- }
- Actor ThrowPMag1 : BaseThrowPMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_FireCustomMissile("PistolMag1",3,0,-4,-12)
- Stop
- }
- }
- Actor ThrowPMag2 : BaseThrowPMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_FireCustomMissile("PistolMag2",3,0,-4,-12)
- Stop
- }
- }
- Actor ThrowPMag3 : BaseThrowPMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_FireCustomMissile("PistolMag3",3,0,-4,-12)
- Stop
- }
- }
- Actor ThrowPMag4 : BaseThrowPMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_FireCustomMissile("PistolMag4",3,0,-4,-12)
- Stop
- }
- }
- Actor ThrowPMag5 : BaseThrowPMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_FireCustomMissile("PistolMag5",3,0,-4,-12)
- Stop
- }
- }
- Actor ThrowPMag6 : BaseThrowPMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_FireCustomMissile("PistolMag6",3,0,-4,-12)
- Stop
- }
- }
- Actor ThrowPMag7 : BaseThrowPMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_FireCustomMissile("PistolMag7",3,0,-4,-12)
- Stop
- }
- }
- Actor ThrowPMag8 : BaseThrowPMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_FireCustomMissile("PistolMag8",3,0,-4,-12)
- Stop
- }
- }
- Actor ThrowPMag9 : BaseThrowPMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_FireCustomMissile("PistolMag9",3,0,-4,-12)
- Stop
- }
- }
- Actor ThrowPMag10 : BaseThrowPMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_FireCustomMissile("PistolMag10",3,0,-4,-12)
- Stop
- }
- }
- Actor ThrowPMag11 : BaseThrowPMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_FireCustomMissile("PistolMag11",3,0,-4,-12)
- Stop
- }
- }
- Actor ThrowPMag12 : BaseThrowPMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_FireCustomMissile("PistolMag12",3,0,-4,-12)
- Stop
- }
- }
- Actor ThrowPMag13 : BaseThrowPMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_FireCustomMissile("PistolMag13",3,0,-4,-12)
- Stop
- }
- }
- Actor ThrowPMag14 : BaseThrowPMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_FireCustomMissile("PistolMag14",3,0,-4,-12)
- Stop
- }
- }
- Actor ThrowPMag15 : BaseThrowPMag
- {
- States
- {
- Pickup:
- TNT1 A 0 A_FireCustomMissile("PistolMag15",3,0,-4,-12)
- Stop
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement