Move rail to boost_cart
|
@ -1,6 +1,6 @@
|
|||
local raillike_group = minetest.raillike_group("rail")
|
||||
|
||||
minetest.register_node(":hades_core:rail", {
|
||||
minetest.register_node(":carts:rail", {
|
||||
description = "Steel Rail",
|
||||
drawtype = "raillike",
|
||||
tiles = {"default_rail.png", "default_rail_curved.png", "default_rail_t_junction.png", "default_rail_crossing.png"},
|
||||
|
@ -18,6 +18,15 @@ minetest.register_node(":hades_core:rail", {
|
|||
sounds = hades_sounds.node_sound_metal_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'carts:rail 18',
|
||||
recipe = {
|
||||
{'hades_core:steel_ingot', '', 'hades_core:steel_ingot'},
|
||||
{'hades_core:steel_ingot', 'group:stick', 'hades_core:steel_ingot'},
|
||||
{'hades_core:steel_ingot', '', 'hades_core:steel_ingot'},
|
||||
}
|
||||
})
|
||||
|
||||
-- Copper rail
|
||||
minetest.register_node(":carts:copperrail", {
|
||||
description = "Bronze Rail",
|
||||
|
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
@ -250,17 +250,6 @@ minetest.register_craft({
|
|||
})
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'hades_core:rail 18',
|
||||
recipe = {
|
||||
{'hades_core:steel_ingot', '', 'hades_core:steel_ingot'},
|
||||
{'hades_core:steel_ingot', 'group:stick', 'hades_core:steel_ingot'},
|
||||
{'hades_core:steel_ingot', '', 'hades_core:steel_ingot'},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "hades_core:bronze_ingot 2",
|
||||
|
|
|
@ -657,24 +657,6 @@ minetest.register_node("hades_core:glass", {
|
|||
sounds = hades_sounds.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("hades_core:rail", {
|
||||
description = "Rail",
|
||||
drawtype = "raillike",
|
||||
tiles = {"default_rail.png", "default_rail_curved.png", "default_rail_t_junction.png", "default_rail_crossing.png"},
|
||||
inventory_image = "default_rail.png",
|
||||
wield_image = "default_rail.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
is_ground_content = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
-- but how to specify the dimensions for curved and sideways rails?
|
||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||
},
|
||||
groups = {dig_immediate=2,attached_node=1,rail=1,connect_to_raillike=minetest.raillike_group("rail")},
|
||||
sounds = hades_sounds.node_sound_metal_defaults(),
|
||||
})
|
||||
|
||||
--- Liquids
|
||||
|
||||
minetest.register_node("hades_core:water_flowing", {
|
||||
|
|
Before Width: | Height: | Size: 1.0 KiB |