Remove one deprecated function

Deletes deprecated depends.txt and description.txt. Uses mod.conf for optional dependencies, and description.
This commit is contained in:
Panquesito7 2019-09-24 20:49:21 -05:00
parent 48dd7aa045
commit 765e34bfe5
3 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,4 @@
if rawget(_G, "cmsg") then
if minetest.global_exists("cmsg") then
function quests.show_message(t, playername, text)
if (quests.hud[playername].central_message_enabled) then
local player = minetest.get_player_by_name(playername)

View File

@ -1,4 +0,0 @@
intllib?
unified_inventory?
inventory_plus?
central_message?

3
mod.conf Normal file
View File

@ -0,0 +1,3 @@
name = quests
optional_depends = intllib, unified_inventory, inventory_plus, central_message
description = Quest framework for Minetest.