Add files via upload
This commit is contained in:
parent
ed10616f72
commit
cbf3b2ef6b
47
adamant.lua
Normal file
47
adamant.lua
Normal file
@ -0,0 +1,47 @@
|
||||
-- LUALOCALS < ---------------------------------------------------------
|
||||
local minetest, nodecore
|
||||
= minetest, nodecore
|
||||
-- LUALOCALS > ---------------------------------------------------------
|
||||
|
||||
local modname = minetest.get_current_modname()
|
||||
|
||||
local form = "nc_lode_annealed.png^[mask:nc_api_storebox_frame.png"
|
||||
|
||||
local frost = "wc_adamant.png^(" .. form .. ")"
|
||||
|
||||
minetest.register_node(modname .. ":shelf_adamant", {
|
||||
description = "Adamant Cauldron",
|
||||
tiles = {frost, frost, form},
|
||||
selection_box = nodecore.fixedbox(),
|
||||
collision_box = nodecore.fixedbox(),
|
||||
groups = {
|
||||
cracky = 5,
|
||||
visinv = 1,
|
||||
storebox = 4,
|
||||
totable = 1,
|
||||
scaling_time = 50,
|
||||
lux_absorb = 10
|
||||
},
|
||||
paramtype = "light",
|
||||
sounds = nodecore.sounds("nc_optics_glassy"),
|
||||
storebox_access = function(pt) return pt.above.y > pt.under.y end,
|
||||
on_ignite = function(pos)
|
||||
if minetest.get_node(pos).name == modname .. ":shelf_adamant" then
|
||||
return nodecore.stack_get(pos)
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
nodecore.register_craft({
|
||||
label = "assemble adamant cauldron",
|
||||
action = "stackapply",
|
||||
indexkeys = {"nc_lode:form"},
|
||||
wield = {name = "wc_adamant:block"},
|
||||
consumewield = 1,
|
||||
nodes = {
|
||||
{
|
||||
match = {name = "nc_lode:form", empty = true},
|
||||
replace = modname .. ":shelf_adamant"
|
||||
},
|
||||
}
|
||||
})
|
48
bamboo.lua
Normal file
48
bamboo.lua
Normal file
@ -0,0 +1,48 @@
|
||||
-- LUALOCALS < ---------------------------------------------------------
|
||||
local minetest, nodecore
|
||||
= minetest, nodecore
|
||||
-- LUALOCALS > ---------------------------------------------------------
|
||||
|
||||
local modname = minetest.get_current_modname()
|
||||
|
||||
local bark = "nc_tree_tree_side.png^[mask:nc_api_storebox_frame.png"
|
||||
|
||||
local bamboo = "wc_naturae_bamboo.png^(nc_flora_wicker.png^[opacity:120)^(" .. bark .. ")"
|
||||
|
||||
minetest.register_node(modname .. ":shelf_bamboo", {
|
||||
description = "Bamboo Basket",
|
||||
tiles = {bamboo, bamboo, bark},
|
||||
selection_box = nodecore.fixedbox(),
|
||||
collision_box = nodecore.fixedbox(),
|
||||
groups = {
|
||||
choppy = 2,
|
||||
visinv = 1,
|
||||
flammable = 2,
|
||||
fire_fuel = 3,
|
||||
storebox = 1,
|
||||
totable = 1,
|
||||
scaling_time = 50
|
||||
},
|
||||
paramtype = "light",
|
||||
sounds = nodecore.sounds("nc_tree_sticky"),
|
||||
storebox_access = function(pt) return pt.above.y > pt.under.y end,
|
||||
on_ignite = function(pos)
|
||||
if minetest.get_node(pos).name == modname .. ":shelf_bamboo" then
|
||||
return nodecore.stack_get(pos)
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
nodecore.register_craft({
|
||||
label = "assemble bamboo basket",
|
||||
action = "stackapply",
|
||||
indexkeys = {"nc_woodwork:form"},
|
||||
wield = {name = "wc_naturae:bamboo_pole"},
|
||||
consumewield = 1,
|
||||
nodes = {
|
||||
{
|
||||
match = {name = "nc_woodwork:form", empty = true},
|
||||
replace = modname .. ":shelf_bamboo"
|
||||
},
|
||||
}
|
||||
})
|
38
battery.lua
Normal file
38
battery.lua
Normal file
@ -0,0 +1,38 @@
|
||||
-- LUALOCALS < ---------------------------------------------------------
|
||||
local minetest, nodecore
|
||||
= minetest, nodecore
|
||||
-- LUALOCALS > ---------------------------------------------------------
|
||||
|
||||
local modname = minetest.get_current_modname()
|
||||
|
||||
local form = "nc_lode_annealed.png^[mask:nc_api_storebox_frame.png"
|
||||
|
||||
local side = "nc_lode_annealed.png^(" .. form .. ")"
|
||||
|
||||
local acid = "wc_meltdown_corrosive.png^(" ..form.. ")"
|
||||
|
||||
minetest.register_node(modname .. ":shelf_acid", {
|
||||
description = "Corrosive Battery",
|
||||
tiles = {side, side, acid},
|
||||
selection_box = nodecore.fixedbox(),
|
||||
collision_box = nodecore.fixedbox(),
|
||||
groups = {
|
||||
cracky = 4,
|
||||
visinv = 1,
|
||||
storebox = 2,
|
||||
totable = 1,
|
||||
scaling_time = 50,
|
||||
corrosive = 1,
|
||||
falling_node = 1
|
||||
},
|
||||
paramtype = "light",
|
||||
sounds = nodecore.sounds("nc_lode_annealed"),
|
||||
storebox_access = function(pt) return pt.above.y > pt.under.y end,
|
||||
on_ignite = function(pos)
|
||||
if minetest.get_node(pos).name == modname .. ":shelf_acid" then
|
||||
return nodecore.stack_get(pos)
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
|
47
ilmenite.lua
Normal file
47
ilmenite.lua
Normal file
@ -0,0 +1,47 @@
|
||||
-- LUALOCALS < ---------------------------------------------------------
|
||||
local minetest, nodecore
|
||||
= minetest, nodecore
|
||||
-- LUALOCALS > ---------------------------------------------------------
|
||||
|
||||
local modname = minetest.get_current_modname()
|
||||
|
||||
local form = "nc_lode_annealed.png^[mask:nc_api_storebox_frame.png"
|
||||
|
||||
local ilmenite = "block_ilmenite.png^(" .. form .. ")"
|
||||
|
||||
minetest.register_node(modname .. ":shelf_ilmenite", {
|
||||
description = "Ilmenite Cauldron",
|
||||
tiles = {ilmenite, ilmenite, form},
|
||||
selection_box = nodecore.fixedbox(),
|
||||
collision_box = nodecore.fixedbox(),
|
||||
groups = {
|
||||
cracky = 3,
|
||||
visinv = 1,
|
||||
storebox = 3,
|
||||
totable = 1,
|
||||
scaling_time = 50,
|
||||
lux_absorb = 20,
|
||||
},
|
||||
paramtype = "light",
|
||||
sounds = nodecore.sounds("nc_luxgate_ilmenite"),
|
||||
storebox_access = function(pt) return pt.above.y > pt.under.y end,
|
||||
on_ignite = function(pos)
|
||||
if minetest.get_node(pos).name == modname .. ":shelf_ilmenite" then
|
||||
return nodecore.stack_get(pos)
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
nodecore.register_craft({
|
||||
label = "assemble ilmenite cauldron",
|
||||
action = "stackapply",
|
||||
indexkeys = {"nc_lode:form"},
|
||||
wield = {name = "nc_luxgate:block_ilmenite"},
|
||||
consumewield = 1,
|
||||
nodes = {
|
||||
{
|
||||
match = {name = "nc_lode:form", empty = true},
|
||||
replace = modname .. ":shelf_ilmenite"
|
||||
},
|
||||
}
|
||||
})
|
49
plumbum.lua
Normal file
49
plumbum.lua
Normal file
@ -0,0 +1,49 @@
|
||||
-- LUALOCALS < ---------------------------------------------------------
|
||||
local minetest, nodecore
|
||||
= minetest, nodecore
|
||||
-- LUALOCALS > ---------------------------------------------------------
|
||||
|
||||
local modname = minetest.get_current_modname()
|
||||
|
||||
local form = "nc_optics_glass_edges.png^[colorize:plum:100^(nc_lode_annealed.png^[mask:nc_optics_tank_mask.png)"
|
||||
|
||||
local plum = "(nc_optics_glass_glare.png^[colorize:plum:100)^(" .. form .. ")"
|
||||
|
||||
minetest.register_node(modname .. ":shelf_plum", {
|
||||
description = "Plum Glass Case",
|
||||
tiles = {plum, plum, form},
|
||||
selection_box = nodecore.fixedbox(),
|
||||
collision_box = nodecore.fixedbox(),
|
||||
groups = {
|
||||
cracky = 3,
|
||||
visinv = 1,
|
||||
storebox = 2,
|
||||
totable = 1,
|
||||
scaling_time = 50,
|
||||
silica = 1,
|
||||
silica_clear = 1,
|
||||
lux_absorb = 50,
|
||||
},
|
||||
paramtype = "light",
|
||||
sounds = nodecore.sounds("nc_optics_glassy"),
|
||||
storebox_access = function(pt) return pt.above.y > pt.under.y end,
|
||||
on_ignite = function(pos)
|
||||
if minetest.get_node(pos).name == modname .. ":shelf_plum" then
|
||||
return nodecore.stack_get(pos)
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
nodecore.register_craft({
|
||||
label = "assemble plum glass case",
|
||||
action = "stackapply",
|
||||
indexkeys = {"nc_lode:form"},
|
||||
wield = {name = "wc_plumbum:glass"},
|
||||
consumewield = 1,
|
||||
nodes = {
|
||||
{
|
||||
match = {name = "nc_lode:form", empty = true},
|
||||
replace = modname .. ":shelf_plum"
|
||||
},
|
||||
}
|
||||
})
|
49
thorns.lua
Normal file
49
thorns.lua
Normal file
@ -0,0 +1,49 @@
|
||||
-- LUALOCALS < ---------------------------------------------------------
|
||||
local minetest, nodecore
|
||||
= minetest, nodecore
|
||||
-- LUALOCALS > ---------------------------------------------------------
|
||||
|
||||
local modname = minetest.get_current_modname()
|
||||
|
||||
local bark = "nc_tree_tree_side.png^[mask:nc_api_storebox_frame.png"
|
||||
|
||||
local thorn = "wc_naturae_thornbriar.png^(" .. bark .. ")"
|
||||
|
||||
minetest.register_node(modname .. ":shelf_thorns", {
|
||||
description = "Thorny Basket",
|
||||
tiles = {thorn, thorn, bark},
|
||||
selection_box = nodecore.fixedbox(),
|
||||
collision_box = nodecore.fixedbox(),
|
||||
groups = {
|
||||
snappy = 1,
|
||||
visinv = 1,
|
||||
flammable = 2,
|
||||
fire_fuel = 3,
|
||||
storebox = 1,
|
||||
totable = 1,
|
||||
scaling_time = 50,
|
||||
damage_touch = 1
|
||||
},
|
||||
paramtype = "light",
|
||||
sounds = nodecore.sounds("nc_terrain_swishy"),
|
||||
storebox_access = function(pt) return pt.above.y > pt.under.y end,
|
||||
on_ignite = function(pos)
|
||||
if minetest.get_node(pos).name == modname .. ":shelf_thorns" then
|
||||
return nodecore.stack_get(pos)
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
nodecore.register_craft({
|
||||
label = "assemble thorny basket",
|
||||
action = "stackapply",
|
||||
indexkeys = {"nc_woodwork:form"},
|
||||
wield = {name = "nc_tree:stick"},
|
||||
consumewield = 1,
|
||||
nodes = {
|
||||
{
|
||||
match = {name = "nc_woodwork:form", empty = true},
|
||||
replace = modname .. ":shelf_thorns"
|
||||
},
|
||||
}
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user