From 23e9f1f67a07bfd7647802f93cb02ce0f3701d3c Mon Sep 17 00:00:00 2001 From: ketmar Date: Tue, 8 Aug 2023 04:58:33 +0000 Subject: [PATCH] axe can be thrown with "reload" FossilOrigin-Name: 6573a0ed026d8e2f0dd1ad488341708cd54321762f099e83ec43388e4294f38f --- decorate/Weapons/Axe.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/decorate/Weapons/Axe.txt b/decorate/Weapons/Axe.txt index 24e5343..75f9205 100644 --- a/decorate/Weapons/Axe.txt +++ b/decorate/Weapons/Axe.txt @@ -53,7 +53,7 @@ ACTOR Axe : Weapon replaces Chainsaw { TNT1 A 0 A_TakeInventory("QuickKickDisabled") ReadyLoop: - TNT1 A 1 A_WeaponReady + TNT1 A 1 A_WeaponReady(WRF_ALLOWRELOAD) Wait Fire: @@ -101,7 +101,7 @@ ACTOR Axe : Weapon replaces Chainsaw { AXEF D 1 AXEF E 1 TNT1 A 0 A_SetPitch(0.6+pitch) - TNT1 A 8 A_WeaponReady + TNT1 A 8 A_WeaponReady(WRF_ALLOWRELOAD) TNT1 A 1 A_TakeInventory("AxeSwinging", 2) //TNT1 A 1 A_Refire Goto Ready @@ -146,7 +146,7 @@ ACTOR Axe : Weapon replaces Chainsaw { AXEF J 1 A_AlertMonsters(640) AXEF K 1 TNT1 A 0 A_SetPitch(0.4+pitch) - TNT1 A 8 A_WeaponReady + TNT1 A 8 A_WeaponReady(WRF_ALLOWRELOAD) TNT1 A 1 A_TakeInventory("AxeSwinging", 2) //TNT1 A 1 A_Refire Goto Ready @@ -191,7 +191,7 @@ ACTOR Axe : Weapon replaces Chainsaw { AXEF D 1 AXEF E 1 TNT1 A 0 A_SetPitch(0.6+pitch) - TNT1 A 8 A_WeaponReady + TNT1 A 8 A_WeaponReady(WRF_ALLOWRELOAD) TNT1 A 1 A_TakeInventory("AxeSwinging", 2) //TNT1 A 1 A_Refire Goto Ready @@ -202,6 +202,8 @@ ACTOR Axe : Weapon replaces Chainsaw { AltFire: TNT1 A 0 A_JumpIf(!GetCVarB('k8ZanMod_ThrowAxe'), "Fire") + // "reload" will unconditionally throw an axe + Reload: TNT1 A 0 A_Jump(200, "AltRage") AltFireNoRage: TNT1 A 0 A_TakeInventory("HoldingAxe", 1) -- 2.11.4.GIT