Skip to content

Commit

Permalink
Revert "Fixed castle:straw warning "overwriting stair node" 🚨" (#742) f…
Browse files Browse the repository at this point in the history
…ixes #741

This reverts commit 44143db.
  • Loading branch information
weqqr authored Aug 27, 2022
1 parent 1e80076 commit b7dc1d4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion mods/_various/castle/mod.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name = castle
depends = default, stairs, doors, lord_overwrites_mtg_farming, lottores, lottblocks, lottmapgen, lordlib
depends = default, stairs, doors, farming, lottores, lottblocks, lottmapgen, lordlib
optional_depends = building_blocks, asphalt, streets, moreblocks
4 changes: 3 additions & 1 deletion mods/_various/castle/town_item.lua
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,9 @@ minetest.register_craft({
}
})

stairs.register_stair_and_slab("straw", "castle:straw",
stairs.register_stair_and_slab(
"straw",
"castle:straw",
{choppy = 3, flammable = 1, oddly_breakable_by_hand = 3, grass = 1},
{"castle_straw.png"},
SL("Castle Straw Stair"),
Expand Down
8 changes: 0 additions & 8 deletions mods/lord/_overwrites/MTG/farming/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,3 @@ minetest.clear_craft({output = "farming:hoe_mese"})
minetest.unregister_item("farming:hoe_mese")
minetest.clear_craft({output = "farming:hoe_diamond"})
minetest.unregister_item("farming:hoe_diamond")

-- Удаляем farming:straw (вместо него castle:straw)
minetest.unregister_item("farming:straw")
minetest.unregister_item("stairs:stair_straw")
minetest.unregister_item("stairs:stair_inner_straw")
minetest.unregister_item("stairs:stair_outer_straw")
minetest.unregister_item("stairs:slab_straw")
minetest.register_alias("farming:straw", "castle:straw") -- на всякий случай

0 comments on commit b7dc1d4

Please sign in to comment.