1
0
Fork 0

Move rail to mcl_minecarts

This commit is contained in:
Wuzzy 2017-02-16 20:15:43 +01:00
parent 5ac874eaaa
commit b93a2a8f5f
7 changed files with 29 additions and 29 deletions

View File

@ -408,15 +408,6 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = 'mcl_core:rail 16',
recipe = {
{'mcl_core:iron_ingot', '', 'mcl_core:iron_ingot'},
{'mcl_core:iron_ingot', 'mcl_core:stick', 'mcl_core:iron_ingot'},
{'mcl_core:iron_ingot', '', 'mcl_core:iron_ingot'},
}
})
minetest.register_craft({
output = 'mcl_core:haybale',
recipe = {

View File

@ -988,25 +988,6 @@ mcl_core.add_glass( "Magenta Stained Glass", "basecolor_magenta", "magenta")
mcl_core.add_glass( "Purple Stained Glass", "excolor_violet", "purple")
mcl_core.add_glass( "Cyan Stained Glass", "basecolor_cyan", "cyan")
minetest.register_node("mcl_core:rail", {
description = "Rail",
drawtype = "raillike",
tiles = {"default_rail.png", "default_rail_curved.png", "default_rail_t_junction.png", "default_rail_crossing.png"},
is_ground_content = false,
inventory_image = "default_rail.png",
wield_image = "default_rail.png",
paramtype = "light",
walkable = 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},
},
stack_max = 64,
groups = {cracky=3,oddly_breakable_by_hand=3,attached_node=1,rail=1,connect_to_raillike=1,dig_by_water=1,transport=1},
sounds = mcl_sounds.node_sound_defaults(),
})
minetest.register_node("mcl_core:ladder", {
description = "Ladder",
drawtype = "signlike",

View File

@ -1,5 +1,33 @@
-- Speed up
-- Normal rail
minetest.register_node("mcl_minecarts:rail", {
description = "Rail",
drawtype = "raillike",
tiles = {"default_rail.png", "default_rail_curved.png", "default_rail_t_junction.png", "default_rail_crossing.png"},
is_ground_content = false,
inventory_image = "default_rail.png",
wield_image = "default_rail.png",
paramtype = "light",
walkable = 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},
},
stack_max = 64,
groups = {cracky=3,oddly_breakable_by_hand=3,attached_node=1,rail=1,connect_to_raillike=1,dig_by_water=1,transport=1},
sounds = mcl_sounds.node_sound_defaults(),
})
minetest.register_craft({
output = 'mcl_minecarts:rail 16',
recipe = {
{'mcl_core:iron_ingot', '', 'mcl_core:iron_ingot'},
{'mcl_core:iron_ingot', 'mcl_core:stick', 'mcl_core:iron_ingot'},
{'mcl_core:iron_ingot', '', 'mcl_core:iron_ingot'},
}
})
-- Rail to speed up
minetest.register_node("mcl_minecarts:golden_rail", {
description = "Powered Rail",
drawtype = "raillike",

View File

Before

Width:  |  Height:  |  Size: 321 B

After

Width:  |  Height:  |  Size: 321 B

View File

Before

Width:  |  Height:  |  Size: 334 B

After

Width:  |  Height:  |  Size: 334 B

View File

Before

Width:  |  Height:  |  Size: 387 B

After

Width:  |  Height:  |  Size: 387 B

View File

Before

Width:  |  Height:  |  Size: 375 B

After

Width:  |  Height:  |  Size: 375 B