forked from github/server
- Verteilung der Preise
This commit is contained in:
parent
d40e6a3a93
commit
657a7da11e
|
@ -1429,7 +1429,7 @@
|
||||||
<text locale="de">Gefangene Windgeister</text>
|
<text locale="de">Gefangene Windgeister</text>
|
||||||
<text locale="en">trapped air elementals</text>
|
<text locale="en">trapped air elementals</text>
|
||||||
</string>
|
</string>
|
||||||
<string name="auropotion50">
|
<string name="aurapotion50">
|
||||||
<text locale="de">Auratrank</text>
|
<text locale="de">Auratrank</text>
|
||||||
<text locale="en">aura potion</text>
|
<text locale="en">aura potion</text>
|
||||||
</string>
|
</string>
|
||||||
|
|
|
@ -26,7 +26,7 @@ function give_winner1()
|
||||||
winner1 = get_unit(atoi36("3jic"))
|
winner1 = get_unit(atoi36("3jic"))
|
||||||
-- Horn, Statue, Akademie
|
-- Horn, Statue, Akademie
|
||||||
winner1:add_item("hornofdancing", 1)
|
winner1:add_item("hornofdancing", 1)
|
||||||
s = "Glückwunsch zum Gewinn des Wettstreit der Künste, " .. winner1.name .. "."
|
s = "von Bote des Rats von Andune (bote): Glückwunsch zum Gewinn des Wettstreit der Künste, " .. winner1.name .. "."
|
||||||
winner1.region:add_notice(s)
|
winner1.region:add_notice(s)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ function give_winner2()
|
||||||
winner2 = get_unit(atoi36("9d01"))
|
winner2 = get_unit(atoi36("9d01"))
|
||||||
-- Horn, Statue, Akademie
|
-- Horn, Statue, Akademie
|
||||||
winner2:add_item("instantartsculpture", 1)
|
winner2:add_item("instantartsculpture", 1)
|
||||||
s = "Glückwunsch zum zweiten Platz im Wettstreit der Künste, " .. winner2.name .. "."
|
s = "von Bote des Rats von Andune (bote): Glückwunsch zum zweiten Platz im Wettstreit der Künste, " .. winner2.name .. "."
|
||||||
winner2.region:add_notice(s)
|
winner2.region:add_notice(s)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -42,14 +42,14 @@ function give_winner3()
|
||||||
winner3 = get_unit(atoi36("72a"))
|
winner3 = get_unit(atoi36("72a"))
|
||||||
-- Horn, Statue, Akademie
|
-- Horn, Statue, Akademie
|
||||||
winner3:add_item("instantartacademy", 1)
|
winner3:add_item("instantartacademy", 1)
|
||||||
s = "Glückwunsch zum dritten Platz im Wettstreit der Künste, " .. winner3.name .. "."
|
s = "von Bote des Rats von Andune (bote): Glückwunsch zum dritten Platz im Wettstreit der Künste, " .. winner3.name .. "."
|
||||||
winner3.region:add_notice(s)
|
winner3.region:add_notice(s)
|
||||||
end
|
end
|
||||||
|
|
||||||
function give_loser()
|
function give_loser()
|
||||||
loser = get_unit(atoi36("otna"))
|
loser = get_unit(atoi36("otna"))
|
||||||
loser:add_item("bagpipeoffear", 1)
|
loser:add_item("bagpipeoffear", 1)
|
||||||
s = "Glückwunsch zum Gewinn des Nachwuchspreises im Wettstreit der Künste, " .. loser.name .. "."
|
s = "von Bote des Rats von Andune (bote): Glückwunsch zum Gewinn des Nachwuchspreises im Wettstreit der Künste, " .. loser.name .. "."
|
||||||
loser.region:add_notice(s)
|
loser.region:add_notice(s)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ function give_visitor1()
|
||||||
visitor1 = get_unit(atoi36("zpok"))
|
visitor1 = get_unit(atoi36("zpok"))
|
||||||
-- Kräutersammlung
|
-- Kräutersammlung
|
||||||
give_herbbag(visitor1)
|
give_herbbag(visitor1)
|
||||||
s = "Glückwunsch zum Gewinn eines Besucherpreises im Wettstreit der Künste, " .. visitor1.name .. "."
|
s = "von Bote des Rats von Andune (bote): Glückwunsch zum Gewinn eines Besucherpreises im Wettstreit der Künste, " .. visitor1.name .. "."
|
||||||
visitor1.region:add_notice(s)
|
visitor1.region:add_notice(s)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -65,11 +65,12 @@ function give_visitor2()
|
||||||
visitor2 = get_unit(atoi36("aex"))
|
visitor2 = get_unit(atoi36("aex"))
|
||||||
-- Windgeist
|
-- Windgeist
|
||||||
visitor2:add_item("trappedairelemental", 1)
|
visitor2:add_item("trappedairelemental", 1)
|
||||||
s = "Glückwunsch zum Gewinn eines Besucherpreises im Wettstreit der Künste, " .. visitor2.name .. "."
|
s = "von Bote des Rats von Andune (bote): Glückwunsch zum Gewinn eines Besucherpreises im Wettstreit der Künste, " .. visitor2.name .. "."
|
||||||
visitor2.region:add_notice(s)
|
visitor2.region:add_notice(s)
|
||||||
end
|
end
|
||||||
|
|
||||||
function give_rewards()
|
function give_rewards()
|
||||||
|
print("- giving out rewards of the art contest")
|
||||||
give_winner1()
|
give_winner1()
|
||||||
give_winner2()
|
give_winner2()
|
||||||
give_winner3()
|
give_winner3()
|
||||||
|
|
|
@ -87,9 +87,10 @@ function process(orders)
|
||||||
|
|
||||||
-- Give out the rewards of the art contest
|
-- Give out the rewards of the art contest
|
||||||
if get_gamename() == "Eressea" then
|
if get_gamename() == "Eressea" then
|
||||||
if get_flag("arts") == 0 then
|
if not get_flag("artr") then
|
||||||
require "artrewards.lua"
|
chunk = loadfile("scripts/artrewards.lua")
|
||||||
set_flag("arts")
|
chunk()
|
||||||
|
set_flag("artr", true)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue