Commit Graph

10702 Commits

Author SHA1 Message Date
Enno Rehling b4e0640c08 add a happy-case test for follow_unit 2020-08-16 16:00:29 +02:00
Enno Rehling afb7b4f8e8 Test error message when following yourself. 2020-08-16 16:00:29 +02:00
Enno Rehling b657873488 let swimming and flying units follow a ship 2020-08-16 16:00:29 +02:00
Enno Rehling 05a200698a https://bugs.eressea.de/view.php?id=2479
Einheiten folgen sich selbst nicht.
Remove unused copy of follow_ship logic from follow_unit.
2020-08-16 16:00:29 +02:00
Enno Rehling d8a824631c git pull with rebase 2020-08-16 16:00:29 +02:00
Enno Rehling 55704cfce8 Parser fallback to latin1 when detecting invalid utf-8 2020-08-16 16:00:29 +02:00
Enno Rehling 2fe4261c70 https://bugs.eressea.de/view.php?id=2572
in e3, goblins cannot use two-handed weapons.
2020-08-16 16:00:29 +02:00
Enno Rehling d5f3bf7aed https://bugs.eressea.de/view.php?id=2638
flying units may leave a ship on the ocean.
2020-08-16 16:00:29 +02:00
Enno Rehling 73df4adde7 https://bugs.eressea.de/view.php?id=2676
Neue Meldung für Konvois mit zu wenigen Kapitänen.
2020-08-16 16:00:29 +02:00
Enno Rehling 043cb88d91 https://bugs.eressea.de/view.php?id=2629
make ship_ownernot test u->number, hope that wasn't important.
2020-08-16 16:00:29 +02:00
Enno Rehling 64d756370e https://bugs.eressea.de/view.php?id=2658
firewall has no roads or peasants.
2020-08-16 16:00:29 +02:00
Enno Rehling d55cfb8cbf https://bugs.eressea.de/view.php?id=2689
Implement a working LOCALE command.
OBS: Throws away any command that isn't easy to translate.
2020-08-16 16:00:29 +02:00
Enno Rehling 6c2f6a98eb Reduce weight limit, lighthouses also show all dragons. 2020-08-16 16:00:29 +02:00
Enno Rehling 19a2a69f33 Lighthouse: only show large swimming units (more than 10 weight).
Eliminate RCF_INVISIBLE and the spell race.
2020-08-16 16:00:29 +02:00
Enno Rehling 90511b434c update test for lighthouse visibility 2020-08-16 16:00:29 +02:00
Enno Rehling 7cedc4c9dd quick performance improvement for scale_number 2020-08-16 16:00:29 +02:00
Enno Rehling beb673a28b spotting monsters from lighthouses 2020-08-16 16:00:29 +02:00
Enno Rehling 68e2a6e892 tree growth is rounded up. 2020-08-16 16:00:29 +02:00
Enno Rehling 6ccaaee4ea report 2682: simplify tree growth
each spring, 2/3 of all saplings become trees over a 6 week period (1/9 per week).
2020-08-16 16:00:28 +02:00
Enno Rehling b2689e3a9e Bug 2621: Fehlermeldung bei fehlender Anzahl
bei Personen- und Schiffsübergaben.

closing https://bugs.eressea.de/view.php?id=2621
2020-08-16 16:00:28 +02:00
Enno Rehling 09c9ba32eb small bug: argument is not const. 2020-08-16 16:00:28 +02:00
Enno Rehling 6d542327f9 bug 2660 delayed canibalism
monsters now eat each other in randenc.
2020-08-16 16:00:28 +02:00
Enno Rehling d0149f334f test for new parser behavior. 2020-08-16 16:00:28 +02:00
Enno Rehling a3300d5b59 fix parser crash from turn 1179 2020-08-16 16:00:28 +02:00
Enno Rehling 233a142e0d Bug 2685: magic resistance goblins and insects
Magic resistance is not a fraction, but given in percent.

Closes https://bugs.eressea.de/view.php?id=2685
2020-08-16 16:00:28 +02:00
Enno Rehling 9e3dc18daa bug 2684: update sp_showastral and sp_viewreality.
add more messages
add unit tests
closes https://bugs.eressea.de/view.php?id=2684
2020-08-16 16:00:28 +02:00
Enno Rehling cf1c06ad29 New message for spells that cannot be cast in astral space.
English Style: can't or can not => cannot
2020-08-16 16:00:28 +02:00
Enno Rehling b06f3cf0e2 Bug 2684 Astraler Blick
Old implementation was bad, using set_observer is better. Still missing a test, but improved the one for sp_viewreality, which is almost doing the same thing - adaptation should be easy.

Fixes https://bugs.eressea.de/view.php?id=2684
2020-08-16 16:00:28 +02:00
Enno Rehling 9a4bc1ede1 Alle Startregionen sind Wälder mit festen Werten. 2020-08-16 16:00:28 +02:00
Enno Rehling 98effd7d85 Finish spell renaming, remove wdw leftovers.
Fixing the E3 rules.lua test
We no longer need pyramid, scarab, sphinx, pharao.
2020-08-16 16:00:28 +02:00
Enno Rehling e80701ef35 Allow alternative names for some spells. 2020-08-16 16:00:28 +02:00
Enno Rehling a5bca33bf7 fake wormhole in test had negative size 2020-08-16 16:00:27 +02:00
Enno Rehling a5b39962fd make it impossible to create buildings with size 0 2020-08-16 16:00:27 +02:00
Enno Rehling 2d39641e3f Bug 2668 Spruchstärke Ritual der Aufnahme
Zauber sollen force benutzen, nicht level.
2020-08-16 16:00:27 +02:00
Enno Rehling 0c9153396c Bug 2683: fix buildings with size 0
Fixing the symptoms, not the cause, becasue I don't know how this happened.
2020-08-16 16:00:27 +02:00
Enno Rehling 76468197d7 empty convoys cannot be built on. 2020-08-16 16:00:27 +02:00
Enno Rehling 1eaa6a9ec4 Bug 2680: shapeshift spell cannot be cast twice.
Add a message and don't pay for the failed spell.
2020-08-16 16:00:27 +02:00
Enno Rehling e5be92da19 Bug 2679: Nur Bergwächter bewachen Eisen. 2020-08-16 16:00:27 +02:00
Enno Rehling 183981f3c7 bug 2678: fix trade_needs_castle
The logic for "insects do not need castles in deserts or swamps" was broken.
2020-08-16 16:00:27 +02:00
Enno Rehling c35ba4cf92 stop showing unhandled keycodes in status 2020-08-16 16:00:27 +02:00
Enno Rehling 15f2e014d2 make coverity understand that there is no buffer overflow here. 2020-08-16 16:00:27 +02:00
Enno Rehling d6b57fc818 delete obsolete scripts, shellcheck the rest 2020-08-16 16:00:27 +02:00
Enno Rehling 45ec4b56df accept some selected changes from stm2's script rewrite. 2020-08-16 16:00:27 +02:00
Enno Rehling 515fcb3c86 Lighthouse shows roads in both CR and NR.
This closes bug 2669.
2020-08-16 16:00:27 +02:00
Enno Rehling 0ea9717b5a bug 2674 fix null-ptr deref 2020-08-16 16:00:27 +02:00
Enno Rehling 40493bdc64 bug 2674 send message to player, not monsters 2020-08-16 16:00:27 +02:00
Enno Rehling ed0b7f8af2 Durch GIB "leer" gewordene Schiffe können nicht sinken. 2020-08-16 16:00:27 +02:00
Enno Rehling 48e4caf496 install lunitx only once 2020-08-16 16:00:26 +02:00
Enno Rehling dee8b306d0 update default version number 2020-08-16 16:00:26 +02:00
Enno Rehling 276db404ba bug 2673 ignore commands that have fewer than 2 characters. 2020-08-16 16:00:26 +02:00