mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
Add Coffee Steam
This commit is contained in:
parent
bd3542ed0e
commit
689f9a8b43
@ -1182,6 +1182,30 @@ minetest.register_node("homedecor:coffee_maker", {
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = "homedecor:coffee_maker",
|
||||
interval = 1,
|
||||
chance = 1,
|
||||
action = function(pos, node)
|
||||
minetest.add_particlespawner({
|
||||
amount = 1,
|
||||
time = 1,
|
||||
minpos = {x=pos.x-0.15, y=pos.y-0.35, z=pos.z-0.275},
|
||||
maxpos = {x=pos.x-0.15, y=pos.y-0.35, z=pos.z-0.275},
|
||||
minvel = {x=-0.003, y=0.01, z=-0.003},
|
||||
maxvel = {x=0.003, y=0.01, z=-0.003},
|
||||
minacc = {x=0.0,y=-0.0,z=-0.0},
|
||||
maxacc = {x=0.0,y=0.003,z=-0.0},
|
||||
minexptime = 2,
|
||||
maxexptime = 5,
|
||||
minsize = 1,
|
||||
maxsize = 1.2,
|
||||
collisiondetection = false,
|
||||
texture = "homedecor_steam.png",
|
||||
})
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_node("homedecor:dartboard", {
|
||||
description = "Dartboard",
|
||||
drawtype = "signlike",
|
||||
|
BIN
homedecor/textures/homedecor_steam.png
Normal file
BIN
homedecor/textures/homedecor_steam.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 224 B |
Loading…
Reference in New Issue
Block a user