This commit is contained in:
James David Clarke 2023-12-30 13:33:32 +00:00
parent 21d76f0b70
commit 4f59214f34
No known key found for this signature in database
GPG Key ID: 9F5ECFD0E20F1C4C
3 changed files with 13 additions and 6 deletions

View File

@ -91,8 +91,8 @@ technic.register_can({
can_description = S("Water Can"),
can_inventory_image = "technic_water_can.png",
can_capacity = 16,
liquid_source_name = "default:water_source",
liquid_flowing_name = "default:water_flowing",
liquid_source_name = technic_compat.water_source_fluid,
liquid_flowing_name = technic_compat.water_flowing_fluid,
})
minetest.register_craft({
@ -109,8 +109,8 @@ technic.register_can({
can_description = S("Lava Can"),
can_inventory_image = "technic_lava_can.png",
can_capacity = 8,
liquid_source_name = "default:lava_source",
liquid_flowing_name = "default:lava_flowing",
liquid_source_name = technic_compat.lava_source_fluid,
liquid_flowing_name = technic_compat.lava_flowing_fluid,
})
minetest.register_craft({
@ -127,8 +127,8 @@ technic.register_can({
can_description = S("River Water Can"),
can_inventory_image = "technic_river_water_can.png",
can_capacity = 16,
liquid_source_name = "default:river_water_source",
liquid_flowing_name = "default:river_water_flowing",
liquid_source_name = technic_compat.river_water_source_fluid,
liquid_flowing_name = technic_compat.river_water_flowing_fluid,
})
minetest.register_craft({

View File

@ -12,5 +12,6 @@ local mcl_path = modpath .. "/mcl/"
dofile(mcl_path .. "sounds.lua")
dofile(mcl_path .. "textures.lua")
dofile(mcl_path .. "miscellaneous.lua")
dofile(mcl_path .. "fluids.lua")
dofile(mcl_path .. "crafting.lua")
dofile(mcl_path .. "craftguide.lua")

View File

@ -0,0 +1,6 @@
technic_compat.water_source_fluid = technic_compat.mcl and "mcl_core:water_source" or "default:water_source"
technic_compat.water_flowing_fluid = technic_compat.mcl and "mcl_core:water_flowing" or "default:water_flowing"
technic_compat.river_water_source_fluid = technic_compat.mcl and "mclx_core:river_water_source" or "default:river_water_source"
technic_compat.river_water_flowing_fluid = technic_compat.mcl and "mclx_core:river_water_flowing" or "default:river_water_flowing"
technic_compat.lava_source_fluid = technic_compat.mcl and "mcl_core:lava_source" or "default:lava_source"
technic_compat.lava_flowing_fluid = technic_compat.mcl and "mcl_core:lava_flowing" or "default:lava_flowing"