mirror of
https://github.com/minetest-mods/maptools.git
synced 2026-01-01 03:25:19 +01:00
Add "Drownable Air" node (maptools:drowning) (#18)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro> Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
This commit is contained in:
15
nodes.lua
15
nodes.lua
@@ -467,3 +467,18 @@ minetest.register_node("maptools:superapple", {
|
||||
sounds = default.node_sound_defaults(),
|
||||
on_drop = maptools.drop_msg
|
||||
})
|
||||
|
||||
minetest.register_node("maptools:drowning", {
|
||||
description = S("Drownable Air"),
|
||||
range = 12,
|
||||
stack_max = 10000,
|
||||
inventory_image = "default_steel_block.png^dye_black.png",
|
||||
drawtype = "airlike",
|
||||
paramtype = "light",
|
||||
pointable = false,
|
||||
drowning = true,
|
||||
sunlight_propagates = true,
|
||||
drop = "",
|
||||
groups = {unbreakable = 1, not_in_creative_inventory = maptools.creative},
|
||||
on_drop = maptools.drop_msg
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user