diff --git a/src/res/messages.xml b/src/res/messages.xml index 5e6041ab5..b62a6edd0 100644 --- a/src/res/messages.xml +++ b/src/res/messages.xml @@ -1563,6 +1563,10 @@ "$unit($unit) in $region($region): '$order($command)' - Der Magier verfängt sich in seinem eigenen Zauber." + + "In der Region erstrahlen des Nachts bunte Lichter, Gloeckchen klingeln und frohes Kindergelaechter klingt durch den Wald." + "At night, colourful lights can be seen in this region, bells are a-ringing and the laughter of happy children seems to be everywhere in the forests." + diff --git a/src/scripts/eressea/xmas2006.lua b/src/scripts/eressea/xmas2006.lua index 43c74a199..16296d52b 100644 --- a/src/scripts/eressea/xmas2006.lua +++ b/src/scripts/eressea/xmas2006.lua @@ -1,16 +1,22 @@ function use_xmastree(u, amount) u.region:set_key("xm06", true) u:use_pooled("xmastree", amount) - return -1 + msg = message("usepotion") + msg:set_unit("unit", u) + msg:set_resource("potion", "xmastree") + msg:send_region(u.region) + return 0 end function update_xmas2006() if get_season == "winter" then + msg = message("xmastree_effect") for r in regions() do if r:get_key("xm06") then trees = r:get_resource("tree") if trees>0 then r:set_resource("tree", trees * 1.1) + msg:send_region(r) end end end