Maps each item in the given array to its name translation.
Whether the item name translation should include an article
A formatting translation that should be used for each item translation
Returns the "processed" weight of the given item.
weightFractionlerping the item's min & max weight.
Processed item weights can also be "tweaked", such as weight additions or reductions.
Uses the old system to get the weight of an item type.
Checks if the item type or item is filtered from inventory/crafting/container dialogs.
The ItemType or Item to check.
The string of text in which to filter for.
True if we are filtering the crafting dialog.
Moves all player items to the target island This should be called before switching islands
Drop items in a 3x3 square around the location
Used to spawn a random item on the current biome type and at a set location (and terrain type) based on spawnOnWorldGen properties in item descriptions.
The terrain type to check.
The x coordinate to check.
The y coordinate to check.
The z coordinate to check.
Summons a void dweller based on item worth and chance or provides a hint message.
Item to get the worth of.
The player that is dropping the item.
The point in which we are dropping the item.
True or false based on if we get a message or not.
Generated using TypeDoc