Skip to content

Commit

Permalink
lord-server#267 Update MTG/default: move mapgen into overwrites. Closes
Browse files Browse the repository at this point in the history
  • Loading branch information
alek13 committed Dec 2, 2022
1 parent 9fa330d commit 32e95e9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mods/_lott/lottmapgen/mod.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = lottmapgen
description = LOTT Game mod: lottmapgen - Adds a map generation based off Middle Earth
depends = default, lottplants, lottfarming, lottores, worldedit, lottother, stairs, lordlib
depends = default, lottplants, lottfarming, lottores, worldedit, lottother, stairs, lordlib, lord_overwrites_mtg_default
optional_depends = areas
2 changes: 1 addition & 1 deletion mods/_minetest_game/default/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ dofile(default_path.."/item_entity.lua")
dofile(default_path.."/craftitems.lua")
dofile(default_path.."/crafting.lua")
-- не обновлён, т.к. генерация своя(убогая, но какая досталась), пока нет возможности обновить её:
dofile(default_path.."/mapgen.lua")
--dofile(default_path.."/mapgen.lua")
-- добавились, но пока что не подключаем, т.к. есть аналогичные наши
--dofile(default_path.."/aliases.lua")
-- нужно повнимательнее посмотреть на код внутри (нет ли конфликтов с нашим кодом:
Expand Down
3 changes: 3 additions & 0 deletions mods/lord/_overwrites/MTG/default/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -672,3 +672,6 @@ minetest.register_node(":default:ice", {
groups = {cracky = 3, cools_lava = 1, slippery = 3},
sounds = default.node_sound_ice_defaults(),
})


dofile(minetest.get_modpath("lord_overwrites_mtg_default").."/mapgen.lua")
File renamed without changes.

0 comments on commit 32e95e9

Please sign in to comment.