PlaceRandomItem

Parameters
whichItemPoolitempool

The itempool to draw from.

xreal

The x-coordinate of the item.

yreal

The y-coordinate of the item.

comment

Draws a random itemid from the itempool and creates the item.

patch

1.00

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
item
Source code
native PlaceRandomItem          takes itempool whichItemPool, real x, real y returns item