Download (3 KB)
For Luanti 0.4.16/17 and above

How do I install this?

Description:

A library for 3d_armor that adds wielded_light support.

Licensing:

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

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Used By