glass like type
This commit is contained in:
parent
75f0506b36
commit
1a567ced12
@ -49,7 +49,8 @@ function spawners_env.create(mob_name, mod_prefix, size, offset, mesh, texture,
|
|||||||
description = mod_prefix.."_"..mob_name.." spawner active env",
|
description = mod_prefix.."_"..mob_name.." spawner active env",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
light_source = 4,
|
light_source = 4,
|
||||||
drawtype = "allfaces",
|
paramtype2 = "glasslikeliquidlevel",
|
||||||
|
drawtype = "glasslike_framed_optional",
|
||||||
walkable = true,
|
walkable = true,
|
||||||
sounds = default.node_sound_metal_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
damage_per_second = 4,
|
damage_per_second = 4,
|
||||||
@ -92,7 +93,8 @@ function spawners_env.create(mob_name, mod_prefix, size, offset, mesh, texture,
|
|||||||
description = mod_prefix.."_"..mob_name.." spawner waiting env",
|
description = mod_prefix.."_"..mob_name.." spawner waiting env",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
light_source = 2,
|
light_source = 2,
|
||||||
drawtype = "allfaces",
|
paramtype2 = "glasslikeliquidlevel",
|
||||||
|
drawtype = "glasslike_framed_optional",
|
||||||
walkable = true,
|
walkable = true,
|
||||||
sounds = default.node_sound_metal_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
@ -128,7 +130,8 @@ function spawners_env.create(mob_name, mod_prefix, size, offset, mesh, texture,
|
|||||||
minetest.register_node("spawners_env:"..mod_prefix.."_"..mob_name.."_spawner", {
|
minetest.register_node("spawners_env:"..mod_prefix.."_"..mob_name.."_spawner", {
|
||||||
description = mod_prefix.."_"..mob_name.." spawner env",
|
description = mod_prefix.."_"..mob_name.." spawner env",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
drawtype = "allfaces",
|
paramtype2 = "glasslikeliquidlevel",
|
||||||
|
drawtype = "glasslike_framed_optional",
|
||||||
walkable = true,
|
walkable = true,
|
||||||
sounds = default.node_sound_metal_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
|
@ -51,7 +51,8 @@ function spawners_mobs.create(mob_name, mod_prefix, size, offset, mesh, texture,
|
|||||||
description = mod_prefix.."_"..mob_name.." spawner active",
|
description = mod_prefix.."_"..mob_name.." spawner active",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
light_source = 6,
|
light_source = 6,
|
||||||
drawtype = "allfaces",
|
paramtype2 = "glasslikeliquidlevel",
|
||||||
|
drawtype = "glasslike_framed_optional",
|
||||||
walkable = true,
|
walkable = true,
|
||||||
sounds = default.node_sound_metal_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
damage_per_second = 4,
|
damage_per_second = 4,
|
||||||
@ -125,7 +126,8 @@ function spawners_mobs.create(mob_name, mod_prefix, size, offset, mesh, texture,
|
|||||||
description = mod_prefix.."_"..mob_name.." spawner waiting",
|
description = mod_prefix.."_"..mob_name.." spawner waiting",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
light_source = 2,
|
light_source = 2,
|
||||||
drawtype = "allfaces",
|
paramtype2 = "glasslikeliquidlevel",
|
||||||
|
drawtype = "glasslike_framed_optional",
|
||||||
walkable = true,
|
walkable = true,
|
||||||
sounds = default.node_sound_metal_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
@ -155,7 +157,8 @@ function spawners_mobs.create(mob_name, mod_prefix, size, offset, mesh, texture,
|
|||||||
minetest.register_node("spawners_mobs:"..mod_prefix.."_"..mob_name.."_spawner", {
|
minetest.register_node("spawners_mobs:"..mod_prefix.."_"..mob_name.."_spawner", {
|
||||||
description = mod_prefix.."_"..mob_name.." spawner",
|
description = mod_prefix.."_"..mob_name.." spawner",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
drawtype = "allfaces",
|
paramtype2 = "glasslikeliquidlevel",
|
||||||
|
drawtype = "glasslike_framed_optional",
|
||||||
walkable = true,
|
walkable = true,
|
||||||
sounds = default.node_sound_metal_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
@ -189,7 +192,8 @@ function spawners_mobs.create(mob_name, mod_prefix, size, offset, mesh, texture,
|
|||||||
description = mod_prefix.."_"..mob_name.." spawner overheated",
|
description = mod_prefix.."_"..mob_name.." spawner overheated",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
light_source = 2,
|
light_source = 2,
|
||||||
drawtype = "allfaces",
|
paramtype2 = "glasslikeliquidlevel",
|
||||||
|
drawtype = "glasslike_framed_optional",
|
||||||
walkable = true,
|
walkable = true,
|
||||||
sounds = default.node_sound_metal_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
damage_per_second = 4,
|
damage_per_second = 4,
|
||||||
|
@ -163,7 +163,8 @@ function spawners_ores.create_ore(ore_name, mod_prefix, size, offset, texture, s
|
|||||||
description = ore_name.." spawner active",
|
description = ore_name.." spawner active",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
light_source = 4,
|
light_source = 4,
|
||||||
drawtype = "allfaces",
|
paramtype2 = "glasslikeliquidlevel",
|
||||||
|
drawtype = "glasslike_framed_optional",
|
||||||
walkable = true,
|
walkable = true,
|
||||||
sounds = default.node_sound_metal_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
damage_per_second = 4,
|
damage_per_second = 4,
|
||||||
@ -193,7 +194,8 @@ function spawners_ores.create_ore(ore_name, mod_prefix, size, offset, texture, s
|
|||||||
description = ore_name.." spawner waiting",
|
description = ore_name.." spawner waiting",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
light_source = 2,
|
light_source = 2,
|
||||||
drawtype = "allfaces",
|
paramtype2 = "glasslikeliquidlevel",
|
||||||
|
drawtype = "glasslike_framed_optional",
|
||||||
walkable = true,
|
walkable = true,
|
||||||
sounds = default.node_sound_metal_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
@ -221,7 +223,8 @@ function spawners_ores.create_ore(ore_name, mod_prefix, size, offset, texture, s
|
|||||||
minetest.register_node("spawners_ores:"..ore_name.."_spawner", {
|
minetest.register_node("spawners_ores:"..ore_name.."_spawner", {
|
||||||
description = ore_name.." spawner",
|
description = ore_name.." spawner",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
drawtype = "allfaces",
|
paramtype2 = "glasslikeliquidlevel",
|
||||||
|
drawtype = "glasslike_framed_optional",
|
||||||
walkable = true,
|
walkable = true,
|
||||||
sounds = default.node_sound_metal_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
|
Loading…
Reference in New Issue
Block a user