From 2b3e048ff41e678519ffb00afd5a7a96f7e3ba2e Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Mon, 5 Jan 2015 18:53:00 +0000 Subject: Added forum link to readme --- README.md | 2 ++ init.lua | 2 ++ 2 files changed, 4 insertions(+) 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, -- cgit v1.2.3