mirror of
https://github.com/adrido/darkage.git
synced 2025-01-09 09:20:19 +01:00
Removed Straw. Aliased darkage:straw to farming:straw. Depends now on farming
This commit is contained in:
parent
fe88e3bb2e
commit
729494e8af
@ -1,3 +1,3 @@
|
||||
default
|
||||
farming?
|
||||
moreblocks?
|
||||
farming
|
||||
moreblocks?
|
||||
|
34
init.lua
34
init.lua
@ -49,7 +49,7 @@ minetest.register_craft({
|
||||
output = 'darkage:adobe 4',
|
||||
recipe = {
|
||||
{'default:sand','default:sand'},
|
||||
{'default:clay_lump','darkage:straw'},
|
||||
{'default:clay_lump','farming:straw'},
|
||||
}
|
||||
})
|
||||
|
||||
@ -143,40 +143,12 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:straw 2',
|
||||
recipe = {
|
||||
{'default:dry_shrub','default:dry_shrub'},
|
||||
{'default:dry_shrub','default:dry_shrub'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:straw 2',
|
||||
recipe = {
|
||||
{'darkage:dry_leaves','darkage:dry_leaves'},
|
||||
{'darkage:dry_leaves','darkage:dry_leaves'},
|
||||
}
|
||||
})
|
||||
|
||||
if minetest.get_modpath("farming") then
|
||||
--only if farming installed
|
||||
minetest.register_craft({
|
||||
output = 'darkage:straw 4',
|
||||
recipe = {
|
||||
{'farming:wheat_harvested','farming:wheat_harvested'},
|
||||
{'farming:wheat_harvested','farming:wheat_harvested'},
|
||||
}
|
||||
})
|
||||
else
|
||||
--nothing else
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:straw_bale',
|
||||
recipe = {
|
||||
{'darkage:straw','darkage:straw'},
|
||||
{'darkage:straw','darkage:straw'},
|
||||
{'farming:straw','farming:straw'},
|
||||
{'farming:straw','farming:straw'},
|
||||
}
|
||||
})
|
||||
|
||||
|
11
nodes.lua
11
nodes.lua
@ -198,13 +198,8 @@ minetest.register_node("darkage:slate_tile", {
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
minetest.register_node("darkage:straw", {
|
||||
description = "Straw",
|
||||
tiles = {"darkage_straw.png"},
|
||||
is_ground_content = true,
|
||||
groups = {snappy=3, flammable=2},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
-- Removed straw, because its in minetst game. Registering alias for compatibility reasons
|
||||
minetest.register_alias("darkage:straw", "farming:straw")
|
||||
|
||||
minetest.register_node("darkage:stone_brick", {
|
||||
description = "Stone Brick",
|
||||
@ -218,7 +213,7 @@ minetest.register_node("darkage:straw_bale", {
|
||||
description = "Straw Bale",
|
||||
tiles = {"darkage_straw_bale.png"},
|
||||
is_ground_content = true,
|
||||
drop = 'darkage:straw 4',
|
||||
drop = 'farming:straw 4',
|
||||
groups = {snappy=2, flammable=2},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
@ -39,9 +39,9 @@ sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
--straw
|
||||
stairsplus:register_all("darkage", "straw", "darkage:straw", {
|
||||
stairsplus:register_all("darkage", "straw", "farming:straw", {
|
||||
description = "Straw",
|
||||
tiles = {"darkage_straw.png"},
|
||||
tiles = {"farming_straw.png"},
|
||||
groups = {snappy=3, flammable=2},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 852 B |
Binary file not shown.
Before Width: | Height: | Size: 813 B |
Binary file not shown.
Before Width: | Height: | Size: 717 B |
Binary file not shown.
Before Width: | Height: | Size: 717 B |
Binary file not shown.
Before Width: | Height: | Size: 669 B |
Binary file not shown.
Before Width: | Height: | Size: 2.8 KiB |
Loading…
Reference in New Issue
Block a user