Pipeworks compatibility: Solar Panel

This commit is contained in:
mrkubax10 2024-02-29 19:24:24 +01:00
parent d337e2a0f5
commit 64cdff6139

View File

@ -158,6 +158,10 @@ minetest.override_item("industrialtest:geothermal_generator",override)
minetest.override_item("industrialtest:geothermal_generator_active",override)
-- Water Mill
override.groups=minetest.registered_nodes["industrialtest:water_mill"].groups
override.groups.tubedevice=1
override.groups.tubedevice_receiver=1
minetest.override_item("industrialtest:water_mill",override)
-- Wind Mill
@ -201,3 +205,20 @@ override={
}
minetest.override_item("industrialtest:wind_mill",override)
-- Solar Panel
override.groups=minetest.registered_nodes["industrialtest:solar_panel"].groups
override.groups.tubedevice=1
override.groups.tubedevice_receiver=1
override.tube.connect_sides={
left=1,
right=1,
back=1,
front=1,
bottom=1
}
minetest.override_item("industrialtest:solar_panel",override)
minetest.override_item("industrialtest:lv_solar_array",override)
minetest.override_item("industrialtest:mv_solar_array",override)
minetest.override_item("industrialtest:hv_solar_array",override)