From 7a461219b8347f16eadddcfd722352d18db02278 Mon Sep 17 00:00:00 2001 From: Evert Date: Sun, 8 Apr 2018 17:25:50 +0300 Subject: [PATCH] Make grids and controller emit some light --- nodes/controller.lua | 2 ++ nodes/grid.lua | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/nodes/controller.lua b/nodes/controller.lua index 658080b..07518f9 100644 --- a/nodes/controller.lua +++ b/nodes/controller.lua @@ -38,6 +38,8 @@ minetest.register_node("holostorage:controller_active", { }, } }, + paramtype = "light", + light_source = 8, drop = "holostorage:controller", groups = { cracky = 1, diff --git a/nodes/grid.lua b/nodes/grid.lua index 9cd5db5..56f029e 100644 --- a/nodes/grid.lua +++ b/nodes/grid.lua @@ -291,6 +291,8 @@ minetest.register_node("holostorage:grid_active", { "holostorage_machine_block.png", "holostorage_machine_block.png", "holostorage_grid_active.png", }, drop = "holostorage:grid", + paramtype = "light", + light_source = 8, paramtype2 = "facedir", on_timer = timer, groups = { @@ -372,6 +374,8 @@ minetest.register_node("holostorage:crafting_grid_active", { }, drop = "holostorage:crafting_grid", paramtype2 = "facedir", + paramtype = "light", + light_source = 8, on_timer = timer, groups = { cracky = 1,