[r3334] multiple Custominventory bug
Posted: Tue Feb 21, 2012 0:01
For some reason, when the player receives more than 1 of a custom inventory, only one of them has any effect. Here is a simple example:
[spoiler][/spoiler]
this bug happens in r3334, and I am really hoping for a fix. Also, i tested whether increasing maxAmount had any effect, it didn't and this bug also happens with the console's give command.Ideas?
[spoiler]
Code: Select all
Actor superFlask : CustomInventory
{ +INVENTORY.ALWAYSPICKUP
states { Spawn:
PTN2 ABC 4
loop
Pickup:
TNT1 A 0 A_GiveInventory ("doubleFlask", 2) //should give a total of 4 items
stop }}
Actor doubleFlask : CustomInventory
{ +INVENTORY.ALWAYSPICKUP
states { Spawn:
PTN2 ABC 4
loop
Pickup:
TNT1 A 0 A_GiveInventory ("ArtiHealth", 2)
stop }}
this bug happens in r3334, and I am really hoping for a fix. Also, i tested whether increasing maxAmount had any effect, it didn't and this bug also happens with the console's give command.Ideas?