increment
parent
10bf778e26
commit
f8a3c25fbc
|
@ -6,6 +6,9 @@ minetest.register_craftitem(":bitumen:bitumen", {
|
||||||
on_place_on_ground = minetest.craftitem_place_item,
|
on_place_on_ground = minetest.craftitem_place_item,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -68,7 +71,6 @@ minetest.register_craftitem(":bitumen:lpg_regulator", {
|
||||||
on_place_on_ground = minetest.craftitem_place_item,
|
on_place_on_ground = minetest.craftitem_place_item,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
-- these may need to just be tools
|
-- these may need to just be tools
|
||||||
minetest.register_craftitem(":bitumen:small_lpg_bottle", {
|
minetest.register_craftitem(":bitumen:small_lpg_bottle", {
|
||||||
description = "Small LPG Bottle",
|
description = "Small LPG Bottle",
|
||||||
|
@ -85,8 +87,26 @@ minetest.register_craftitem(":bitumen:gas_can", {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_craftitem(":bitumen:brass_ingot", {
|
||||||
|
description = "Brass Ingot",
|
||||||
|
inventory_image = "bitumen_brass_ingot.png",
|
||||||
|
on_place_on_ground = minetest.craftitem_place_item,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem(":bitumen:brass_dust", {
|
||||||
|
description = "Brass Dust",
|
||||||
|
inventory_image = "bitumen_brass_dust.png",
|
||||||
|
on_place_on_ground = minetest.craftitem_place_item,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem(":bitumen:carbon_steel_ingot", {
|
||||||
|
description = "Carbon Steel Ingot",
|
||||||
|
inventory_image = "bitumen_carbon_steel_ingot.png",
|
||||||
|
on_place_on_ground = minetest.craftitem_place_item,
|
||||||
|
})
|
||||||
|
minetest.register_craftitem(":bitumen:carbon_steel_dust", {
|
||||||
|
description = "Carbon Steel Dust",
|
||||||
|
inventory_image = "bitumen_carbon_steel_dust.png",
|
||||||
|
on_place_on_ground = minetest.craftitem_place_item,
|
||||||
|
})
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,59 @@
|
||||||
|
|
||||||
|
minetest.register_node("bitumen:brass_pipe", {
|
||||||
|
-- paramtype = "light",
|
||||||
|
description = "Small Brass Pipe",
|
||||||
|
tiles = {"bitumen_brass_pipe.png", "bitumen_brass_pipe.png", "bitumen_brass_pipe.png",
|
||||||
|
"bitumen_brass_pipe.png", "bitumen_brass_pipe.png", "bitumen_brass_pipe.png"},
|
||||||
|
|
||||||
|
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||||
|
legacy_facedir_simple = true,
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
on_construct = function(pos)
|
||||||
|
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_node("bitumen:carbon_steel_pipe", {
|
||||||
|
-- paramtype = "light",
|
||||||
|
description = "Carbon Steel Pipe",
|
||||||
|
tiles = {"bitumen_carbon_steel_pipe.png", "bitumen_carbon_steel_pipe.png", "bitumen_carbon_steel_pipe.png",
|
||||||
|
"bitumen_carbon_steel_pipe.png", "bitumen_carbon_steel_pipe.png", "bitumen_carbon_steel_pipe.png"},
|
||||||
|
|
||||||
|
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||||
|
legacy_facedir_simple = true,
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
on_construct = function(pos)
|
||||||
|
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("bitumen:medium_pipeline_segment", {
|
||||||
|
-- paramtype = "light",
|
||||||
|
description = "Medium Pipeline Segment",
|
||||||
|
tiles = {"bitumen_medium_pipeline_segment.png", "bitumen_medium_pipeline_segment.png", "bitumen_medium_pipeline_segment.png",
|
||||||
|
"bitumen_medium_pipeline_segment.png", "bitumen_medium_pipeline_segment.png", "bitumen_medium_pipeline_segment.png"},
|
||||||
|
|
||||||
|
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||||
|
legacy_facedir_simple = true,
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
on_construct = function(pos)
|
||||||
|
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("bitumen:medium_pipeline_elbow", {
|
||||||
|
-- paramtype = "light",
|
||||||
|
description = "Medium Pipeline Elbow",
|
||||||
|
tiles = {"bitumen_medium_pipeline_elbow.png", "bitumen_medium_pipeline_elbow.png", "bitumen_medium_pipeline_elbow.png",
|
||||||
|
"bitumen_medium_pipeline_elbow.png", "bitumen_medium_pipeline_elbow.png", "bitumen_medium_pipeline_elbow.png"},
|
||||||
|
|
||||||
|
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||||
|
legacy_facedir_simple = true,
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
on_construct = function(pos)
|
||||||
|
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
|
@ -203,8 +203,8 @@ minetest.register_abm({
|
||||||
})
|
})
|
||||||
--[[
|
--[[
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {"bitumen:cracking_boiler", "bitumen:cracking_boiler_active"},
|
nodenames = {"bitumen:cracking_boiler_active"},
|
||||||
interval = 1,
|
interval = 10,
|
||||||
chance = 1,
|
chance = 1,
|
||||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
-- The machine will automatically shut down if disconnected from power in some fashion.
|
-- The machine will automatically shut down if disconnected from power in some fashion.
|
||||||
|
|
Loading…
Reference in New Issue