31 lines
742 B
Lua
31 lines
742 B
Lua
-- LUALOCALS < ---------------------------------------------------------
|
|
local minetest
|
|
= minetest
|
|
-- LUALOCALS > ---------------------------------------------------------
|
|
|
|
local modname = minetest.get_current_modname()
|
|
|
|
minetest.register_node(modname .. ":sponge", {
|
|
description = "Sponge (Dry)",
|
|
drawtype = "allfaces_optional",
|
|
tiles = {modname ..".png"},
|
|
paramtype = "light",
|
|
groups = {
|
|
crumbly = 2,
|
|
flammable = 3,
|
|
fire_fuel = 3
|
|
}
|
|
})
|
|
|
|
minetest.register_node(modname .. ":sponge_wet", {
|
|
description = "Sponge (Wet)",
|
|
drawtype = "allfaces_optional",
|
|
tiles = {modname ..".png^(nc_terrain_water.png^[opacity:96)"},
|
|
paramtype = "light",
|
|
groups = {
|
|
crumbly = 2,
|
|
coolant = 1,
|
|
falling_node = 1
|
|
}
|
|
})
|