forked from github/server
new turn processing script,
add adamantium to config
This commit is contained in:
parent
535a9e6e53
commit
75b7ac3064
3 changed files with 34 additions and 3 deletions
|
@ -7,6 +7,37 @@
|
||||||
_a: including article (ein Troll, a troll)
|
_a: including article (ein Troll, a troll)
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<string name="rm_adamantium">
|
||||||
|
<text locale="de">Adamantium</text>
|
||||||
|
<text locale="en">adamantium</text>
|
||||||
|
</string>
|
||||||
|
<string name="adamantium">
|
||||||
|
<text locale="de">Adamantium</text>
|
||||||
|
<text locale="en">adamantium</text>
|
||||||
|
</string>
|
||||||
|
<string name="adamantium_p">
|
||||||
|
<text locale="de">Adamantium</text>
|
||||||
|
<text locale="en">adamantium</text>
|
||||||
|
</string>
|
||||||
|
|
||||||
|
<string name="adamantiumaxe">
|
||||||
|
<text locale="de">Adamantiumaxt</text>
|
||||||
|
<text locale="en">adamantium axe</text>
|
||||||
|
</string>
|
||||||
|
<string name="adamantiumaxe_p">
|
||||||
|
<text locale="de">Adamantiumäxte</text>
|
||||||
|
<text locale="en">adamantium axes</text>
|
||||||
|
</string>
|
||||||
|
|
||||||
|
<string name="adamantiumplate">
|
||||||
|
<text locale="de">Adamantiumrüstung</text>
|
||||||
|
<text locale="en">adamantium plate</text>
|
||||||
|
</string>
|
||||||
|
<string name="adamantiumplate_p">
|
||||||
|
<text locale="de">Adamantiumrüstungen</text>
|
||||||
|
<text locale="en">adamantium plates</text>
|
||||||
|
</string>
|
||||||
|
|
||||||
<!--Fort-Ausbaustufen -->
|
<!--Fort-Ausbaustufen -->
|
||||||
<string name="calendar::thirdage">
|
<string name="calendar::thirdage">
|
||||||
<text locale="de">des dritten Zeitalters</text>
|
<text locale="de">des dritten Zeitalters</text>
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
require "config"
|
|
||||||
|
|
||||||
function main()
|
function main()
|
||||||
for f in factions() do
|
for f in factions() do
|
||||||
if f.race=="demon" then
|
if f.race=="demon" then
|
||||||
|
f.flags = 2147484672
|
||||||
for u in f.units do
|
for u in f.units do
|
||||||
u.building.size = 2
|
u.building.size = 2
|
||||||
u.building.name = u.region.name .. " Keep"
|
u.building.name = u.region.name .. " Keep"
|
||||||
u.name = "Lord " .. u.region.name
|
u.name = "Lord " .. u.region.name
|
||||||
|
u:add_item("money", 1000-u:get_item("money"))
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
u = f.units()
|
u = f.units()
|
||||||
|
@ -29,7 +29,7 @@ end
|
||||||
if eressea==nil then
|
if eressea==nil then
|
||||||
print("this script is part of eressea")
|
print("this script is part of eressea")
|
||||||
else
|
else
|
||||||
config.read()
|
read_xml()
|
||||||
eressea.read_game('0.dat')
|
eressea.read_game('0.dat')
|
||||||
main()
|
main()
|
||||||
eressea.write_game('0.dat')
|
eressea.write_game('0.dat')
|
||||||
|
|
Loading…
Reference in a new issue