Hellno
Member
Ok, so the problem seems to only occur when I find an item the same combat that I use another (e.g. I throw a rock and find a skull, mafia still thinks I have the rock). This the beginning of a new game where it only happens in those situations, but I noticed the pattern in multiple battles before this (my printouts are calls to available_amount($item[rock]) and available_amount($item[crumbling skull]).
Code:
{40} The Ice Caves
Encounter: yeti
Round 0: Hellno wins initiative!
Round 1: Hellno casts THROW BOMB!
Round 2: yeti takes 50 damage.
Round 2: Hellno wins the fight!
After Battle: You gain 15 gold
{39} The Ice Caves
Encounter: yeti
Round 0: Hellno wins initiative!
Round 1: Hellno casts THROW BOMB!
Round 2: yeti takes 50 damage.
Round 2: Hellno wins the fight!
After Battle: You gain 15 gold
You acquire and equip an item: rock
> rocks: 1
> skulls: 0
{38} The Jungle
Encounter: tikiman
Round 0: Hellno wins initiative!
Round 1: Hellno casts THROW ROCK!
Round 2: tikiman takes 30 damage.
Round 2: Hellno wins the fight!
After Battle: You gain 8 gold
> rocks: 0
> skulls: 0
{37} The Ice Caves
Encounter: A Shop
Buying a pair of X-ray goggles for 50 gold
Took choice 1028/4: Buy a pair of X-ray goggles for 50 gold
choice.php?pwd&whichchoice=1028&option=4
Encounter: A Shop
You acquire an item: X-ray goggles
Buying a sturdy machete for 15 gold
Took choice 1028/3: Buy a sturdy machete for 15 gold
choice.php?pwd&whichchoice=1028&option=3
Encounter: A Shop
You acquire and equip an item: sturdy machete
Buying a key for 30 gold
Took choice 1028/2: Buy a key for 30 gold
choice.php?pwd&whichchoice=1028&option=2
Encounter: A Shop
Buying a bomb for 5 gold
Took choice 1028/1: Buy a bomb for 5 gold
choice.php?pwd&whichchoice=1028&option=1
Encounter: A Shop
Took choice 1028/6: leave
choice.php?pwd&whichchoice=1028&option=6
{37} The Jungle
Encounter: scorpion
Round 0: Hellno wins initiative!
Round 1: Hellno attacks!
Round 2: scorpion takes 15 damage. (35 muscle vs. 30 defense)
Round 2: You lose 6 hit points (30 attack vs. 35 moxie)
Round 2: Hellno attacks!
Round 3: scorpion takes 13 damage. (35 muscle vs. 30 defense)
Round 3: You lose 7 hit points (30 attack vs. 35 moxie)
Round 3: Hellno attacks!
Round 4: scorpion takes 13 damage. (35 muscle vs. 30 defense)
Round 4: Hellno wins the fight!
After Battle: You gain 9 gold
{36} The Jungle
Encounter: tikiman
Round 0: Hellno wins initiative!
Round 1: Hellno attacks!
Round 2: tikiman takes 13 damage. (35 muscle vs. 30 defense)
Round 2: You lose 6 hit points (30 attack vs. 35 moxie)
Round 2: Hellno attacks!
Round 3: tikiman takes 14 damage. (35 muscle vs. 30 defense)
Round 3: You lose 6 hit points (30 attack vs. 35 moxie)
Round 3: Hellno attacks!
Round 4: tikiman takes 16 damage. (35 muscle vs. 30 defense)
Round 4: Hellno wins the fight!
After Battle: You gain 9 gold
You acquire an item: boomerang
You acquire and equip an item: crumbling skull
> rocks: 0
> skulls: 1
{35} The Jungle
Encounter: tikiman
Round 0: Hellno wins initiative!
Round 1: Hellno attacks!
Round 2: tikiman takes 13 damage. (35 muscle vs. 30 defense)
Round 2: You lose 6 hit points (30 attack vs. 35 moxie)
Round 2: Hellno casts THROW SKULL!
Round 3: tikiman takes 20 damage.
Round 3: Hellno wins the fight!
After Battle: You gain 10 gold
You acquire and equip an item: crumbling skull
> rocks: 0
> skulls: 2
{34} The Temple Ruins
Encounter: Idolatry
Took choice 1036/4: gain 250 gold and lose 50 hp
choice.php?pwd&whichchoice=1036&option=4
You gain 250 gold
You lose 50 hit points
{34} Rest at Base Camp
You gain 35 hit points
{33} The Jungle
Encounter: scorpion
Round 0: Hellno wins initiative!
Round 1: Hellno attacks!
Round 2: scorpion takes 14 damage. (35 muscle vs. 30 defense)
Round 2: You lose 6 hit points (30 attack vs. 35 moxie)
Round 2: Hellno casts THROW SKULL!
Round 3: scorpion takes 20 damage.
Round 3: Hellno wins the fight!
After Battle: You gain 8 gold
> rocks: 0
> skulls: 1
//TIME WARPING TO MORE DATA
{28} The City of Goooold
Encounter: mummy
Round 0: Hellno wins initiative!
Round 1: You thrust your torch at your foe, dealing 8 damage.
Round 1: mummy takes 8 damage.
Round 1: Hellno casts THROW BOMB!
Round 2: mummy takes 50 damage.
Round 2: Hellno wins the fight!
After Battle: You gain 25 gold
You acquire an item: rock
After Battle: By the light of your torch you find a gleaming jewel!
After Battle: You gain 10 gold
> rocks: 1
> skulls: 1
equip off-hand rock
equip hat X-ray goggles
{24} The Jungle
Encounter: tikiman
Round 0: Hellno wins initiative!
Round 1: Hellno casts THROW ROCK!
Round 2: tikiman takes 30 damage.
Round 2: Hellno wins the fight!
After Battle: You gain 9 gold
You acquire and equip an item: crumbling skull
> rocks: 1
> skulls: 2
Last edited: