ItemPoolAddItemType

Parameters
whichItemPoolitempool

The itempool to add the item to.

itemIdinteger

The rawcode of the item. An invalid itemId (like 0) can be added & rolled.

weightreal

The 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