1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 22:26:08 +02:00

Merge branch 'master' of github.com:Ombridride/minetest-minetestforfun-server

This commit is contained in:
Quentin BUISSON-DEBON
2015-07-24 23:09:24 +02:00
16 changed files with 63 additions and 531 deletions

View File

@ -1,4 +1,4 @@
if (cmsg) then
if rawget(_G, "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,5 +1,6 @@
-- reading previous quests
local file = io.open(minetest.get_worldpath().."/quests", "r")
quests = {}
if file then
minetest.log("action", "Reading quests...")
quests = minetest.deserialize(file:read("*all"))