Commit graph

26 commits

Author SHA1 Message Date
Enno Rehling
77b292e05a compilation fixes GCC. 2008-04-26 16:46:05 +00:00
Enno Rehling
940d236edc - filereader.c rewritten since the initial implementation is in the moving van.
- moved some summary functionality (emails, aliases) to Lua code
- made default.lua an include for all the different run-scripts

report.c is the last file that needs some work, everything else should be fine. Most importantly, all the messages are not internationalized, so that means just about no more German in the code. Yay!
2007-08-08 07:43:24 +00:00
Enno Rehling
0c05d8f978 Lua 5.1 has deprecated the old for-syntax for tables. 2007-06-13 12:38:15 +00:00
Enno Rehling
426a8a34f2 - Do not trust strcheck() in Release
- Nobody needs strnzcpy() anymore, use bsdstring.h
2007-02-25 18:49:28 +00:00
Enno Rehling
6ed9ea2a9b call create_mage() for familiars
created a new lua file for familiar specializations, not really any content for now.
2006-02-26 13:24:16 +00:00
Enno Rehling
657fc3d123 WDW_PHOENIX define removed:
- Der Initialisierungs-Code ist in LUA reimplementiert.

- Ich habe das ganze spoils-Konzept etwas allgemeiner gemacht, man kann jetzt einfach ein equipment-objekt in XML definieren (siehe vinyambar-wdw.xml) der die spoils für eine Rassea angibt, (z.B. phonix_spoils nennen).

- Das gleiche für Drachen und Seeschlange gemacht.
2006-01-01 16:58:59 +00:00
Christian Schlittchen
3705d0d1eb init_summary für wdw, zusätzlicher assert 2005-11-27 14:13:48 +00:00
Christian Schlittchen
0c5efc7a61 write_emails auch für wdw 2005-11-27 13:40:09 +00:00
Enno Rehling
402fbb24e5 - spawning new dragons and undead is now optional (lua function)
- battle-effect on peasants is configurable (by XML param)
2005-11-26 11:03:44 +00:00
Enno Rehling
de9264bc4c - scripts for kingdoms
- per-game folders to organize scripts a bit more
2005-11-25 23:32:56 +00:00
Christian Schlittchen
82fc69254c turn-Datei wurde nicht aktualisiert 2005-11-21 21:22:00 +00:00
Enno Rehling
7783077517 simplified the work() functions
splitting more functionality from process_orders into separate functions
2005-11-20 12:58:59 +00:00
Enno Rehling
f6524ee015 kicking out a few more hardcoded item_type objects. 2005-10-29 14:48:37 +00:00
Enno Rehling
4dc1339ec3 New: familiars are initialized with an equipment-set.
New: familiars can have a LUA initialization function.

Moved the spell implementations from spell.c to spells.c where they "belong".

Spell ids moved to a separate header (to phase them out eventually)
2005-10-23 09:05:11 +00:00
Enno Rehling
9230a0a074 I must remember to load the spells, too 2005-10-08 21:34:00 +00:00
Enno Rehling
9f97148163 spawning of new braineaters moved into a separate LUA function which is not called for wdw. 2005-10-02 16:06:12 +00:00
Christian Schlittchen
1f08e3b65c - Abarbeiten der Mailhandler in prepare_mail_cmd
- KEEP_UNZIPPED beläßt unkomprimierte Reports
2004-08-29 08:53:02 +00:00
Enno Rehling
79d61bd763 Die Sphinx, ordentlich gelöst. 2004-08-21 12:02:45 +00:00
Christian Schlittchen
8ee6431125 WDW Änderungen vom Wochenende.
- besseres Error-handling in eventhandlern
- bugfix get_variable

Scriptänderungen Sphinx
! bedarf noch eines Cleanup
2004-08-18 22:24:48 +00:00
Christian Schlittchen
00c546d850 Sphinx 2004-08-08 20:24:11 +00:00
Christian Schlittchen
e7af625758 Hinweise und wöchentliche Botschaft der Sphinx. 2004-08-08 07:45:30 +00:00
Enno Rehling
896d8b0e96 - Fixes an den orders
- Monster-Skripting in Lua (fast fertig)
- Mapper wieder lauffähig
2004-06-22 22:00:36 +00:00
Christian Schlittchen
6af9470503 - Diverses 2003-12-28 15:30:43 +00:00
Enno Rehling
87548a276d Befehlsskript um Zug auszuführen. 2003-12-17 23:11:52 +00:00
Enno Rehling
d0abe91d9c Kleine Änderung 2003-12-17 22:10:59 +00:00
Enno Rehling
50e24a43e6 Skripte in eigenem folder.
Starten von wdw mit Parameter -e wdw-run.lua
+ erkennt jetzt, ob schon allianzenausgesetzt wurden, ruft ansonsten das setup auf
+ schreibt reports/victory.txt Datei mit Spielstand
2003-12-15 23:20:41 +00:00