Creatures report at the portal and set up their bed; payday wages are fetched from the treasury

- New creatures report at the portal (2 s), walk to the lair (flyers: aerie), set up their
  bed (4 s) and only then do as they like; without a reachable lair they start right away
- Payday: the training bill is paid at once; every creature goes for its wage at a random
  moment within about a minute, to the nearest treasury tile holding treasure (or the core),
  and takes it out of that tile; no gold = an angry creature; unreachable = paid anyway
- Tests for the arrival and the walking payday

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-03 13:49:13 +01:00
1 parent f13ab1a629
commit 52c4d1caf8
3 files changed
+212 -27

No files matched your search

+5
View File
@@ -571,3 +571,8 @@ account.users_changed = Benutzer aktualisiert.
standalone.running = Die Standalone-Version wird vorbereitet ...
standalone.done = DungeonCraft.html heruntergeladen: In jedem Browser öffnen, kein Server nötig. Deine heruntergeladenen Spielstände lassen sich dort auch laden.
standalone.failed = Die Standalone-Version konnte nicht heruntergeladen werden.
job.register = Meldet sich am Portal
job.make_bed = Richtet sein Bett ein
job.fetch_wage = Holt sich seinen Lohn
msg.payday_walk = Zahltag! {0} Kreaturen holen sich ihren Lohn aus der Schatzkammer ({1} Gold inkl. Training).
msg.wage_unpaid = Dein {0} hat kein Gold für seinen Lohn gefunden und ist wütend!