Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor epasswd stuff #922

Open
wants to merge 55 commits into
base: develop
Choose a base branch
from
Open

refactor epasswd stuff #922

wants to merge 55 commits into from

Conversation

apexo
Copy link

@apexo apexo commented Aug 10, 2020

  • try to avoid builtin identifiers (like id, file) as variable names
  • try to avoid bare except
  • refactor the logic that deals with opening sqlite3 vs. bare passwd-like
    files; this now resides completely in epasswd.py
  • add explicit _Faction type for epasswd

ennorehling and others added 30 commits August 3, 2020 11:23
The logic for "insects do not need castles in deserts or swamps" was broken.
Add a message and don't pay for the failed spell.
Fixing the symptoms, not the cause, becasue I don't know how this happened.
Zauber sollen force benutzen, nicht level.
Fixing the E3 rules.lua test
We no longer need pyramid, scarab, sphinx, pharao.
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
English Style: can't or can not => cannot
ennorehling and others added 18 commits August 3, 2020 11:26
spotting monsters from lighthouses
Eliminate RCF_INVISIBLE and the spell race.
Implement a working LOCALE command.
OBS: Throws away any command that isn't easy to translate.
firewall has no roads or peasants.
make ship_ownernot test u->number, hope that wasn't important.
Neue Meldung für Konvois mit zu wenigen Kapitänen.
flying units may leave a ship on the ocean.
in e3, goblins cannot use two-handed weapons.
- try to avoid builtin identifiers (like id, file) as variable names
- try to avoid bare except
- refactor the logic that deals with opening sqlite3 vs. bare passwd-like
  files; this now resides completely in epasswd.py
- add explicit _Faction type for epasswd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants