From d9eb88134d31cf42dc3db53271994ded3cafcaeb Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 1 Oct 2020 14:57:14 +0200 Subject: [PATCH] configuration for new game --- conf/ex/config.json | 64 ++++++++++ conf/ex/items.json | 50 ++++++++ conf/ex/locales.json | 34 +++++ conf/ex/terrains.json | 286 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 434 insertions(+) create mode 100644 conf/ex/config.json create mode 100644 conf/ex/items.json create mode 100644 conf/ex/locales.json create mode 100644 conf/ex/terrains.json diff --git a/conf/ex/config.json b/conf/ex/config.json new file mode 100644 index 000000000..8d146bccf --- /dev/null +++ b/conf/ex/config.json @@ -0,0 +1,64 @@ +{ + "include": [ + "config://conf/keywords.json", + "config://conf/calendar.json", + "config://conf/prefixes.json", + "config://conf/e2/locales.json", + "config://conf/e2/terrains.json", + "config://conf/e2/items.json", + "config://res/core/ships.xml", + "config://res/core/common/buildings.xml", + "config://res/eressea/buildings.xml", + "config://res/buildings/castle.xml", + "config://res/eressea/races.xml", + "config://res/eressea/artrewards.xml", + "config://res/eressea/spells.xml", + "config://res/eressea/spellbooks/gray.xml", + "config://res/eressea/spellbooks/gwyrrd.xml", + "config://res/eressea/spellbooks/draig.xml", + "config://res/eressea/spellbooks/illaun.xml", + "config://res/eressea/spellbooks/cerddor.xml", + "config://res/eressea/spellbooks/tybied.xml" + ], + "disabled": [ + "number", + "jsreport" + ], + "settings": { + "game.name" : "Eressea", + "game.mailcmd" : "ERESSEA", + "game.id" : 2, + "orders.default": "work", + "NewbieImmunity": 8, + "modules.market": false, + "modules.astralspace": true, + "modules.wormhole": true, + "modules.iceberg": true, + "modules.volcano": true, + "monsters.spawn.chance": 50, + "entertain.base": 0, + "entertain.perlevel": 20, + "taxing.perlevel": 20, + "nmr.timeout": 5, + "nmr.removenewbie": false, + "GiveRestriction": 3, + "hunger.long": false, + "hunger.damage": "1d8+6", + "init_spells": 0, + "game.era": 2, + "game.start": 184, + "rules.reserve.twophase": true, + "rules.give.max_men": -1, + "rules.check_overload": false, + "rules.limit.faction": 2500, + "rules.maxskills.magic": 5, + "rules.guard.base_stop_prob": 0.30, + "rules.guard.skill_stop_prob": 0.05, + "rules.guard.amulet_stop_prob": 0.10, + "rules.guard.guard_number_stop_prob": 0.001, + "rules.guard.castle_stop_prob": 0.05, + "rules.guard.region_type_stop_prob": 0.05, + "rules.economy.repopulate_maximum": 500, + "rules.lighthouse.unit_capacity": true + } +} diff --git a/conf/ex/items.json b/conf/ex/items.json new file mode 100644 index 000000000..643248d32 --- /dev/null +++ b/conf/ex/items.json @@ -0,0 +1,50 @@ +{ + "include": [ + "config://res/core/spoils.xml", + "config://res/core/common/herbs.xml", + "config://res/core/common/items.xml", + "config://res/core/common/luxuries.xml", + "config://res/core/common/potions.xml", + "config://res/core/armor/chainmail.xml", + "config://res/core/armor/laenmail.xml", + "config://res/core/armor/laenshield.xml", + "config://res/core/armor/plate.xml", + "config://res/core/armor/rustychainmail.xml", + "config://res/core/armor/rustyshield.xml", + "config://res/core/armor/shield.xml", + "config://res/core/resources/cart.xml", + "config://res/core/resources/horse.xml", + "config://res/core/resources/hp.xml", + "config://res/core/resources/iron.xml", + "config://res/core/resources/laen.xml", + "config://res/core/resources/log.xml", + "config://res/core/resources/mallorn.xml", + "config://res/core/resources/mallornseed.xml", + "config://res/core/resources/seed.xml", + "config://res/core/resources/peasant.xml", + "config://res/core/resources/stone.xml", + "config://res/core/weapons/axe.xml", + "config://res/core/weapons/bow.xml", + "config://res/core/weapons/catapult.xml", + "config://res/core/weapons/crossbow.xml", + "config://res/core/weapons/firesword.xml", + "config://res/core/weapons/greatbow.xml", + "config://res/core/weapons/greatsword.xml", + "config://res/core/weapons/halberd.xml", + "config://res/core/weapons/laensword.xml", + "config://res/core/weapons/lance.xml", + "config://res/core/weapons/mallornbow.xml", + "config://res/core/weapons/mallorncrossbow.xml", + "config://res/core/weapons/mallornlance.xml", + "config://res/core/weapons/mallornspear.xml", + "config://res/core/weapons/runesword.xml", + "config://res/core/weapons/rustyaxe.xml", + "config://res/core/weapons/rustygreatsword.xml", + "config://res/core/weapons/rustyhalberd.xml", + "config://res/core/weapons/rustysword.xml", + "config://res/core/weapons/spear.xml", + "config://res/core/weapons/sword.xml", + "config://res/eressea/items.xml", + "config://res/adamantium.xml" + ] +} diff --git a/conf/ex/locales.json b/conf/ex/locales.json new file mode 100644 index 000000000..02967d134 --- /dev/null +++ b/conf/ex/locales.json @@ -0,0 +1,34 @@ +{ + "include": [ + "config://res/translations/strings.de.po", + "config://res/translations/strings-e2.de.po", + "config://res/translations/strings.en.po", + "config://res/translations/strings-e2.en.po", + "config://res/translations/messages.de.po", + "config://res/translations/messages.en.po", + "config://res/core/messages.xml" + ], + "aliases": { + "de": { + "spell::earthquake": [ + "Beschwöre einen Erdelementar", + "Beschwörung eines Erdelementares" + ], + "spell::goodwinds": [ + "Beschwörung eines Wasserelementares", + "Beschwöre einen Wasserelementar" + ], + "spell::stormwinds": [ + "Beschwöre einen Sturmelementar", + "Beschwörung eines Sturmelementares" + ], + "spell::summonfireelemental": [ + "Beschwöre einen Hitzeelementar", + "Beschwörung eines Hitzeelementares" + ] + }, + "en": { + "spell::migration": "Rit of Acceptance" + } + } +} diff --git a/conf/ex/terrains.json b/conf/ex/terrains.json new file mode 100644 index 000000000..bb0da7106 --- /dev/null +++ b/conf/ex/terrains.json @@ -0,0 +1,286 @@ +{ + "terrains": { + "ocean": { + "size": 100, + "flags": [ "swim", "sea", "sail", "fly" ] + }, + "plain": { + "size": 10000, + "herbs": [ "h0", "h1", "h2", "h3", "h4", "h5" ], + "seed": 3, + "road": 50, + "flags": [ "forest", "cavalry", "land", "walk", "sail", "fly" ], + "production": { + "iron": { + "chance": 0.1, + "base": "5d8", + "div": "2d20+10", + "level": "2d4-1" + }, + "stone": { + "chance": 0.15, + "base": "5d8", + "div": "2d30+20", + "level": "1d4" + }, + "laen": { + "chance": 0.01, + "base": "1d4", + "div": "2d20+50", + "level": "1d4" + } + } + }, + "swamp": { + "size": 2000, + "herbs": [ "h6", "h7", "h8" ], + "seed": 2, + "road": 75, + "flags": [ "land", "walk", "sail", "fly" ], + "production": { + "iron": { + "chance": 0.02, + "base": "5d8", + "div": "2d20+10", + "level": "2d4-1" + }, + "stone": { + "chance": 0.02, + "base": "5d8", + "div": "2d30+20", + "level": "1d4" + }, + "laen": { + "chance": 0.02, + "base": "1d4", + "div": "2d20+50", + "level": "1d4" + } + } + }, + "desert": { + "size": 500, + "herbs": [ "h9", "h10", "h11" ], + "seed": 2, + "road": 100, + "flags": [ "land", "walk", "sail", "fly", "cavalry" ], + "production": { + "iron": { + "chance": 0.15, + "base": "5d8", + "div": "2d20+10", + "level": "2d4-1" + }, + "stone": { + "chance": 0.25, + "base": "5d8", + "div": "2d30+20", + "level": "1d4" + }, + "laen": { + "chance": 0.025, + "base": "1d4", + "div": "2d20+50", + "level": "1d4" + } + } + }, + "highland": { + "size": 4000, + "herbs": [ "h12", "h13", "h14" ], + "seed": 2, + "road": 100, + "flags": [ "land", "walk", "sail", "fly", "cavalry" ], + "production": { + "iron": { + "chance": 0.15, + "base": "5d8", + "div": "2d20+10", + "level": "2d4-1" + }, + "stone": { + "chance": 0.25, + "base": "5d8", + "div": "2d30+20", + "level": "1d4" + }, + "laen": { + "chance": 0.025, + "base": "1d4", + "div": "2d20+50", + "level": "1d4" + } + } + }, + "mountain": { + "size": 1000, + "herbs": [ "h15", "h16", "h17" ], + "seed": 2, + "road": 250, + "flags": [ "land", "walk", "sail", "fly" ], + "production": { + "iron": { + "chance": 1.0, + "base": "50", + "div": "50", + "level": "1" + }, + "stone": { + "chance": 1.0, + "base": "100", + "div": "100", + "level": "1" + }, + "laen": { + "chance": 0.05, + "base": "4", + "div": "100", + "level": "1" + } + } + }, + "glacier": { + "size": 100, + "herbs": [ "h18", "h19", "h20" ], + "seed": 2, + "road": 250, + "flags": [ "arctic", "land", "walk", "sail", "fly" ], + "production": { + "iron": { + "chance": 1.0, + "base": "3", + "div": "50", + "level": "1" + }, + "stone": { + "chance": 1.0, + "base": "2", + "div": "100", + "level": "1" + }, + "laen": { + "chance": 0.05, + "base": "4", + "div": "100", + "level": "1" + } + } + }, + "iceberg": { + "size": 100, + "herbs": [ "h18", "h19", "h20" ], + "flags": [ "arctic", "land", "walk", "sail", "fly" ], + "production": { + "iron": { + "chance": 0.9, + "base": "3", + "div": "50", + "level": "1" + }, + "stone": { + "chance": 0.9, + "base": "2", + "div": "100", + "level": "1" + } + } + }, + "iceberg_sleep": { + "size": 100, + "herbs": [ "h18", "h19", "h20" ], + "flags": [ "arctic", "land", "walk", "sail", "fly" ], + "production": { + "iron": { + "chance": 0.9, + "base": "3", + "div": "50", + "level": "1" + }, + "stone": { + "chance": 0.9, + "base": "2", + "div": "100", + "level": "1" + }, + "laen": { + "chance": 0.05, + "base": "4", + "div": "100", + "level": "1" + } + } + }, + "firewall": { + "flags": [ "forbidden" ] + }, + "fog": { + "flags": [ "walk", "fly" ] + }, + "thickfog": { + "flags": [ "forbidden" ] + }, + "volcano": { + "size": 500, + "road": 250, + "seed": 1, + "flags": [ "land", "walk", "sail", "fly" ], + "production": { + "iron": { + "chance": 0.5, + "level": "1", + "base": "50", + "div": "50" + }, + "stone": { + "chance": 0.5, + "level": "1", + "base": "100", + "div": "100" + }, + "laen": { + "chance": 0.075, + "level": "1", + "base": "4", + "div": "100" + } + } + }, + "activevolcano": { + "size": 500, + "road": 250, + "flags": [ "land", "walk", "sail", "fly" ], + "production": { + "iron": { + "chance": 0.5, + "level": "1", + "base": "50", + "div": "50" + }, + "stone": { + "chance": 0.5, + "level": "1", + "base": "100", + "div": "100" + }, + "laen": { + "chance": 0.075, + "level": "1", + "base": "4", + "div": "100" + } + } + }, + "hell": { + "flags": [ "walk" ] + }, + "hall1": { + "flags": [ "land", "walk", "sail" ] + }, + "corridor1": { + "flags": [ "land", "walk", "sail" ] + }, + "wall1": { + "flags": [ "forbidden", "land" ] + } + } +}