automatic update
Former-commit-id: ad13b36e9001017e76d7bdfa5888dfe483c3976a Former-commit-id: d02d742546b71ee1d46d0e50344fb2f1b6d61eea
This commit is contained in:
parent
dcaa1f7700
commit
321a94c6a6
5
init.lua
5
init.lua
@ -28,6 +28,8 @@ if minetest.setting_getbool("creative_mode") then
|
||||
crumbly={times={[1]=0, [2]=0, [3]=0}, uses=0, maxlevel=3},
|
||||
snappy={times={[1]=0, [2]=0, [3]=0}, uses=0, maxlevel=3},
|
||||
level={times={[1]=0, [2]=0, [3]=0}, uses=0, maxlevel=3},
|
||||
nether={times={[1]=0, [2]=0, [3]=0}, uses=0, maxlevel=3},
|
||||
oddly_breakable_by_hand={times={[1]=0, [2]=0, [3]=0}, uses=0, maxlevel=3},
|
||||
},
|
||||
damage_groups = {fleshy = 20},
|
||||
},
|
||||
@ -36,7 +38,7 @@ if minetest.setting_getbool("creative_mode") then
|
||||
return
|
||||
end
|
||||
local pname = placer:get_player_name()
|
||||
local pos = minetest.get_pointed_thing_position(pointed_thing, under)
|
||||
local pos = minetest.get_pointed_thing_position(pointed_thing)
|
||||
local node = minetest.get_node_or_nil(pos)
|
||||
if not node then
|
||||
minetest.chat_send_player(pname, "?")
|
||||
@ -51,6 +53,7 @@ if minetest.setting_getbool("creative_mode") then
|
||||
local nam = node.name
|
||||
local par1 = node.param1
|
||||
local par2 = node.param2
|
||||
local a,b
|
||||
if par1 == 0
|
||||
and par2 == 0 then
|
||||
a = " "
|
||||
|
Loading…
x
Reference in New Issue
Block a user