load V19.1
This commit is contained in:
parent
aaa54a0ef5
commit
59484586f0
21
Licence.txt
21
Licence.txt
@ -1,21 +0,0 @@
|
||||
Copyright (C) UjEdwin 2016
|
||||
|
||||
|
||||
Its only 2 agruments.
|
||||
You are not alowed to take files from the mod and use to other things (but ok to link form other mods).
|
||||
You have to show me (UjEdwin) as the orginal creater (if you want to make another version / spread the mod)
|
||||
|
||||
It does not mather what you is doing with the mod as long you folow this 2 agruments.
|
||||
|
||||
So: its ok to do stuff like: use in public servers/edit/spread/upload/make an update / using in a video (like youtube)...
|
||||
|
||||
|
||||
The reasons the the arguments.
|
||||
It does not feel good if someone takes hard work and or characteristics of your work, and says its him self created it.
|
||||
In some mods i spended more then 30 hours... so its a good reason to add this license :-)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
License: CC BY-NC-SA
|
||||
Name: Diplazer
|
||||
Created by: UjEdwin
|
||||
Date: 2016-03-27
|
||||
|
||||
See the version in the init.lua or type /dihelp in game
|
||||
|
||||
Diplazer is a advanced build / digging tool, and it can even teleport, object teleporter and gravitygun, and more!
|
||||
|
2
init.lua
2
init.lua
@ -1,4 +1,4 @@
|
||||
diplazer_vesrion="19"
|
||||
diplazer_vesrion="19.1"
|
||||
|
||||
diplazer_Tele={}
|
||||
diplazer_UserTele={}
|
||||
|
16
pchest.lua
16
pchest.lua
@ -67,9 +67,23 @@ minetest.register_tool("diplazer:pchest", {
|
||||
minetest.register_node("diplazer:pchest_node", {
|
||||
description = "Portable locked chest",
|
||||
tiles = {"diplazer_chest2.png","diplazer_chest2.png","diplazer_chest1.png","diplazer_chest1.png","diplazer_chest1.png","diplazer_chest3.png"},
|
||||
groups = {dig_immediate = 2, not_in_creative_inventory=1},
|
||||
groups = {dig_immediate = 2, not_in_creative_inventory=1,tubedevice = 1, tubedevice_receiver = 1},
|
||||
drop="diplazer:pchest",
|
||||
paramtype2 = "facedir",
|
||||
tube = {insert_object = function(pos, node, stack, direction)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local inv = meta:get_inventory()
|
||||
local added = inv:add_item("main", stack)
|
||||
--after_inventory_change(pos)
|
||||
return added
|
||||
end,
|
||||
can_insert = function(pos, node, stack, direction)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local inv = meta:get_inventory()
|
||||
return inv:room_for_item("main", stack)
|
||||
end,
|
||||
input_inventory = "main",
|
||||
connect_sides = {left = 1, right = 1, front = 1, back = 1, top = 1, bottom = 1}},
|
||||
allow_metadata_inventory_put = function(pos, listname, index, stack, player)
|
||||
local owner = minetest.get_meta(pos):get_string("owner")
|
||||
if (stack:get_name()~="diplazer:pchest") and (owner==player:get_player_name() or owner=="") then
|
||||
|
Loading…
x
Reference in New Issue
Block a user