Bug - Fixed acquire 100 d4 not working after multiusing 100 until restart

taltamir

Member
Using CLI command "acquire 100 d4" works once, then I need to restart mafia. Exact steps taken in (community service) aftercore:

CLI acquire 100 d4
mafia mallbuys 100 d4
fight the family of kobolds
open their loot drop chest
CLI acquire 100 d4
nothing happens
abort
CLI acquire 100 d4
nothing happens
restart mafia
CLI acquire 100 d4
mafia mallbuys 100 d4
fight the family of kobolds
open their loot drop chest
CLI acquire 100 d4
nothing happens
restart mafia
CLI acquire 100 d4
mafia mallbuys 100 d4
...

I just had an idea. Is it possible that fighting a family of kobolds causes mafia to fail to recognize that the d4 were consumed? since acquire command increases your inventory to match a specific quantity. So typing acquire 100 d4 will buy however many are needed for you to have 100 total. typing it immediately again will do nothing since you already have 100 d4
 

Darzil

Developer
Quite possible. Checking the session pane would not show d4's if you bought 100 and used them if they were properly accounted for. It would show 100 if properly accounted for.

Can also refresh it by just clicking the inventory refresh button rather than restarting mafia, if inventory is out of sync.
 
Top