Forgot to create extender texture and source its file

This commit is contained in:
IamPyu 2024-12-17 19:21:11 -06:00
parent a6286169b3
commit d3ec0634b6
4 changed files with 4 additions and 6 deletions

View File

@ -9,12 +9,9 @@ local function do_particles(pos)
glow = core.LIGHT_MAX,
-- collisiondetection = true,
texture = "pyutest-snowball-particle.png",
-- texture = "pyutest-snowball-particle.png",
pos = pos,
vel = {
min = vector.new(-vel, -vel, -vel),
max = vector.new(vel, vel, vel),
},
node = {name = "pyutest_blocks:snow"},
-- minvel = vector.new(-vel, -vel, -vel),
-- maxvel = vector.new(vel, vel, vel),
})

View File

@ -4,7 +4,7 @@ end
PyuTest.make_electricity_device("pyutest_electricity:extender", "Extender", {
cracky = PyuTest.BLOCK_NORMAL
}, {"pyutest-delayer.png"}, nil, {
}, {"pyutest-extender.png"}, nil, {
after_place_node = after_place_node,
}, function (pos, node, sender_pos, sender)
PyuTest.component_action(pos, sender)

View File

@ -4,6 +4,7 @@ dofile(modpath .. "/wirecutter.lua")
dofile(modpath .. "/api.lua")
dofile(modpath .. "/components.lua")
dofile(modpath .. "/components/extender.lua")
dofile(modpath .. "/components/delayer.lua")
dofile(modpath .. "/devices.lua")

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 B