Skip to content
Permalink
Browse files

Builtin: Make item entities glow less (#9594)

minor adjustment to #9200
  • Loading branch information
sfan5 committed Apr 4, 2020
1 parent d5c4412 commit ea30b89d3fcaf599a4d4c4e2f12f01a1d59f1072
Showing with 1 addition and 1 deletion.
  1. +1 −1 builtin/game/item_entity.lua
@@ -59,7 +59,7 @@ core.register_entity(":__builtin:item", {
local size = 0.2 + 0.1 * (count / max_count) ^ (1 / 3)
local coll_height = size * 0.75
local def = core.registered_nodes[itemname]
local glow = def and def.light_source
local glow = def and math.floor(def.light_source / 2 + 0.5)

self.object:set_properties({
is_visible = true,

0 comments on commit ea30b89

Please sign in to comment.
You can’t perform that action at this time.