123 lines
3.3 KiB
Lua
123 lines
3.3 KiB
Lua
minetest.register_node("sumo:player_killer_air", {
|
|
description = "Sumo Arena Player Killer Air",
|
|
drawtype = "airlike",
|
|
paramtype = "light",
|
|
sunlight_propagates = true,
|
|
|
|
walkable = false,
|
|
pointable = true,
|
|
diggable = true,
|
|
buildable_to = false,
|
|
drop = "",
|
|
groups = {oddly_breakable_by_hand = 1},
|
|
})
|
|
|
|
|
|
minetest.register_node("sumo:fullclip", {
|
|
description = "Player Blocker (sumo)",
|
|
drawtype = "airlike",
|
|
paramtype = "light",
|
|
sunlight_propagates = true,
|
|
|
|
walkable = true,
|
|
pointable = true,
|
|
diggable = false,
|
|
buildable_to = false,
|
|
drop = "",
|
|
groups = {},
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("sumo:player_killer_water_source", {
|
|
description = "Sumo Arena Player Killer Water Source",
|
|
drawtype = "liquid",
|
|
waving = 3,
|
|
tiles = {
|
|
{
|
|
name = "default_water_source_animated.png",
|
|
backface_culling = false,
|
|
animation = {
|
|
type = "vertical_frames",
|
|
aspect_w = 16,
|
|
aspect_h = 16,
|
|
length = 2.0,
|
|
},
|
|
},
|
|
{
|
|
name = "default_water_source_animated.png",
|
|
backface_culling = true,
|
|
animation = {
|
|
type = "vertical_frames",
|
|
aspect_w = 16,
|
|
aspect_h = 16,
|
|
length = 2.0,
|
|
},
|
|
},
|
|
},
|
|
alpha = 191,
|
|
paramtype = "light",
|
|
walkable = false,
|
|
pointable = false,
|
|
diggable = false,
|
|
buildable_to = true,
|
|
is_ground_content = false,
|
|
drop = "",
|
|
drowning = 1,
|
|
liquidtype = "source",
|
|
liquid_alternative_flowing = "sumo:player_killer_water_flowing",
|
|
liquid_alternative_source = "sumo:player_killer_water_source",
|
|
liquid_viscosity = 1,
|
|
post_effect_color = {a = 103, r = 30, g = 60, b = 90},
|
|
groups = {water = 3, liquid = 3, cools_lava = 1},
|
|
sounds = default.node_sound_water_defaults(),
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("sumo:player_killer_water_flowing", {
|
|
description = "Sumo Arena Player Killer Water Flowing",
|
|
drawtype = "flowingliquid",
|
|
waving = 3,
|
|
tiles = {"default_water.png"},
|
|
special_tiles = {
|
|
{
|
|
name = "default_water_flowing_animated.png",
|
|
backface_culling = false,
|
|
animation = {
|
|
type = "vertical_frames",
|
|
aspect_w = 16,
|
|
aspect_h = 16,
|
|
length = 0.5,
|
|
},
|
|
},
|
|
{
|
|
name = "default_water_flowing_animated.png",
|
|
backface_culling = true,
|
|
animation = {
|
|
type = "vertical_frames",
|
|
aspect_w = 16,
|
|
aspect_h = 16,
|
|
length = 0.5,
|
|
},
|
|
},
|
|
},
|
|
alpha = 191,
|
|
paramtype = "light",
|
|
walkable = false,
|
|
pointable = false,
|
|
diggable = false,
|
|
buildable_to = true,
|
|
is_ground_content = false,
|
|
drop = "",
|
|
drowning = 1,
|
|
liquidtype = "flowing",
|
|
liquid_alternative_flowing = "sumo:player_killer_water_flowing",
|
|
liquid_alternative_source = "sumo:player_killer_water_source",
|
|
liquid_viscosity = 1,
|
|
post_effect_color = {a = 103, r = 30, g = 60, b = 90},
|
|
groups = {water = 3, liquid = 3, not_in_creative_inventory = 1,
|
|
cools_lava = 1},
|
|
sounds = default.node_sound_water_defaults(),
|
|
})
|