Page 1 of 1

[BUG] Give all cheat

Posted: Sat Nov 05, 2005 5:43
by nwbeeman
In the older gzdoom, typing give all would give the max number of items for the player (wings of wrath) 25, but now it only gives one of each

Posted: Sat Nov 05, 2005 9:48
by Graf Zahl
The code is the same as in v0.9.1 so I doubt it ever worked differently. AFAIK ZDoom has been suffering from this problem for some time now. But since this is a cheat and worse, in code that is easily overlooked I'll leave it as it is because I'll overwrite it with the next ZDoom update anyway.

Posted: Sat Nov 05, 2005 12:28
by nwbeeman
cool, i just thought it worked diffrently before. Guess not

Posted: Sat Nov 05, 2005 12:55
by Enjay
nwbeeman wrote:cool, i just thought it worked diffrently before. Guess not
It did. If you go back to 2.0.63a and type "give all" you'll get 25 of each inventory item. I'm not especially bothered by the change, I'm just saying.

Posted: Sat Nov 05, 2005 15:28
by Cutmanmike
On a minor note, new inventory items aren't being given in give all. Is this normal?

Posted: Sat Nov 05, 2005 16:06
by Enjay
Cutmanmike wrote:Is this normal?
Well, it's not normal for me. I'm getting my custom inventory items with give all.

Posted: Mon Nov 07, 2005 23:20
by TheDarkArchon
Doesn't work with my Chi Gem which inherits from "Inventory". The other two items, the stimpack (Inherits from "HealthPickup") and weapons chip (ArtiTomeOfPower), work fine.

The code for the Chi Gem:

Code: Select all

ACTOR ChiGem : Inventory
{
   Scale 0.6
   Inventory.Amount 1
   Inventory.MaxAmount 1
   Inventory.Icon ARTIGEM
   Inventory.PickupSound "misc/p_pkup"
   Inventory.PickupMessage "Chi Gem"
   +INVBAR
   States
   {
   Spawn:
      CHIG AB 8
      loop
   Use:
	TNT1 A 0 A_Print("Equip the Unmaker to use this item")
      TNT1 A 0 A_PlayWeaponSound("chigem/use")
	Fail	
   }
}