Description:
A library for 3d_armor that adds wielded_light support.
Licensing:
- Code: MIT
Usage:
Methods:
armor_light.register(item, lvalue)
- Register an item to emit light when equipped in the armor inventory.
- params:
- item: Item name or ItemStack.
- lvalue: Light value (optional) (default: 10).
armor_light.is_lighted(item)
- Checks if an item is registered as light-emitting from armor inventory.
- params:
- item: Item name or ItemStack.
- returns: `true` if the item is registered.
Requirements:
- requires
wielded_light
version 2021-07-15