Log warning of unused mods when dependencies are missing

This commit is contained in:
stujones11
2017-03-21 15:16:58 +00:00
parent ea86aa35f5
commit 348dad3d4d
4 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
if not minetest.get_modpath("technic") then
minetest.log("warning", "hazmat_suit: Mod loaded but unused.")
return
end
local part_count = 4
local level = 35