Give cheat small fix.
This commit is contained in:
parent
44f36f8961
commit
655e8748d7
2 changed files with 6 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r550 \cu(Sat 8 Oct 02:05:20 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r550 \cu(2022-10-08 02:05:20)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r551 \cu(Sat 8 Oct 02:07:53 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r551 \cu(2022-10-08 02:07:53)\c-";
|
||||
|
|
|
|||
|
|
@ -353,8 +353,11 @@ Class Demolitionist : PlayerPawn
|
|||
{
|
||||
// Add it first if not found
|
||||
ammoitem = Ammo(Spawn(type));
|
||||
ammoitem.Amount = 0;
|
||||
ammoitem.AttachToOwner(self);
|
||||
}
|
||||
// Don't give spares unless we own a Candy Gun, for consistency
|
||||
if ( (type is 'CandyGunSpares') && !FindInventory('CandyGun') ) continue;
|
||||
// Top up
|
||||
ammoitem.Amount = ammoitem.MaxAmount;
|
||||
// Does it have mag ammo?
|
||||
|
|
@ -493,10 +496,10 @@ Class Demolitionist : PlayerPawn
|
|||
{
|
||||
CheatGive_Health();
|
||||
CheatGive_Backpack();
|
||||
CheatGive_Ammo();
|
||||
CheatGive_Armor();
|
||||
CheatGive_Keys();
|
||||
CheatGive_Weapons();
|
||||
CheatGive_Ammo();
|
||||
CheatGive_Artifacts();
|
||||
CheatGive_PuzzlePieces();
|
||||
if ( giveall == ALL_YESYES )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue