diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2015-08-31 11:05:55 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2015-08-31 11:05:55 +0100 |
commit | ba35657b0c36c7b4f386333e21e54d653af401af (patch) | |
tree | 82eeb24e0981b1ebc1a6fdce40a080f6d25d7439 | |
parent | d3625e3270f988fcd9c7860b3bd1c295cc793744 (diff) |
supporting 0.4.13 shift-click to move stacks inside chest
-rw-r--r-- | README.md | 15 | ||||
-rw-r--r-- | init.lua | 2 |
2 files changed, 13 insertions, 4 deletions
@@ -1,6 +1,9 @@ Protector Redo mod [protect] -Protector redo mod for minetest is based on glomie's mod, remade by Zeg9 and reworked by TenPlus1. +Protector redo for minetest is a mod that protects a players builds by placing +a block that stops other players from digging or placing blocks in that area. + +based on glomie's mod, remade by Zeg9 and reworked by TenPlus1. https://forum.minetest.net/viewtopic.php?f=11&t=9376 @@ -12,9 +15,13 @@ Released under WTFPL 0.4 - Code tweak for 0.4.10+ 0.5 - Added protector.radius variable in init.lua (default: 5) 0.6 - Added Protected Doors (wood and steel) and Protected Chest -0.7 - Protected Chests now have "To Chest" and "To Inventory" buttons to copy contents across, also chests can be named +0.7 - Protected Chests now have "To Chest" and "To Inventory" buttons to copy + contents across, also chests can be named 0.8 - Updated to work with Minetest 0.4.12, simplified textures 0.9 - Tweaked code 1.0 - Only owner can remove protector -1.1 - Set protector_pvp to true in minetest.conf to disable pvp in player's own area - also setting protector_pvp_spawn will disable pvp in spawn area up to a radius of n blocks
\ No newline at end of file +1.1 - Set 'protector_pvp = true' in minetest.conf to disable pvp in protected + areas except your own, also setting protector_pvp_spawn higher than 0 will + disable pvp around spawn area with the radius you entered +1.2 - Shift and click support added with Minetest 0.4.13 to quickly copy stacks + to and from protected chest
\ No newline at end of file @@ -623,6 +623,8 @@ minetest.register_node("protector:chest", { .. "button[6,4.5;2,0.25;todn;To Inventory]" .. "list[current_player;main;0,5;8,1;]" .. "list[current_player;main;0,6.08;8,3;8]" + .. "listring[nodemeta:" .. spos .. ";main]" + .. "listring[current_player;main]" .. default.get_hotbar_bg(0,5) minetest.show_formspec( |