Handle player void handling in playerplus
This commit is contained in:
parent
0b375f00cd
commit
0f2787cd16
3 changed files with 21 additions and 30 deletions
|
@ -21,8 +21,8 @@ minetest.register_node("mcl_core:barrier", {
|
|||
on_blast = function() end,
|
||||
})
|
||||
|
||||
-- The harmless void directly below the bottom bedrock layer. It doesn't hurt.
|
||||
minetest.register_node("mcl_core:void_top", {
|
||||
-- The void below the bedrock. Void damage is handled in playerplus
|
||||
minetest.register_node("mcl_core:void", {
|
||||
description = "Void",
|
||||
drawtype = "airlike",
|
||||
paramtype = "light",
|
||||
|
@ -30,8 +30,8 @@ minetest.register_node("mcl_core:void_top", {
|
|||
walkable = false,
|
||||
floodable = false,
|
||||
buildable_to = false,
|
||||
inventory_image = "default_barrier.png",
|
||||
wield_image = "default_barrier.png",
|
||||
inventory_image = "unknown_node.png",
|
||||
wield_image = "unknown_node.png",
|
||||
stack_max = 64,
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
|
@ -39,26 +39,6 @@ minetest.register_node("mcl_core:void_top", {
|
|||
on_blast = function() end,
|
||||
})
|
||||
|
||||
-- The deadly void way below bedrock. It hurts very much!
|
||||
minetest.register_node("mcl_core:void_deep", {
|
||||
description = "Deep Void",
|
||||
drawtype = "airlike",
|
||||
paramtype = "light",
|
||||
pointable = false,
|
||||
walkable = false,
|
||||
floodable = false,
|
||||
buildable_to = false,
|
||||
inventory_image = "default_barrier.png",
|
||||
wield_image = "default_barrier.png",
|
||||
stack_max = 64,
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = { not_in_creative_inventory = 1 },
|
||||
on_blast = function() end,
|
||||
-- Minecraft Wiki: 4 damage each 0.5 seconds
|
||||
damage_per_second = 8,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_core:stone", {
|
||||
description = "Stone",
|
||||
tiles = {"default_stone.png"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue