mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-13 05:50:41 +01:00
Fix cans
This commit is contained in:
parent
21d76f0b70
commit
4f59214f34
|
@ -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({
|
||||
|
|
|
@ -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")
|
||||
|
|
6
technic_compat/mcl/fluids.lua
Normal file
6
technic_compat/mcl/fluids.lua
Normal 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"
|
Loading…
Reference in New Issue
Block a user