Add tin cable textures by me and LuanHawk
This commit is contained in:
parent
cfdcd58569
commit
da3d99164b
@ -147,14 +147,14 @@ local function registerCable(name,displayName,size,flow,registerInsulated)
|
|||||||
definition=table.copy(definition)
|
definition=table.copy(definition)
|
||||||
definition.description=S("Insulated "..displayName.." Cable")
|
definition.description=S("Insulated "..displayName.." Cable")
|
||||||
definition.inventory_image="industrialtest_insulated_"..name.."_cable_inv.png"
|
definition.inventory_image="industrialtest_insulated_"..name.."_cable_inv.png"
|
||||||
definition.tiles={"industrialtest_insulated_copper_cable.png"}
|
definition.tiles={"industrialtest_insulated_"..name.."_cable.png"}
|
||||||
definition.wield_image="industrialtest_insulated_"..name.."_cable_inv.png"
|
definition.wield_image="industrialtest_insulated_"..name.."_cable_inv.png"
|
||||||
definition._industrialtest_electrocution=nil
|
definition._industrialtest_electrocution=nil
|
||||||
minetest.register_node("industrialtest:insulated_"..name.."_cable",definition)
|
minetest.register_node("industrialtest:insulated_"..name.."_cable",definition)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
registerCable("tin","Tin",0.15,industrialtest.api.lvPowerFlow,true)
|
registerCable("tin","Tin",0.19,industrialtest.api.lvPowerFlow,true)
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type="shaped",
|
type="shaped",
|
||||||
output="industrialtest:tin_cable 6",
|
output="industrialtest:tin_cable 6",
|
||||||
|
BIN
textures/industrialtest_insulated_tin_cable.png
Normal file
BIN
textures/industrialtest_insulated_tin_cable.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 761 B |
BIN
textures/industrialtest_insulated_tin_cable_inv.png
Normal file
BIN
textures/industrialtest_insulated_tin_cable_inv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 776 B |
BIN
textures/industrialtest_tin_cable.png
Normal file
BIN
textures/industrialtest_tin_cable.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 833 B |
BIN
textures/industrialtest_tin_cable_inv.png
Normal file
BIN
textures/industrialtest_tin_cable_inv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 996 B |
Loading…
Reference in New Issue
Block a user