Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

twine / withUpgrades

Function: withUpgrades() โ€‹

withUpgrades(item, ...upgrades): ItemValue

Defined in: twine/src/item/pack.ts:18

item with these upgrades installed, as its bench leaves it: withUpgrades(CrossbowItem, Scope).

Parameters โ€‹

item โ€‹

ItemClassRef

upgrades โ€‹

...ItemClassRef[]

Returns โ€‹

ItemValue

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.