Constructor






Methods


LightInventory:addItem(item: any, ignore_dark: any)

Arguments:

item: any
ignore_dark: any

Returns:

1: Item|nil








LightInventory:getDefaultStorage(item_type: any)

Arguments:

item_type: any

Returns:

1: unknown|nil


LightInventory:tryGiveItem(item: any, ignore_dark: any)

Arguments:

item: any
ignore_dark: any

Returns:

1: boolean|nil
2: string|unknown|nil



Fields



Undocumented



LightInventory.convert_order: table

Order the storages are converted to the dark world



LightInventory.storage_enabled: boolean

Never true for the light world, as Undertale doesnt use storage fallback but temporarily set to true during item conversion (to overflow to storage)