// ZDoomRL - Gameplay Modifications for DoomRL Arsenal
// Author: Simon Volpert <simon@simonvolpert.com>
// Project page: https://simonvolpert.com/zdoomrl/
// This program is free software, released under the MIT license. See the LICENSE file for more information
// Shop token and timer
ACTOR PowerZSPocketShopTimeout : Powerup {
Powerup.Duration -1
}
ACTOR ZSPocketShopToken : CustomInventory {
+Inventory.UnDroppable
+Inventory.UnTossable
+Inventory.IgnoreSkill
Inventory.MaxAmount 1
States {
Spawn:
TNT1 A 1
Stop
Use:
TNT1 A 0 A_JumpIfInventory("PowerZSPocketShopTimeout", 1, "OpenShop")
TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("SellItem") == FALSE, "SetTimer")
Fail
SetTimer:
TNT1 A 0 A_GiveInventory("PowerZSPocketShopTimeout", 1)
Fail
OpenShop:
TNT1 A 0 A_TakeInventory("RLWeaponDrop", 1)
TNT1 A 0 A_TakeInventory("RLScavengerDrop", 1)
TNT1 A 0 A_GiveInventory("RLDeselectionFunction", 1)
TNT1 A 0 A_TakeInventory("ZSSpecialBackpackUse", 1)
TNT1 A 0 ACS_NamedExecuteAlways("OpenShop")
Fail
}
}
// Arbitrarily high-capacity meta-token
ACTOR ZSCounter : RLPermanentInventory {
Inventory.MaxAmount 1000000000
}
// Life insurance
ACTOR ZSLifeInsuranceToken : RLPermanentInventory {}
ACTOR ZSLifeInsurancePremium : ZSCounter {}
// Cash
ACTOR ZSCreditChip : ZSCounter {}
// Bounties
ACTOR ZSKillBountyToken : ZSCounter {}
ACTOR ZSItemBountyToken : ZSCounter {}
ACTOR ZSSecretBountyToken : ZSCounter {}
ACTOR ZSSuckToken : RLPermanentInventory {}
// Special backpack manipulation token
ACTOR ZSSpecialBackpackUse : RLPermanentInventory {}
// Nuclear Barrel Early Warning System notification delay
ACTOR ZSNukeWarningDelay : RLPermanentInventory {}
// Shop inventory
// Consumables
ACTOR ZSExperimentalPhaseDeviceKnownToken : RLPermanentInventory {}
ACTOR ZSRandomSkullSpawnerKnownToken : RLPermanentInventory {}
// Modpacks
ACTOR ZSBulkModKnownToken : RLPermanentInventory {}
ACTOR ZSTechnicalModKnownToken : RLPermanentInventory {}
ACTOR ZSAgilityModKnownToken : RLPermanentInventory {}
ACTOR ZSPowerModKnownToken : RLPermanentInventory {}
ACTOR ZSSniperModKnownToken : RLPermanentInventory {}
ACTOR ZSFirestormModKnownToken : RLPermanentInventory {}
ACTOR ZSNanoModKnownToken : RLPermanentInventory {}
ACTOR ZSOnyxModKnownToken : RLPermanentInventory {}
ACTOR ZSArmorModKnownToken : RLPermanentInventory {}
ACTOR ZSArtiModKnownToken : RLPermanentInventory {}
ACTOR ZSDemonArtifactKnownToken : RLPermanentInventory {}
// Basic weapons
ACTOR ZSBFG9000KnownToken : RLPermanentInventory {}
// Basic armors
ACTOR ZSGreenArmorKnownToken : RLPermanentInventory {}
ACTOR ZSOModGreenArmorKnownToken : RLPermanentInventory {}
ACTOR ZSBlueArmorKnownToken : RLPermanentInventory {}
ACTOR ZSOModBlueArmorKnownToken : RLPermanentInventory {}
ACTOR ZSRedArmorKnownToken : RLPermanentInventory {}
ACTOR ZSOModRedArmorKnownToken : RLPermanentInventory {}
// Assembled basic armors
ACTOR ZSNanofiberGreenArmorKnownToken : RLPermanentInventory {}
ACTOR ZSNanofiberBlueArmorKnownToken : RLPermanentInventory {}
ACTOR ZSNanofiberRedArmorKnownToken : RLPermanentInventory {}
ACTOR ZSBallisticGreenArmorKnownToken : RLPermanentInventory {}
ACTOR ZSBallisticBlueArmorKnownToken : RLPermanentInventory {}
ACTOR ZSBallisticRedArmorKnownToken : RLPermanentInventory {}
ACTOR ZSFireproofGreenArmorKnownToken : RLPermanentInventory {}
ACTOR ZSFireproofBlueArmorKnownToken : RLPermanentInventory {}
ACTOR ZSFireproofRedArmorKnownToken : RLPermanentInventory {}
ACTOR ZSNanofiberSkinGreenArmorKnownToken : RLPermanentInventory {}
ACTOR ZSNanofiberSkinBlueArmorKnownToken : RLPermanentInventory {}
ACTOR ZSNanofiberSkinRedArmorKnownToken : RLPermanentInventory {}
ACTOR ZSAblativeGreenArmorKnownToken : RLPermanentInventory {}
ACTOR ZSAblativeBlueArmorKnownToken : RLPermanentInventory {}
ACTOR ZSAblativeRedArmorKnownToken : RLPermanentInventory {}
ACTOR ZSPowerGreenArmorKnownToken : RLPermanentInventory {}
ACTOR ZSPowerBlueArmorKnownToken : RLPermanentInventory {}
ACTOR ZSPowerRedArmorKnownToken : RLPermanentInventory {}
ACTOR ZSCybernanoGreenArmorKnownToken : RLPermanentInventory {}
ACTOR ZSCybernanoBlueArmorKnownToken : RLPermanentInventory {}
ACTOR ZSCybernanoRedArmorKnownToken : RLPermanentInventory {}
// Basic boots
ACTOR ZSSteelBootsKnownToken : RLPermanentInventory {}
ACTOR ZSProtectiveBootsKnownToken : RLPermanentInventory {}
ACTOR ZSPlasteelBootsKnownToken : RLPermanentInventory {}
// Assembled basic boots
ACTOR ZSEnviromentalSteelBootsKnownToken : RLPermanentInventory {}
ACTOR ZSEnviromentalProtectiveBootsKnownToken : RLPermanentInventory {}
ACTOR ZSEnviromentalPlasteelBootsKnownToken : RLPermanentInventory {}
ACTOR ZSFireproofSteelBootsKnownToken : RLPermanentInventory {}
ACTOR ZSFireproofProtectiveBootsKnownToken : RLPermanentInventory {}
ACTOR ZSFireproofPlasteelBootsKnownToken : RLPermanentInventory {}
ACTOR ZSGrapplingSteelBootsKnownToken : RLPermanentInventory {}
ACTOR ZSGrapplingProtectiveBootsKnownToken : RLPermanentInventory {}
ACTOR ZSGrapplingPlasteelBootsKnownToken : RLPermanentInventory {}
ACTOR ZSAntigravSteelBootsKnownToken : RLPermanentInventory {}
ACTOR ZSAntigravProtectiveBootsKnownToken : RLPermanentInventory {}
ACTOR ZSAntigravPlasteelBootsKnownToken : RLPermanentInventory {}
// Armor and boot assemblies
ACTOR ZSCerberusArmorKnownToken : RLPermanentInventory {}
ACTOR ZSCerberusBootsKnownToken : RLPermanentInventory {}
ACTOR ZSTacticalArmorKnownToken : RLPermanentInventory {}
ACTOR ZSTacticalBootsKnownToken : RLPermanentInventory {}
ACTOR ZSFireShieldArmorKnownToken : RLPermanentInventory {}
ACTOR ZSTowerShieldArmorKnownToken : RLPermanentInventory {}
// Basic weapon assemblies
ACTOR ZSSilencedPistolKnownToken : RLPermanentInventory {}
ACTOR ZSStealthRifleKnownToken : RLPermanentInventory {}
ACTOR ZSShredderPistolKnownToken : RLPermanentInventory {}
ACTOR ZSShredderShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSSpeedloaderPistolKnownToken : RLPermanentInventory {}
ACTOR ZSElephantGunKnownToken : RLPermanentInventory {}
ACTOR ZSGatlingGunKnownToken : RLPermanentInventory {}
ACTOR ZSMicroLauncherKnownToken : RLPermanentInventory {}
ACTOR ZSTacticalShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSFlamethrowerKnownToken : RLPermanentInventory {}
ACTOR ZSSniperRifleKnownToken : RLPermanentInventory {}
ACTOR ZSShrapnelCannonKnownToken : RLPermanentInventory {}
ACTOR ZSNuclearPlasmaRevolverKnownToken : RLPermanentInventory {}
ACTOR ZSHeavyShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSHeavyCombatShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSHeavyDoubleShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSHeavySuperShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSHeavyAssaultShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSHeavyPlasmaShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSHeavyHuntingShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSPiercingChainsawKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerPistolKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerChaingunKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerBattleRifleKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerPlasmaRifleKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerBFG9000KnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerBlasterKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerCombatPistolKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerMarksmanPistolKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerHandCannonKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerTristarBlasterKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerMinigunKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerLaserRifleKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerNuclearPlasmaPistolKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerNuclearPlasmaRifleKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerNuclearBFG9000KnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerUziKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerMarksmanRifleKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerVanguardRifleKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerHuntingRevolverKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerThompsonKnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerPP7KnownToken : RLPermanentInventory {}
ACTOR ZSHighPowerRCP90KnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaticShrapnelShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaticShrapnelCombatShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaticShrapnelDoubleShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaticShrapnelSuperShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaticShrapnelAssaultShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaticShrapnelPlasmaShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaticShrapnelHuntingShotgunKnownToken : RLPermanentInventory {}
// Exotic armors and boots
ACTOR ZSBulletProofVestArmorKnownToken : RLPermanentInventory {}
ACTOR ZSOModBulletProofVestArmorKnownToken : RLPermanentInventory {}
ACTOR ZSBallisticVestArmorKnownToken : RLPermanentInventory {}
ACTOR ZSOModBallisticVestArmorKnownToken : RLPermanentInventory {}
ACTOR ZSDuelistArmorKnownToken : RLPermanentInventory {}
ACTOR ZSOModDuelistArmorKnownToken : RLPermanentInventory {}
ACTOR ZSCyberwarriorArmorKnownToken : RLPermanentInventory {}
ACTOR ZSOModCyberwarriorArmorKnownToken : RLPermanentInventory {}
ACTOR ZSEnergyShieldedVestArmorKnownToken : RLPermanentInventory {}
ACTOR ZSOModEnergyShieldedVestArmorKnownToken : RLPermanentInventory {}
ACTOR ZSRepulsionWaveSuitArmorKnownToken : RLPermanentInventory {}
ACTOR ZSOModRepulsionWaveSuitArmorKnownToken : RLPermanentInventory {}
ACTOR ZSMedicalArmorKnownToken : RLPermanentInventory {}
ACTOR ZSOModMedicalArmorKnownToken : RLPermanentInventory {}
ACTOR ZSSurvivalMediArmorKnownToken : RLPermanentInventory {}
ACTOR ZSOModSurvivalMediArmorKnownToken : RLPermanentInventory {}
ACTOR ZSOnyxArmorKnownToken : RLPermanentInventory {}
ACTOR ZSOverchargeSystemArmorKnownToken : RLPermanentInventory {}
ACTOR ZSBallisticShieldArmorKnownToken : RLPermanentInventory {}
ACTOR ZSEnergyShieldArmorKnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaShieldArmorKnownToken : RLPermanentInventory {}
ACTOR ZSAcidProofBootsKnownToken : RLPermanentInventory {}
ACTOR ZSShockwaveBootsKnownToken : RLPermanentInventory {}
ACTOR ZSGothicArmorKnownToken : RLPermanentInventory {}
ACTOR ZSGothicBootsKnownToken : RLPermanentInventory {}
ACTOR ZSOModGothicArmorKnownToken : RLPermanentInventory {}
ACTOR ZSPhaseshiftArmorKnownToken : RLPermanentInventory {}
ACTOR ZSPhaseshiftBootsKnownToken : RLPermanentInventory {}
ACTOR ZSOModPhaseshiftArmorKnownToken : RLPermanentInventory {}
// Advanced weapon assemblies
ACTOR ZSDoubleChainsawKnownToken : RLPermanentInventory {}
ACTOR ZSTacticalRocketLauncherKnownToken : RLPermanentInventory {}
ACTOR ZSStormPistolKnownToken : RLPermanentInventory {}
ACTOR ZSStormCombatPistolKnownToken : RLPermanentInventory {}
ACTOR ZSStormMarksmanPistolKnownToken : RLPermanentInventory {}
ACTOR ZSStormHandCannonKnownToken : RLPermanentInventory {}
ACTOR ZSStormUziKnownToken : RLPermanentInventory {}
ACTOR ZSStormBlasterKnownToken : RLPermanentInventory {}
ACTOR ZSStormNuclearPlasmaPistolKnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaPistolKnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaCombatPistolKnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaMarksmanPistolKnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaHandCannonKnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaUziKnownToken : RLPermanentInventory {}
ACTOR ZSOverchargedBlasterKnownToken : RLPermanentInventory {}
ACTOR ZSSuperchargedNuclearPlasmaPistolKnownToken : RLPermanentInventory {}
ACTOR ZSVBFG9000KnownToken : RLPermanentInventory {}
ACTOR ZSNuclearVBFG9000KnownToken : RLPermanentInventory {}
ACTOR ZSFocusedDoubleShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSHyperBlasterKnownToken : RLPermanentInventory {}
ACTOR ZSBulletstormChaingunKnownToken : RLPermanentInventory {}
ACTOR ZSBulletstormRifleKnownToken : RLPermanentInventory {}
ACTOR ZSAutoshotgunKnownToken : RLPermanentInventory {}
ACTOR ZSAutoDoubleShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSMiniMissilePistolKnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaRifleMkIIKnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaShotgunMkIIKnownToken : RLPermanentInventory {}
ACTOR ZSNuclearPlasmaRifleMkIIKnownToken : RLPermanentInventory {}
ACTOR ZSNuclearPlasmaShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSLaserShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSGrenadeLauncherKnownToken : RLPermanentInventory {}
ACTOR ZSAssaultRifleChaingunKnownToken : RLPermanentInventory {}
ACTOR ZSAssaultRifleBattleRifleKnownToken : RLPermanentInventory {}
ACTOR ZSAssaultRiflePlasmaRifleKnownToken : RLPermanentInventory {}
ACTOR ZSAssaultRifleMinigunKnownToken : RLPermanentInventory {}
ACTOR ZSAssaultRifleLaserRifleKnownToken : RLPermanentInventory {}
ACTOR ZSAssaultRifleNuclearPlasmaRifleKnownToken : RLPermanentInventory {}
ACTOR ZSAssaultRifleUziKnownToken : RLPermanentInventory {}
ACTOR ZSBurstCannonChaingunKnownToken : RLPermanentInventory {}
ACTOR ZSBurstCannonBattleRifleKnownToken : RLPermanentInventory {}
ACTOR ZSBurstCannonPlasmaRifleKnownToken : RLPermanentInventory {}
ACTOR ZSBurstCannonMinigunKnownToken : RLPermanentInventory {}
ACTOR ZSBurstCannonLaserRifleKnownToken : RLPermanentInventory {}
ACTOR ZSBurstCannonNuclearPlasmaRifleKnownToken : RLPermanentInventory {}
ACTOR ZSBurstCannonUziKnownToken : RLPermanentInventory {}
ACTOR ZSNanoShrapnelShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSNanoShrapnelCombatShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSNanoShrapnelDoubleShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSNanoShrapnelSuperShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSNanoShrapnelAssaultShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSNanoShrapnelPlasmaShotgunKnownToken : RLPermanentInventory {}
// Master weapon assemblies
ACTOR ZSRipperKnownToken : RLPermanentInventory {}
ACTOR ZSBiggestFuckingGunKnownToken : RLPermanentInventory {}
ACTOR ZSNuclearBiggestFuckingGunKnownToken : RLPermanentInventory {}
ACTOR ZSMotherInLawKnownToken : RLPermanentInventory {}
ACTOR ZSAutocannonKnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaRefractorKnownToken : RLPermanentInventory {}
ACTOR ZSClusterBombLauncherKnownToken : RLPermanentInventory {}
ACTOR ZSMegatonShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSConquerorShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSVoltgunKnownToken : RLPermanentInventory {}
ACTOR ZSSuperMachinegunKnownToken : RLPermanentInventory {}
ACTOR ZSGaussRifleKnownToken : RLPermanentInventory {}
ACTOR ZSAntiMaterielRifleKnownToken : RLPermanentInventory {}
ACTOR ZSZeusCannonKnownToken : RLPermanentInventory {}
ACTOR ZSEnergysawKnownToken : RLPermanentInventory {}
ACTOR ZSInfusionLauncherKnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaCannonKnownToken : RLPermanentInventory {}
ACTOR ZSHeavyPulseBlasterKnownToken : RLPermanentInventory {}
ACTOR ZSLaserMinigunKnownToken : RLPermanentInventory {}
ACTOR ZSLaserPulseLauncherKnownToken : RLPermanentInventory {}
ACTOR ZSIncinerationDeviceLauncherKnownToken : RLPermanentInventory {}
ACTOR ZSNanoManufactureAmmoPistolKnownToken : RLPermanentInventory {}
ACTOR ZSNanoManufactureAmmoChaingunKnownToken : RLPermanentInventory {}
ACTOR ZSNanomanufactureAmmoBattleRifleKnownToken : RLPermanentInventory {}
ACTOR ZSNanoManufactureAmmoRocketLauncherKnownToken : RLPermanentInventory {}
ACTOR ZSNanoManufactureAmmoPlasmaRifleKnownToken : RLPermanentInventory {}
ACTOR ZSNanoManufactureAmmoBlasterKnownToken : RLPermanentInventory {}
ACTOR ZSNanoManufactureAmmoCombatPistolKnownToken : RLPermanentInventory {}
ACTOR ZSNanomanufactureAmmoMarksmanPistolKnownToken : RLPermanentInventory {}
ACTOR ZSNanoManufactureAmmoHandCannonKnownToken : RLPermanentInventory {}
ACTOR ZSNanoManufactureAmmoTristarBlasterKnownToken : RLPermanentInventory {}
ACTOR ZSNanoManufactureAmmoMinigunKnownToken : RLPermanentInventory {}
ACTOR ZSNanoManufactureAmmoMissileLauncherKnownToken : RLPermanentInventory {}
ACTOR ZSNanoManufactureAmmoNapalmLauncherKnownToken : RLPermanentInventory {}
ACTOR ZSNanoManufactureAmmoLaserRifleKnownToken : RLPermanentInventory {}
ACTOR ZSNanoManufactureAmmoUziKnownToken : RLPermanentInventory {}
ACTOR ZSDemolitionAmmoPistolKnownToken : RLPermanentInventory {}
ACTOR ZSDemolitionAmmoChaingunKnownToken : RLPermanentInventory {}
ACTOR ZSDemolitionAmmoBattleRifleKnownToken : RLPermanentInventory {}
ACTOR ZSDemolitionAmmoCombatPistolKnownToken : RLPermanentInventory {}
ACTOR ZSDemolitionAmmoMarksmanPistolKnownToken : RLPermanentInventory {}
ACTOR ZSDemolitionAmmoHandCannonKnownToken : RLPermanentInventory {}
ACTOR ZSDemolitionAmmoMinigunKnownToken : RLPermanentInventory {}
ACTOR ZSDemolitionAmmoUziKnownToken : RLPermanentInventory {}
// Exotic weapons
ACTOR ZSBlasterKnownToken : RLPermanentInventory {}
ACTOR ZSCombatPistolKnownToken : RLPermanentInventory {}
ACTOR ZSMarksmanPistolKnownToken : RLPermanentInventory {}
ACTOR ZSHandCannonKnownToken : RLPermanentInventory {}
ACTOR ZSSuperShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSAssaultShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSTristarBlasterKnownToken : RLPermanentInventory {}
ACTOR ZSMinigunKnownToken : RLPermanentInventory {}
ACTOR ZSMissileLauncherKnownToken : RLPermanentInventory {}
ACTOR ZSNapalmLauncherKnownToken : RLPermanentInventory {}
ACTOR ZSLaserRifleKnownToken : RLPermanentInventory {}
ACTOR ZSNuclearPlasmaPistolKnownToken : RLPermanentInventory {}
ACTOR ZSNuclearPlasmaRifleKnownToken : RLPermanentInventory {}
ACTOR ZSNuclearBFG9000KnownToken : RLPermanentInventory {}
ACTOR ZSCombatTranslocatorKnownToken : RLPermanentInventory {}
ACTOR ZSUziKnownToken : RLPermanentInventory {}
// Superior weapons
ACTOR ZSMarksmanRifleKnownToken : RLPermanentInventory {}
ACTOR ZSVanguardRifleKnownToken : RLPermanentInventory {}
ACTOR ZSHuntingRevolverKnownToken : RLPermanentInventory {}
ACTOR ZSThompsonKnownToken : RLPermanentInventory {}
ACTOR ZSPP7KnownToken : RLPermanentInventory {}
ACTOR ZSHuntingShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSRCP90KnownToken : RLPermanentInventory {}
// Unique weapons
ACTOR ZSJackhammerKnownToken : RLPermanentInventory {}
ACTOR ZSRailgunKnownToken : RLPermanentInventory {}
ACTOR ZSMysteriousMagnumKnownToken : RLPermanentInventory {}
ACTOR ZSBFG10KKnownToken : RLPermanentInventory {}
ACTOR ZSUnknownHeraldKnownToken : RLPermanentInventory {}
ACTOR ZSFragShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSQuadShotgunKnownToken : RLPermanentInventory {}
ACTOR ZSLightweaverKnownToken : RLPermanentInventory {}
ACTOR ZSTrigunKnownToken : RLPermanentInventory {}
ACTOR ZSGrammatonClericBerettaKnownToken : RLPermanentInventory {}
ACTOR ZSAntiFreakJackalKnownToken : RLPermanentInventory {}
ACTOR ZSHellsingARMSCasullKnownToken : RLPermanentInventory {}
ACTOR ZSTantrumCannonKnownToken : RLPermanentInventory {}
ACTOR ZSRevenantsLauncherKnownToken : RLPermanentInventory {}
ACTOR ZSNullPointerKnownToken : RLPermanentInventory {}
ACTOR ZSParticleBeamCannonKnownToken : RLPermanentInventory {}
ACTOR ZSPlasmaRedirectionCannonKnownToken : RLPermanentInventory {}
ACTOR ZSSteelBeastKnownToken : RLPermanentInventory {}
ACTOR ZSSussGunKnownToken : RLPermanentInventory {}
ACTOR ZSMIRVLauncherKnownToken : RLPermanentInventory {}
ACTOR ZSMarathonAssaultRifleKnownToken : RLPermanentInventory {}
ACTOR ZSMarathonShotgunsKnownToken : RLPermanentInventory {}
ACTOR ZSWidowmakerSMGKnownToken : RLPermanentInventory {}
ACTOR ZSChameleonRifleKnownToken : RLPermanentInventory {}
ACTOR ZSNanomachicArmamentGeneratorKnownToken : RLPermanentInventory {}
ACTOR ZSNuclearOnslaughtKnownToken : RLPermanentInventory {}
ACTOR ZSTriadCannonKnownToken : RLPermanentInventory {}
ACTOR ZSLuciferCannonKnownToken : RLPermanentInventory {}
ACTOR ZSDirectHitKnownToken : RLPermanentInventory {}
// Superior armors
ACTOR ZSNuclearArmorKnownToken : RLPermanentInventory {}
ACTOR ZSRechargeableEnergyShieldArmorKnownToken : RLPermanentInventory {}
// Unique armors and boots
ACTOR ZSBerserkerArmorKnownToken : RLPermanentInventory {}
ACTOR ZSBerserkPowersuitArmorKnownToken : RLPermanentInventory {}
ACTOR ZSBlazingPhoenixDeviceSuitArmorKnownToken : RLPermanentInventory {}
ACTOR ZSCyberneticArmorKnownToken : RLPermanentInventory {}
ACTOR ZSEnergyDischargeHarnessArmorKnownToken : RLPermanentInventory {}
ACTOR ZSJetpackArmorKnownToken : RLPermanentInventory {}
ACTOR ZSKateMatterstormHarnessArmorKnownToken : RLPermanentInventory {}
ACTOR ZSKyleTeslaboltArmorKnownToken : RLPermanentInventory {}
ACTOR ZSMedicalPowerArmorKnownToken : RLPermanentInventory {}
ACTOR ZSNanoAblativeArmorKnownToken : RLPermanentInventory {}
ACTOR ZSNecroArmorKnownToken : RLPermanentInventory {}
ACTOR ZSPrototypeAssaultShieldArmorKnownToken : RLPermanentInventory {}
ACTOR ZSRyanCordellPsychicAmplifierSuitArmorKnownToken : RLPermanentInventory {}
ACTOR ZSShieldedArmorKnownToken : RLPermanentInventory {}
ACTOR ZSTerminusEst13BattlesuitArmorKnownToken : RLPermanentInventory {}
ACTOR ZSWildWeaselPeacekeeperArmorKnownToken : RLPermanentInventory {}
ACTOR ZSXaserPowerArmorKnownToken : RLPermanentInventory {}
ACTOR ZSZeroDiamondAssaultForceArmorKnownToken : RLPermanentInventory {}
ACTOR ZSEnviroBootsKnownToken : RLPermanentInventory {}
ACTOR ZSLeonidasBootsKnownToken : RLPermanentInventory {}
ACTOR ZSGeosGoldenGauntletArmorKnownToken : RLPermanentInventory {}
// Unique armor and boot sets
ACTOR ZSFrontlineEngineerSuitArmorKnownToken : RLPermanentInventory {}
ACTOR ZSFrontlineEngineerBootsKnownToken : RLPermanentInventory {}
ACTOR ZSTacticalAssemblerSuitArmorKnownToken : RLPermanentInventory {}
ACTOR ZSTacticalAssemblerBootsKnownToken : RLPermanentInventory {}
ACTOR ZSLavaArmorKnownToken : RLPermanentInventory {}
ACTOR ZSLavaBootsKnownToken : RLPermanentInventory {}
ACTOR ZSNuclearPowerArmorKnownToken : RLPermanentInventory {}
ACTOR ZSNuclearPowerBootsKnownToken : RLPermanentInventory {}
ACTOR ZSMaleksArmorKnownToken : RLPermanentInventory {}
ACTOR ZSNyarlaptotepsBootsKnownToken : RLPermanentInventory {}
ACTOR ZSRoystensCommandArmorKnownToken : RLPermanentInventory {}
ACTOR ZSRoystensCombatBootsKnownToken : RLPermanentInventory {}
ACTOR ZSSoloOperativeSuitArmorKnownToken : RLPermanentInventory {}
ACTOR ZSSoloOperativeBootsKnownToken : RLPermanentInventory {}
ACTOR ZSTorgueBlastplateArmorKnownToken : RLPermanentInventory {}
ACTOR ZSTorgueBlastBootsKnownToken : RLPermanentInventory {}
// Demonic weapons
ACTOR ZSDeathsGazeKnownToken : RLPermanentInventory {}
ACTOR ZSHellsReignKnownToken : RLPermanentInventory {}
ACTOR ZSSoulstormRifleKnownToken : RLPermanentInventory {}
ACTOR ZSUnmakerKnownToken : RLPermanentInventory {}
// Demonic armors and boots
ACTOR ZSDemonicCarapaceArmorKnownToken : RLPermanentInventory {}
ACTOR ZSDemonicBootsKnownToken : RLPermanentInventory {}
ACTOR ZSSoulshatterArmorKnownToken : RLPermanentInventory {}
// Legendary weapons
ACTOR ZSJudgeOfTheDeadKnownToken : RLPermanentInventory {}
ACTOR ZSHurricaneCannonKnownToken : RLPermanentInventory {}
ACTOR ZSNeuralStunnerKnownToken : RLPermanentInventory {}
ACTOR ZSBaronBlasterKnownToken : RLPermanentInventory {}
ACTOR ZSRealityDistortionArrayKnownToken : RLPermanentInventory {}
ACTOR ZSBFGInfinityKnownToken : RLPermanentInventory {}
ACTOR ZSDuke2RifleKnownToken : RLPermanentInventory {}
ACTOR ZSLonghornKnownToken : RLPermanentInventory {}
//ACTOR ZSDragonslayerKnownToken : RLPermanentInventory {}
// Legendary armors and boots
ACTOR ZSAngelicArmorKnownToken : RLPermanentInventory {}
ACTOR ZSAngelicBootsKnownToken : RLPermanentInventory {}
ACTOR ZSTheBeeArmorKnownToken : RLPermanentInventory {}
ACTOR ZSReactiveShieldSystemArmorKnownToken : RLPermanentInventory {}
ACTOR ZSChronotrooperArmorKnownToken : RLPermanentInventory {}
// Special backpacks
ACTOR ZSCombatBackpackKnownToken : RLPermanentInventory {}
ACTOR ZSSpecialistBackpackKnownToken : RLPermanentInventory {}
ACTOR ZSScroungerBackpackKnownToken : RLPermanentInventory {}
ACTOR ZSDedicatedBackpackKnownToken : RLPermanentInventory {}
ACTOR ZSNuclearBackpackKnownToken : RLPermanentInventory {}
//ACTOR ZSKnownToken : RLPermanentInventory {}
// Utility: remove the nuclear set bonus when selling a weapon
// Copied from arsenal.wad wherein it appears verbatim in every nuclear weapon definition
// Yholl mush really enjoy copying and pasting things over
ACTOR ZSNuclearSetBonusRemover : CustomInventory {
-CountItem
+Inventory.AlwaysPickup
Inventory.PickupMessage ""
Inventory.PickupSound ""
States {
Spawn:
TNT1 A 1
Stop
Pickup:
TNT1 A 0 A_JumpIfInventory("RLNuclearPlasmaPistol",1,"WeaponDropConfirmContinue")
TNT1 A 0 A_JumpIfInventory("RLNuclearPlasmaRevolver",1,"WeaponDropConfirmContinue")
TNT1 A 0 A_JumpIfInventory("RLHighPowerNuclearPlasmaPistol",1,"WeaponDropConfirmContinue")
TNT1 A 0 A_JumpIfInventory("RLStormNuclearPlasmaPistol",1,"WeaponDropConfirmContinue")
TNT1 A 0 A_JumpIfInventory("RLSuperchargedNuclearPlasmaPistol",1,"WeaponDropConfirmContinue")
TNT1 A 0 A_JumpIfInventory("RLNuclearPlasmaRifle",1,"WeaponDropConfirmContinue")
TNT1 A 0 A_JumpIfInventory("RLNuclearPlasmaShotgun",1,"WeaponDropConfirmContinue")
TNT1 A 0 A_JumpIfInventory("RLNuclearPlasmaRifleMkII",1,"WeaponDropConfirmContinue")
TNT1 A 0 A_JumpIfInventory("RLAssaultRifleNuclearPlasmaRifle",1,"WeaponDropConfirmContinue")
TNT1 A 0 A_JumpIfInventory("RLBurstCannonNuclearPlasmaRifle",1,"WeaponDropConfirmContinue")
TNT1 A 0 A_JumpIfInventory("RLHighPowerNuclearPlasmaRifle",1,"WeaponDropConfirmContinue")
TNT1 A 0 A_JumpIfInventory("RLNuclearBFG9000",1,"WeaponDropConfirmContinue")
TNT1 A 0 A_JumpIfInventory("RLHighPowerNuclearBFG9000",1,"WeaponDropConfirmContinue")
TNT1 A 0 A_JumpIfInventory("RLNuclearVBFG9000",1,"WeaponDropConfirmContinue")
TNT1 A 0 A_JumpIfInventory("RLNuclearBiggestFuckingGun",1,"WeaponDropConfirmContinue")
TNT1 A 0 A_JumpIfInventory("RLNuclearOnslaught",1,"WeaponDropConfirmContinue")
TNT1 A 0 A_TakeInventory("RLNuclearWeaponSetBonusWeapon", 1)
TNT1 A 0 A_TakeInventory("RLNuclearWeaponSetBonusActive", 1)
WeaponDropConfirmContinue:
TNT1 A 0
Stop
}
}
// Utility translocator: teleports non-living objects to you
ACTOR ZSUtilityTranslocatorTargeting : RLPermanentInventory {}
ACTOR ZSUtilityTranslocator : CustomInventory {
-CountItem
+Inventory.UnDroppable
+Inventory.UnTossable
+Inventory.IgnoreSkill
+Inventory.InvBar
+Inventory.NeverRespawn
+Inventory.FancyPickupSound
Scale 0.4
Inventory.MaxAmount 1
Inventory.InterHubAmount 1
Inventory.Icon "ZSUTRL"
Tag "Utility Translocator"
Inventory.PickupSound ""
Inventory.PickupMessage ""
States {
Spawn:
ZUTR L 10 Bright
ZUTR L 10
Loop
Pickup:
TNT1 A 0 A_Print("\ccPicked up a \cdUtility Translocator\c-\n\nTarget an inanimate object to transport it to you\nConsumes phase devices to recharge", 5, "CONFONT")
TNT1 A 0 A_PlaySound("weapons/particlebeamcannonactivate", CHAN_AUTO)
Stop
Use:
TNT1 A 0 ACS_NamedExecuteAlways("ForcePull", 0)
Fail
NoPickup:
TNT1 A 0 A_JumpIfInventory("DRLA_ModsAntiLogFloodCheck", 1, "NoPickup_NoPrint")
TNT1 A 0 A_GiveInventory("DRLA_ModsAntiLogFloodCheck")
TNT1 A 0 A_Print("\cd= Utility Translocator =\c-", 2, "CONFONT")
NoPickup_NoPrint:
TNT1 A 0
Fail
}
}
ACTOR DroppedZSUtilityTranslocator : DroppedRLPhaseDevice {
States {
Spawn:
ZUTR L -1
Loop
Death:
TNT1 A 0
TNT1 A 1 A_SpawnItem("ZSUtilityTranslocator", 0, 0, 0, 0)
Stop
}
}
ACTOR ZSUtilityTranslocatorDrop : CustomInventory {
-CountItem
+Inventory.AlwaysPickup
Inventory.PickupMessage ""
Inventory.PickupSound ""
States {
Spawn:
TNT1 A 0
Stop
Pickup:
TNT1 A 0 A_TakeInventory("ZSUtilityTranslocator", 1)
TNT1 A 0 A_TakeInventory("ZSUtilityTranslocatorTargeting", 1)
TNT1 A 0 A_SpawnItemEx("DroppedZSUtilityTranslocator", 0, 0, 40, frandom(6,12), 0, 0, 0, SXF_SETMASTER)
TNT1 A 0 A_Print("Dropped the \cdUtility Translocator.")
Stop
}
}
// Sometimes spawn a Homing Phase Device instead of the regular one
ACTOR ZSRandomPhaseDeviceSpawner : RandomSpawner {
DropItem "RLPhaseDevice" 255 3
DropItem "RLHomingPhaseDevice" 255 1
}