Buying expensive/rare things with acquire

stupac2

New member
Is there any way to do that? I upped my autoBuyPriceLimit to 600000 but mafia still won't buy things like Uncle Crimbo Ration's. I would really like to add these things to my stocking script so I don't need to remember to manually buy them every time I need them for a run.

Thanks
 

Bale

Minion
It won't purchase un-discardable items with acquire (except for a couple of hard-coded exceptions), you need to use buy. I'd suggest having a line that checks autosell_price() and if < 1, then compare current number to the desired number. Get the difference with buy. Obviously that requires a bit of ASH.
 

lostcalpolydude

Developer
Staff member
Now I'm curious where that list of items is within mafia (or at least a few items on the list besides clovers so that I can find it).
 

Bale

Minion
In InventoryManager the full list of acquirable non-discardable items is:

case ItemPool.TEN_LEAF_CLOVER:
case ItemPool.DISASSEMBLED_CLOVER:
case ItemPool.PHIAL_OF_HOTNESS:
case ItemPool.PHIAL_OF_COLDNESS:
case ItemPool.PHIAL_OF_SPOOKINESS:
case ItemPool.PHIAL_OF_STENCH:
case ItemPool.PHIAL_OF_SLEAZINESS:
case ItemPool.WHITE_RICE:
// Love songs
case ItemPool.VAGUE_AMBIGUITY:
case ItemPool.SMOLDERING_PASSION:
case ItemPool.ICY_REVENGE:
case ItemPool.SUGARY_CUTENESS:
case ItemPool.DISTURBING_OBSESSION:
case ItemPool.NAUGHTY_INNUENDO:
// Divine items
case ItemPool.DIVINE_NOISEMAKER:
case ItemPool.DIVINE_SILLY_STRING:
case ItemPool.DIVINE_BLOWOUT:
case ItemPool.DIVINE_CHAMPAGNE_POPPER:
case ItemPool.DIVINE_CRACKER:
case ItemPool.DIVINE_FLUTE:

Summary: Love Songs, Divine Items, Phials, Clovers, White Rice
 
Last edited:
Top