darkcodelagsniper
Member
When I click sea locations in mafia's GUI, it alters the droprate based on the pressure modifier for that location. I'd like to use that functionality in a script.
A little checking of the wiki led me to the function set_location() which sounds exactly what I want.
But when I set_location, it only selects the general zone in the GUI, not the specific location. Also the item drop modifiers and meat drop modifiers aren't affected.
Should I make a bug report for this, or am I doing it wrong?
A little checking of the wiki led me to the function set_location() which sounds exactly what I want.
But when I set_location, it only selects the general zone in the GUI, not the specific location. Also the item drop modifiers and meat drop modifiers aren't affected.
> ash set_location($location["Noob Cave"]); print(my_location()+" "+item_drop_modifier())
Noob Cave 140.78505426185217
Returned: void
> ash set_location($location["The Dive Bar"]); print(my_location()+" "+item_drop_modifier())
The Dive Bar 140.78505426185217
Returned: void
Should I make a bug report for this, or am I doing it wrong?