forked from github/server
message bugfix santa 2009
This commit is contained in:
parent
956039d661
commit
ab51cca539
1 changed files with 3 additions and 3 deletions
|
@ -1,15 +1,15 @@
|
||||||
function xmas2009()
|
function xmas2009()
|
||||||
if not get_key("xm09") then
|
if not get_key("xm09") then
|
||||||
print("Es weihnachtet sehr (2009)")
|
-- print("Es weihnachtet sehr (2009)")
|
||||||
set_key("xm09", true)
|
set_key("xm09", true)
|
||||||
for f in factions() do
|
for f in factions() do
|
||||||
f:add_item("xmastree", 1)
|
f:add_item("xmastree", 1)
|
||||||
local msg = message.create("msg_event")
|
local msg = message.create("msg_event")
|
||||||
msg:set_string("string", "santa2006")
|
msg:set_string("string", translate("santa2006"))
|
||||||
msg:send_faction(f)
|
msg:send_faction(f)
|
||||||
return 0
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
return 0
|
||||||
end
|
end
|
||||||
|
|
||||||
function use_xmastree(u, amount)
|
function use_xmastree(u, amount)
|
||||||
|
|
Loading…
Reference in a new issue