[Mod] Wielded Light for 3d_armor [3d_armor_light]

Post Reply
User avatar
AntumDeluge
Member
Posts: 213
Joined: Sun Aug 07, 2016 05:42
GitHub: AntumDeluge
IRC: AntumDeluge
Contact:

[Mod] Wielded Light for 3d_armor [3d_armor_light]

by AntumDeluge » Post

Description:

A library for 3d_armor that adds wielded_light support.

Licensing:
Usage:

Methods:

Code: Select all

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.
Links:

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests