We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5c4412 commit ea30b89Copy full SHA for ea30b89
builtin/game/item_entity.lua
@@ -59,7 +59,7 @@ core.register_entity(":__builtin:item", {
59
local size = 0.2 + 0.1 * (count / max_count) ^ (1 / 3)
60
local coll_height = size * 0.75
61
local def = core.registered_nodes[itemname]
62
- local glow = def and def.light_source
+ local glow = def and math.floor(def.light_source / 2 + 0.5)
63
64
self.object:set_properties({
65
is_visible = true,
0 commit comments