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)
|
||||
-->
|
||||
|
||||
<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 -->
|
||||
<string name="calendar::thirdage">
|
||||
<text locale="de">des dritten Zeitalters</text>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
require "config"
|
||||
|
||||
function main()
|
||||
for f in factions() do
|
||||
if f.race=="demon" then
|
||||
f.flags = 2147484672
|
||||
for u in f.units do
|
||||
u.building.size = 2
|
||||
u.building.name = u.region.name .. " Keep"
|
||||
u.name = "Lord " .. u.region.name
|
||||
u:add_item("money", 1000-u:get_item("money"))
|
||||
end
|
||||
else
|
||||
u = f.units()
|
||||
|
@ -29,7 +29,7 @@ end
|
|||
if eressea==nil then
|
||||
print("this script is part of eressea")
|
||||
else
|
||||
config.read()
|
||||
read_xml()
|
||||
eressea.read_game('0.dat')
|
||||
main()
|
||||
eressea.write_game('0.dat')
|
||||
|
|
Loading…
Reference in a new issue