Commit graph

60 commits

Author SHA1 Message Date
Enno Rehling
689dedae6d - equipment for new factions defined in xml, not lua.
- added possibility to give equipment to factions, not only the first unit
- 4 adamantine for new factions
- removed obsolete SHORTPWDS define
2008-06-02 09:16:58 +00:00
Enno Rehling
8656b2323b implementation of adamant and tunnels 2008-05-30 21:01:25 +00:00
Enno Rehling
88ce120991 it is not a good idea to use the turn to check whether the gamedata has changed. we use a cookie instead that is different each time we load. 2008-05-22 21:44:23 +00:00
Enno Rehling
dcf7166973 local fixes 2008-05-18 14:38:12 +00:00
Enno Rehling
77b292e05a compilation fixes GCC. 2008-04-26 16:46:05 +00:00
Enno Rehling
3fbf8ffbfc resizing a buffer that was way too small 2008-03-10 12:18:21 +00:00
Enno Rehling
f3098d830d - fixing a bunch of isspace() mistakes.
- horses are big
- assume orders come as utf8
2007-11-15 20:38:44 +00:00
Enno Rehling
b132ffdd2b Unicode WIP:
- links on Linux (Jamfile changes)
- bugfix latin1/newfactions file
2007-08-19 20:40:42 +00:00
Enno Rehling
cae7e67fdf Unicode WIP
- Bugfix region::connect structure not initialized
- set encoding from Lua
2007-08-16 06:53:00 +00:00
Enno Rehling
d4d6776b50 Unicode WIP, backward compat:
- latin1 reader for datafile
- latin1 reader for orders

a number of minor conversion bugs fixed, this version can now run a turn and write reports, it seems.
2007-08-12 09:51:26 +00:00
Enno Rehling
b837248601 !this commit does not compile!
Unicode WIP:
- removed xmlChar and returned everything to char * again, now that conversion is complete.
- added option to specify orderfile and daatafile encoding in .ini file

currently: implementing reading of latin1 datafiles for backward compatibility
2007-08-10 07:03:23 +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
c36b14e9e0 Nur Boote und Langboote koennen per Zauber fliegen.
Ein Item fuer den Flug von anderen Schiffen.
2007-04-22 01:10:38 +00:00
Enno Rehling
5e99e84614 http://eressea.upb.de/mantis/view.php?id=1135
"Untote greifen sofort nach dem Aufstehen an"

spawn_* Funktionen erst am Ende der Auswertung
2007-02-18 11:27:26 +00:00
Enno Rehling
dd58ca4830 christmas implementation (not very fast, but working) 2007-01-13 21:30:36 +00:00
Enno Rehling
56a28511a4 Weihnachtsgnom 2006 2006-12-23 23:58:03 +00:00
Enno Rehling
51fb741bce FUZZY_BASE36 fuer ein paar Parteien.
Falsche Meldung fuer curse-removal
2006-12-03 13:24:11 +00:00
Enno Rehling
d02be7811a cleanup 2006-10-07 21:26:31 +00:00
Enno Rehling
29f7128dee cleanup 2006-10-07 21:25:11 +00:00
Enno Rehling
ae41442b01 Fix der NMR-Berechnung 2006-08-20 16:23:46 +00:00
Enno Rehling
45fad69789 fi -> end 2006-08-20 13:33:01 +00:00
Enno Rehling
c3e4e828a8 NMR-Zaehlung auch fuer LUA 2006-08-20 13:32:03 +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
e936284347 Massive changes:
- removed all hadcoded weapons
- added code to put resources like iron&wood in XML
- added laen & wood to XML
- fixed damage for mallorn lance
- removed the old entrise code
- added new ent code in lua, eressea-only
2006-02-11 16:11:16 +00:00
Enno Rehling
619a3f5387 Beginn einer Implementation von Schneemännern für Eressea 2005-12-26 23:49:16 +00:00
Enno Rehling
945a60a20c Sicherstellen, dass keien hardlinks automatisch übermeiert werden (unlink).
Schnelleres Backup ohne system() mit Hardlinks.
2005-12-18 21:53:12 +00:00
Enno Rehling
73123575a6 Weihnachtsitem 2005 2005-12-18 18:09:53 +00:00
Enno Rehling
57cb0c73fc embassies in a separate file 2005-12-11 12:33:57 +00:00
Enno Rehling
28be52c1b2 LUA:
- messages an regionen versenden

Eressea:
- Besucher von Muschelplateau kriegen ein Spezialgimmick
- Diverse magische Items im Gewicht auf 0 reduziert.
2005-12-11 11:43:18 +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
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
873404d8f4 crashbugs in randenc und rostregen 2005-10-09 19:52:21 +00:00
Enno Rehling
9230a0a074 I must remember to load the spells, too 2005-10-08 21:34:00 +00:00
Enno Rehling
49bd595d69 New code:
"equipment-sets" in the XML definition files (equipment.xml) can define skills and items for a unit. these can be applied using the equip_unit() function (from both LUA and C).

I've rewritten the random first encounters and addplayer() functions to use these. As a result, there's now even less dependency on fixed item types in the source, and I can take more items out.
2005-10-02 20:28:44 +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
Enno Rehling
a72a43c384 starting equipment & skills for new factions is read from the equipment.xml file instead of hardcoded. Makes give_starting_equipment a lot smaller and reduces the number of I_* item-constants used in the code. 2005-10-02 15:54:24 +00:00
Enno Rehling
f175d0804d Noch mehr Doppelspieler 2005-09-08 22:25:56 +00:00
Enno Rehling
e639a1258b autoseed, creating island controlled from script.
bugfix empty orders in savefile
2005-08-07 13:48:18 +00:00
Enno Rehling
e3ee073591 feh... no idea why that didn't work the way I wanted. 2005-07-24 08:08:40 +00:00
Enno Rehling
46d7df82dc reihenfolge skript laden/ausführen war wohl falsch 2005-07-24 07:52:05 +00:00
Enno Rehling
3ca3afad78 Skript zum töten von Doppelspielern. 2005-07-23 20:38:14 +00:00
Enno Rehling
1ebff5601a http://eressea.upb.de/mantis/view.php?id=539
NEUSTART hat mehrere Fehler
Issue: 539
2005-06-04 15:34:04 +00:00
Enno Rehling
4ed68348ba Fehlerbehandlung fehlende Befehlsdatei 2005-04-24 21:54:57 +00:00
Enno Rehling
80ac5399ec Das schreiben der Zusammenfassung ist jetzt ein Skriptbefehl.
Neue Parteien werden in das SQL-log aufgenommen.
2005-04-16 13:03:35 +00:00
Enno Rehling
c403a43146 startbedingungen nur noch an einer stelle. immer 4200 silber, 30 logs, 30 stone. 2005-04-09 09:11:41 +00:00