top of page

additem increased quantity limit to 999

6.13

Normally additem loads the quantity argument as a word (four bytes) but then it only keeps the value of the first byte, meaning that it limits the quantity of the given item to 255. This .hma script increases the limit to 999, you can still set a higher number as argument but it will be considered as 999.

HMA Discord Link 2.png

Credits:

Defa


How To

Apply the attached .hma patch


NOTE: Another "issue" that additem has is that if the current item quantity in the player's inventory plus the quantity set as argument results in a number higher than 999, the command will not work, so it will not give the difference to reach 999 units of that items. The .hma script also changes this to allow the command to work, so it will give the difference to reach 999 units.


Happy Hacking!

 


bottom of page