update farming, moreblocks, and moreores
This commit is contained in:
parent
ea9e0c62c9
commit
952f9f2b28
@ -269,7 +269,7 @@ end
|
||||
|
||||
minetest.after(0, function()
|
||||
|
||||
for _, node_def in ipairs(minetest.registered_nodes) do
|
||||
for _, node_def in pairs(minetest.registered_nodes) do
|
||||
register_plant_node(node_def)
|
||||
end
|
||||
end)
|
||||
|
@ -14,9 +14,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
|
||||
### Changed
|
||||
|
||||
- The minimum supported Minetest version is now 5.0.0.
|
||||
- Stairs+ nodes now emit one light level less compared to full nodes to make up
|
||||
for their smaller visual size.
|
||||
- The minimum supported Minetest version is now 5.0.0.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed a recipe conflict that made Centered Wooden Tiles impossible to craft.
|
||||
|
||||
## [1.3.0] - 2019-03-23
|
||||
|
||||
|
@ -35,15 +35,6 @@ minetest.register_craft({
|
||||
recipe = {"default:junglegrass", "default:cobble"},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "moreblocks:wood_tile_center 9",
|
||||
recipe = {
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
{"group:wood", "moreblocks:wood_tile", "group:wood"},
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "moreblocks:wood_tile 9",
|
||||
recipe = {
|
||||
@ -53,6 +44,17 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
-- This must be registered after `moreblocks:wood_tile` to avoid recipe conflicts,
|
||||
-- since `moreblocks:wood_tile` is part of `group:wood`
|
||||
minetest.register_craft({
|
||||
output = "moreblocks:wood_tile_center 9",
|
||||
recipe = {
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
{"group:wood", "moreblocks:wood_tile", "group:wood"},
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "moreblocks:wood_tile",
|
||||
|
@ -14,6 +14,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
### Changed
|
||||
|
||||
- The minimum supported Minetest version is now 5.0.0.
|
||||
- Copper rails are now registered using functions from the `carts` mod,
|
||||
making them interoperate seamlessly with default rails.
|
||||
- Copper rails can no longer be placed in the air.
|
||||
|
||||
## [1.1.0] - 2019-03-23
|
||||
|
||||
|
@ -329,45 +329,20 @@ else
|
||||
end
|
||||
|
||||
-- Copper rail (unique node)
|
||||
minetest.register_node("moreores:copper_rail", {
|
||||
description = S("Copper Rail"),
|
||||
drawtype = "raillike",
|
||||
tiles = {
|
||||
"moreores_copper_rail.png",
|
||||
"moreores_copper_rail_curved.png",
|
||||
"moreores_copper_rail_t_junction.png",
|
||||
"moreores_copper_rail_crossing.png",
|
||||
},
|
||||
inventory_image = "moreores_copper_rail.png",
|
||||
wield_image = "moreores_copper_rail.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-1/2,
|
||||
-1/2,
|
||||
-1/2,
|
||||
1/2,
|
||||
-1/2 + 1/16,
|
||||
1/2,
|
||||
if minetest.get_modpath("carts") then
|
||||
carts:register_rail("moreores:copper_rail", {
|
||||
description = S("Copper Rail"),
|
||||
tiles = {
|
||||
"moreores_copper_rail.png",
|
||||
"moreores_copper_rail_curved.png",
|
||||
"moreores_copper_rail_t_junction.png",
|
||||
"moreores_copper_rail_crossing.png",
|
||||
},
|
||||
},
|
||||
sounds = default_metal_sounds,
|
||||
groups = {bendy = 2, snappy = 1, dig_immediate = 2, rail = 1, connect_to_raillike = 1},
|
||||
mesecons = {
|
||||
effector = {
|
||||
action_on = function(pos, node)
|
||||
minetest.get_meta(pos):set_string("cart_acceleration", "0.5")
|
||||
end,
|
||||
|
||||
action_off = function(pos, node)
|
||||
minetest.get_meta(pos):set_string("cart_acceleration", "0")
|
||||
end,
|
||||
},
|
||||
},
|
||||
})
|
||||
inventory_image = "moreores_copper_rail.png",
|
||||
wield_image = "moreores_copper_rail.png",
|
||||
groups = carts:get_rail_groups(),
|
||||
}, {})
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = "moreores:copper_rail 24",
|
||||
|
@ -1,4 +1,4 @@
|
||||
name = moreores
|
||||
description = Adds new ore types.
|
||||
depends = default
|
||||
optional_depends = farming,intllib,mg
|
||||
optional_depends = carts,farming,intllib,mg
|
||||
|
Loading…
x
Reference in New Issue
Block a user