summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortenplus1 <kinsellaja@yahoo.com>2015-01-05 18:53:00 +0000
committertenplus1 <kinsellaja@yahoo.com>2015-01-05 18:53:00 +0000
commit2b3e048ff41e678519ffb00afd5a7a96f7e3ba2e (patch)
treea7c84a99fac0a1164a68d5566d366a6b87b356a6
parentfa66990f676736ca4b0ec9db105e91fcc3ef8a6c (diff)
Added forum link to readme
-rw-r--r--README.md2
-rw-r--r--init.lua2
2 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index b244b58..21566cd 100644
--- a/README.md
+++ b/README.md
@@ -4,4 +4,6 @@ minetest-protect
Protector mod for minetest
based on glomie's mod, remade by Zeg9 and reworked by TenPlus1 to support minetest 0.4.9 and include protected doors and chests
+https://forum.minetest.net/viewtopic.php?f=11&t=9376
+
Released under WTFPL \ No newline at end of file
diff --git a/init.lua b/init.lua
index 36d799c..4e32d5f 100644
--- a/init.lua
+++ b/init.lua
@@ -184,6 +184,7 @@ minetest.register_node("protector:protect", {
},
selection_box = { type="regular" },
paramtype = "light",
+ light_source = 2,
after_place_node = function(pos, placer)
local meta = minetest.env:get_meta(pos)
@@ -249,6 +250,7 @@ minetest.register_node("protector:protect2", {
groups = {dig_immediate=2},
paramtype = 'light',
paramtype2 = "wallmounted",
+ light_source = 2,
drawtype = "nodebox",
sunlight_propagates = true,
walkable = true,