nodecore-skyblock/nc_sky_inject/init.lua

35 lines
828 B
Lua
Raw Normal View History

2019-10-23 03:57:37 +02:00
-- LUALOCALS < ---------------------------------------------------------
2019-12-05 06:01:18 +01:00
local nodecore
= nodecore
2019-10-23 03:57:37 +02:00
-- LUALOCALS > ---------------------------------------------------------
2019-12-05 06:01:18 +01:00
local ntgr = nodecore.tree_growth_rate
2019-10-23 03:57:37 +02:00
2019-12-05 06:01:18 +01:00
function nodecore.tree_growth_rate(pos)
return ntgr(pos)*10
end
nodecore.register_craft({
label = "melt cobble to lava",
action = "cook",
touchgroups = {flame = 4},
duration = 30,
cookfx = true,
nodes = {
{
match = "nc_terrain:cobble",
replace = "nc_terrain:lava_source"
}
}
})
2019-12-20 20:49:07 +01:00
nodecore.register_craft({
label = "squash water from leaves",
action = "pummel",
nodes = {
2019-12-20 20:51:17 +01:00
{match = "nc_tree:leaves_loose", replace = "nc_terrain:water_source"}
2019-12-20 20:49:07 +01:00
},
toolgroups = {thumpy = 2}
})
nodecore.register_cook_abm({nodenames = {"nc_terrain:cobble"}, neighbors = {"group:flame"}})