glass like type

This commit is contained in:
Juraj Vajda 2017-07-27 21:05:41 +02:00
parent 75f0506b36
commit 1a567ced12
3 changed files with 20 additions and 10 deletions

View File

@ -49,7 +49,8 @@ function spawners_env.create(mob_name, mod_prefix, size, offset, mesh, texture,
description = mod_prefix.."_"..mob_name.." spawner active env",
paramtype = "light",
light_source = 4,
drawtype = "allfaces",
paramtype2 = "glasslikeliquidlevel",
drawtype = "glasslike_framed_optional",
walkable = true,
sounds = default.node_sound_metal_defaults(),
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",
paramtype = "light",
light_source = 2,
drawtype = "allfaces",
paramtype2 = "glasslikeliquidlevel",
drawtype = "glasslike_framed_optional",
walkable = true,
sounds = default.node_sound_metal_defaults(),
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", {
description = mod_prefix.."_"..mob_name.." spawner env",
paramtype = "light",
drawtype = "allfaces",
paramtype2 = "glasslikeliquidlevel",
drawtype = "glasslike_framed_optional",
walkable = true,
sounds = default.node_sound_metal_defaults(),
sunlight_propagates = true,

View File

@ -51,7 +51,8 @@ function spawners_mobs.create(mob_name, mod_prefix, size, offset, mesh, texture,
description = mod_prefix.."_"..mob_name.." spawner active",
paramtype = "light",
light_source = 6,
drawtype = "allfaces",
paramtype2 = "glasslikeliquidlevel",
drawtype = "glasslike_framed_optional",
walkable = true,
sounds = default.node_sound_metal_defaults(),
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",
paramtype = "light",
light_source = 2,
drawtype = "allfaces",
paramtype2 = "glasslikeliquidlevel",
drawtype = "glasslike_framed_optional",
walkable = true,
sounds = default.node_sound_metal_defaults(),
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", {
description = mod_prefix.."_"..mob_name.." spawner",
paramtype = "light",
drawtype = "allfaces",
paramtype2 = "glasslikeliquidlevel",
drawtype = "glasslike_framed_optional",
walkable = true,
sounds = default.node_sound_metal_defaults(),
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",
paramtype = "light",
light_source = 2,
drawtype = "allfaces",
paramtype2 = "glasslikeliquidlevel",
drawtype = "glasslike_framed_optional",
walkable = true,
sounds = default.node_sound_metal_defaults(),
damage_per_second = 4,

View File

@ -163,7 +163,8 @@ function spawners_ores.create_ore(ore_name, mod_prefix, size, offset, texture, s
description = ore_name.." spawner active",
paramtype = "light",
light_source = 4,
drawtype = "allfaces",
paramtype2 = "glasslikeliquidlevel",
drawtype = "glasslike_framed_optional",
walkable = true,
sounds = default.node_sound_metal_defaults(),
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",
paramtype = "light",
light_source = 2,
drawtype = "allfaces",
paramtype2 = "glasslikeliquidlevel",
drawtype = "glasslike_framed_optional",
walkable = true,
sounds = default.node_sound_metal_defaults(),
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", {
description = ore_name.." spawner",
paramtype = "light",
drawtype = "allfaces",
paramtype2 = "glasslikeliquidlevel",
drawtype = "glasslike_framed_optional",
walkable = true,
sounds = default.node_sound_metal_defaults(),
sunlight_propagates = true,