forked from nalc/homedecor_modpack
Add thin candle, repurpose "thick" candle recipe for it
add new recipe for thick candle
This commit is contained in:
parent
b8807bfe83
commit
5f1ce0b01f
|
@ -1250,13 +1250,22 @@ minetest.register_craft({
|
||||||
-- candles
|
-- candles
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "homedecor:candle 4",
|
output = "homedecor:candle_thin 4",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"farming:string" },
|
{"farming:string" },
|
||||||
{"homedecor:paraffin" }
|
{"homedecor:paraffin" }
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "homedecor:candle 2",
|
||||||
|
recipe = {
|
||||||
|
{"farming:string" },
|
||||||
|
{"homedecor:paraffin" },
|
||||||
|
{"homedecor:paraffin" }
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "homedecor:oil_lamp 4",
|
output = "homedecor:oil_lamp 4",
|
||||||
recipe = {
|
recipe = {
|
||||||
|
|
|
@ -299,6 +299,37 @@ minetest.register_node('homedecor:candle', {
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node('homedecor:candle_thin', {
|
||||||
|
description = S("Candle"),
|
||||||
|
drawtype = "nodebox",
|
||||||
|
tiles = {
|
||||||
|
'homedecor_candle_top.png',
|
||||||
|
'homedecor_candle_bottom.png',
|
||||||
|
{name="homedecor_candle_sides.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}},
|
||||||
|
},
|
||||||
|
node_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {
|
||||||
|
{ -0.0625, -0.5, -0.0625, 0.0625, 0, 0.0625 },
|
||||||
|
{ -0.125, 0, 0, 0.125, 0.5, 0 },
|
||||||
|
{ 0, 0, -0.125, 0, 0.5, 0.125 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {
|
||||||
|
{ -0.125, -0.5, -0.125, 0.125, 0.35, 0.125 },
|
||||||
|
}
|
||||||
|
},
|
||||||
|
sunlight_propagates = true,
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
walkable = true,
|
||||||
|
groups = { snappy = 3 },
|
||||||
|
light_source = LIGHT_MAX-4,
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_node('homedecor:oil_lamp', {
|
minetest.register_node('homedecor:oil_lamp', {
|
||||||
description = S("Oil lamp"),
|
description = S("Oil lamp"),
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user