mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-17 18:05:09 +00:00
Remove redundant frosted ice from creative
This commit is contained in:
parent
889609c4d5
commit
6f5a721b19
1 changed files with 5 additions and 1 deletions
|
@ -2070,6 +2070,10 @@ for i=0,3 do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
local creative = 1
|
||||||
|
if i == 0 then
|
||||||
|
creative = 0
|
||||||
|
end
|
||||||
minetest.register_node("default:frosted_ice_"..i, {
|
minetest.register_node("default:frosted_ice_"..i, {
|
||||||
description = "Frosted Ice",
|
description = "Frosted Ice",
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
|
@ -2078,7 +2082,7 @@ for i=0,3 do
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
use_texture_alpha = true,
|
use_texture_alpha = true,
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
groups = {cracky=2, frosted_ice=1},
|
groups = {cracky=2, frosted_ice=1, not_in_creative_inventory=creative},
|
||||||
drop = "",
|
drop = "",
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
|
|
Loading…
Reference in a new issue