1
0
ミラー元 https://github.com/sys4-fr/server-nalc.git 前回の同期 2025-09-18 19:40:37 +02:00

Removed global variables (quests, throwing)

このコミットが含まれているのは:
LeMagnesium
2015-07-24 10:42:07 +02:00
コミット 905464a39a
2個のファイルの変更3行の追加3行の削除

ファイルの表示

@@ -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)

ファイルの表示

@@ -123,7 +123,7 @@ function throwing_register_bow (name, desc, scale, stiffness, reload_time, tough
recipe = craft
})
craft_width = 1
local craft_width = 1
-- Since # isn't stable especially when there are nils in the table, count by hand
for _,v in ipairs(craft) do
for i,__ in ipairs(v) do
@@ -132,7 +132,7 @@ function throwing_register_bow (name, desc, scale, stiffness, reload_time, tough
end
end
end
rev_craft = {}
local rev_craft = {}
for i,y in ipairs(craft) do
rev_craft[i] = {}
for j,x in ipairs(y) do