Skip to content

Commit

Permalink
remove unified-inv dependency / switch to mod.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed Jun 18, 2021
1 parent 51580df commit 707250d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 60 deletions.
16 changes: 0 additions & 16 deletions depends.txt

This file was deleted.

5 changes: 0 additions & 5 deletions init.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
local has_xp_redo_mod = minetest.get_modpath("xp_redo")
local has_mobs_mod = minetest.get_modpath("mobs")
local has_unified_inv = minetest.get_modpath("unified_inventory")
local has_mesecons = minetest.get_modpath("mesecons")

local MP = minetest.get_modpath("missions")
Expand Down Expand Up @@ -41,10 +40,6 @@ dofile(MP.."/hud.lua")
dofile(MP.."/block.lua")
dofile(MP.."/wand.lua")

if has_unified_inv then
dofile(MP.."/ui.lua")
end

-- executor
dofile(MP.."/executor.lua")
dofile(MP.."/executor.hud.lua")
Expand Down
3 changes: 3 additions & 0 deletions mod.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name = missions
depends = default
optional_depends = xp_redo, more_chests, mobs_redo, mobs_animal, mobs_monster, mobs_horse, mobs_xenomorph, mobs_fish, mobs_crocs, mobs_jellyfish, mobs_sharks, mobs_turtles, unified_inventory, mesecons
39 changes: 0 additions & 39 deletions ui.lua

This file was deleted.

0 comments on commit 707250d

Please sign in to comment.