taltamir
Member
Some items cannot be used right now because of some limiter that prevents their use. for example $item[M-242] is only useable on dependence day.
This is checked internally by mafia when you try to use the item. as per UseItemRequest.java's
there does not appear to be a function that exposes the limiter. which means there is no simple way to check for such limiters.
Would be great if the limiters were exposed somehow via a function so they could be checked.
This is checked internally by mafia when you try to use the item. as per UseItemRequest.java's
Code:
private static int maximumUses( final int itemId, final String itemName, final int consumptionType, final boolean allowOverDrink )
there does not appear to be a function that exposes the limiter. which means there is no simple way to check for such limiters.
Would be great if the limiters were exposed somehow via a function so they could be checked.