Weihnachtsitem 2005

This commit is contained in:
Enno Rehling 2005-12-18 18:09:53 +00:00
parent 3b3e93f62b
commit 73123575a6
4 changed files with 44 additions and 0 deletions

View File

@ -871,6 +871,14 @@
<text locale="de">Sonnensegel</text>
<text locale="en">solar sails</text>
</string>
<string name="stardust">
<text locale="de">Sternenstaub</text>
<text locale="en">stardust</text>
</string>
<string name="stardust_p">
<text locale="de">Sternenstaub</text>
<text locale="en">stardust</text>
</string>
<string name="papyrus">
<text locale="de">Papyrus</text>
<text locale="en">papyrus</text>
@ -6805,6 +6813,18 @@
</text>
</string>
<string name="santa2005">
<text locale="de">'Ho ho ho!' Ein dicker Gnom fliegt auf einem von
8 Jungdrachen gezogenen Schlitten durch die Nacht und vermacht Deiner
Partei eine Phiole mit Sternenstaub. (Informationen dazu gibt es mit
BEANSPRUCHE und ZEIGE).</text>
<text locale="en">'Ho ho ho!' A fat little gnome Gnom on a sled
pulled by 8 young dragons flies through the stary night and presents
your faction with a vial of stardust. (To get more information about
this item, use the CLAIM and SHOW commands).
</text>
</string>
<string name="grail">
<text locale="de">Gral</text>
<text locale="en">grail</text>

View File

@ -8,6 +8,13 @@
</item>
</resource>
<!-- xmas 2005 -->
<resource name="stardust" appearance="vial">
<item weight="0">
<function name="use" value="lua_useitem"/>
</item>
</resource>
<!-- art rewards -->
<resource name="trappedairelemental">
<item weight="0">

View File

@ -29,6 +29,7 @@ function run_scripts()
"eressea/eternath.lua",
"eressea/wedding-jadee.lua",
"eressea/ponnuki.lua",
"eressea/xmas2005.lua",
"eressea/embassy.lua"
}
for index in scripts do

View File

@ -0,0 +1,16 @@
function xmas2005()
print(get_gamename())
if get_gamename() == "Eressea" then
if not get_flag("xm05") then
print("Es weihnachtet sehr")
set_flag("xm05", true)
for f in factions() do
f:add_item("stardust", 1)
f:add_notice("santa2005")
end
end
end
end
print("Ja, ist denn schon wieder Weihnachten?")
xmas2005()