- Errichtung eines Hafens an einem Binnensee
- irgendeinem an den Haaren herbeigezogenen Grund
- akkutem Wahnsinn
- der Tradition
- Allgemeine Reudigkeit ist definitiv ein guter Kriegsgrund!
- Benutzung des Kriegsgrund-Generators
- des Parteinamens Die Gummibärchen
- Ruhm und Ehre
- Wir sind nur Gäste auf einer grossen Grill-Party.
- dem falschen Magie
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VERSION 66 | |
36;Basis | |
0 1 2;home | |
"UTF-8";charset | |
1;noskillpoints | |
PARTEI 1045107 | |
"de";locale | |
8;age | |
PARTEI 683844 | |
"de";locale |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Basis": 36, | |
"home": "0 1 2", | |
"charset": "UTF-8", | |
"noskillpoints": 1, | |
"PARTEI": [ | |
{ | |
"id": 1045107, | |
"locale": "de", | |
"age": 8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"charset": "UTF-8", | |
"locale": "de", | |
"noskillpoints": 1, | |
"date": 1509041527, | |
"Spiel": "Drachensgrab", | |
"Konfiguration": "Standard", | |
"Koordinaten": "Hex", | |
"max_units": 50, | |
"Basis": 36, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function test_rider_leads_horses() | |
local r0 = region.create(0, 0, "plain") | |
local r1 = region.create(1, 0, "plain") | |
local r2 = region.create(2, 0, "plain") | |
local r3 = region.create(3, 0, "plain") | |
local f = faction.create("human") | |
-- lead 1 extra horse per level while riding: | |
local u1 = unit.create(f, r0, 1) | |
u1:set_skill("riding", 1) | |
u1:add_item("horse", 2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function test_bug_2605() | |
local r0 = region.create(0, 0, "plain") | |
local r1 = region.create(1, 0, "plain") | |
local r2 = region.create(2, 0, "plain") | |
local r3 = region.create(3, 0, "plain") | |
local f = faction.create("human") | |
-- 1. two walkers, each with two horses and a cart: | |
local u1 = unit.create(f, r0, 2) | |
u1:add_item("horse", 2) | |
u1:add_item("cart", 1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function test_trolls_ride_carts() | |
local r0 = region.create(0, 0, "plain") | |
local r1 = region.create(1, 0, "plain") | |
local r2 = region.create(2, 0, "plain") | |
local r3 = region.create(3, 0, "plain") | |
local r4 = region.create(4, 0, "plain") | |
local f = faction.create("troll") | |
-- 1. 20 trolls can pull 5 loaded carts: | |
local u1 = unit.create(f, r0, 20) | |
u1:add_item("cart", 5) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "lunit" | |
module("tests.e2.trees", package.seeall, lunit.testcase ) | |
function setup() | |
eressea.game.reset() | |
eressea.settings.set("rules.food.flags", "4") -- food is free | |
eressea.settings.set("NewbieImmunity", "0") | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local crs = require 'cr' | |
function log_error(str) | |
io.stderr:write(str) | |
end | |
local terrains = { | |
['Ozean'] = 'ocean', | |
['Gletscher'] = 'glacier', | |
['Eisberg'] = 'iceberg', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Das mit den Kodierungen ist so: | |
Als die Welt nur 127 Zeichen hatte, war noch alles einfach. Wir haben in jedes Byte ein Zeichen kodiert, und die Zuordnung von numerischem Wert zu Zeichen wurde standardisiert: ASCII. Das A hat den Wert 65 bekommen, das B die 66, usw. Kleinbuchstaben fangen bei 97 an, Zahlen bei 48. | |
Irgendwann haben dann irgendwelche Europäer gemeint, es gäbe ja noch viel mehr Zeichen. | |
ANSI ist das, was den Europäern als Lösung eingefallen ist. Die haben einfach auf die 127 Zeichen nochmal 128 drauf gesetzt. | |
255 Zeichen sollten ja wohl genug sein. | |
Aber die Russen haben gemeint, sie seien vergessen worden, und haben auf die 127 Zeichen ihre eignen 128 drauf gesetzt. KOI8R hiess das. | |
Das heisst, wenn man eine 65 in seiner Datei hatte, wurde das jetzt bei Russen, Europäern und Amis als A angezeigt, aber wenn man eine 132 hat, ist das bei Amerikanern ungültig, bei (West-)Europäern ein ä, und bei Russen ... irgendwas kyrillisches. | |
Man musste also plötzlich wissen, welchem Standard die Datei folgt (E |