[Heretic] Bag of Holding shouldn't give mace ammo

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [Heretic] Bag of Holding shouldn't give mace ammo

[Heretic] Bag of Holding shouldn't give mace ammo

by StroggVorbis » Wed Apr 24, 2019 6:48 am

The https://doomwiki.org/wiki/Bag_of_Holding article states that said item gives a small amount of every ammo except mace spheres.

Browsing https://github.com/OpenSourcedGames/Her ... /P_INTER.C, I found this:

Code: Select all

if(!player->backpack)
			{
				for(i = 0; i < NUMAMMO; i++)
				{
					player->maxammo[i] *= 2;
				}
				player->backpack = true;
			}
			P_GiveAmmo(player, am_goldwand, AMMO_GWND_WIMPY);
			P_GiveAmmo(player, am_blaster, AMMO_BLSR_WIMPY);
			P_GiveAmmo(player, am_crossbow, AMMO_CBOW_WIMPY);
			P_GiveAmmo(player, am_skullrod, AMMO_SKRD_WIMPY);
			P_GiveAmmo(player, am_phoenixrod, AMMO_PHRD_WIMPY);
			P_SetMessage(player, TXT_ITEMBAGOFHOLDING, false);
			break;
The firemace really is a weird one. It isn't mentioned in the manual, it has only a 75% chance of appearing in singleplayer in one of multiple SpecialSpots and a bag of holding doesn't contain any ammo for it.

Top