ItemPoolAddItemType
- Parameters
whichItemPool itempoolThe itempool to add the item to.
itemId integerThe rawcode of the item. An invalid itemId (like 0) can be added & rolled.
weight realThe weight of the item. The weight determines how likely it is for the item to be chose by
PlaceRandomItem.- comment
Adds an item-id to the itempool.
- patch
1.00
- Source
- common.j (raise an issue to discuss on Github or submit a PR)
- return type
nothing- Source code
native ItemPoolAddItemType takes itempool whichItemPool, integer itemId, real weight returns nothing