Commit graph

199 commits

Author SHA1 Message Date
Enno Rehling
0c05d8f978 Lua 5.1 has deprecated the old for-syntax for tables. 2007-06-13 12:38:15 +00:00
Enno Rehling
54446e0a1e RTS/Archetypes (WIP):
- tested and fixed archetype-recruiting
2007-05-28 19:45:08 +00:00
Enno Rehling
2651973059 RTS/Archetypes (WIP):
- equipment for new factions
- game gets a calendar
2007-05-28 17:52:24 +00:00
Enno Rehling
b27da8c056 Archetypes (WIP): "RECRUIT 15 knight"
creates XML-configurable pre-skilled units for game variants with faster reinforcements.
Speeding up locale-string lookup a little bit, and making it more unified for different classes of strings (so new ones are easily added).
2007-05-28 16:03:48 +00:00
Enno Rehling
fa6192daf9 Christmas update: we celebrate Knut. 2007-05-27 21:48:29 +00:00
Enno Rehling
668809b9c2 Beautification: New English texts, some NR fixes. 2007-04-22 12:45:54 +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
72d0596bec strcmp() bugfixes 2007-04-15 08:01:12 +00:00
Enno Rehling
85e9803acf bugfix xmastrees 2007-04-04 19:25:40 +00:00
Enno Rehling
e5bd9e8199 funktion. braucht klammern. 2007-04-04 18:52:11 +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
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
bb374629ba Angepasste Jamfiles 2007-02-03 15:26:28 +00:00
Enno Rehling
97a2cbe5b0 Effekt von Weihnachtsbaum, Regionsmeldungen. 2007-01-13 21:55:11 +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
0bf8468210 Sonnensegel macht +1 Geschwindigkeit. 2006-11-05 20:14:07 +00:00
Enno Rehling
fb63929d81 http://eressea.upb.de/mantis/view.php?id=1045
Einheit besitzt "-1 Sternenstaub"?

lua interface benoetigt Zugriff auf den Regionspool um use_-Funktionen korrekt zu implementieren.
Issue: 1045
2006-10-28 07:45:59 +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
d8cff1f61f lua functions:
message_unit
  message_region
  message_faction
2006-10-04 22:25:39 +00:00
Christian Schlittchen
1162b6a795 Bugfixes WdW Sphinx und Phoenix 2006-09-17 18:20:36 +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
6b835e9b82 - Making the new highlight/select bindings work
- script to move selected regions
2006-05-25 22:34:58 +00:00
Christian Schlittchen
10b1306b30 Diverse wdw-Fixes 2006-05-07 21:11:49 +00:00
Enno Rehling
288961e38a lua bindings:
- moved gamecode-related ones to a new object file
- added bindings to the gmtool
- fixed scripts that used set_brain()
2006-04-16 14:18:09 +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
318f348f27 use snowman 2006-02-26 00:59:49 +00:00
Enno Rehling
7d856b43da Extrem blöder Bug in Schneemann-Routine 2006-02-12 23:37:56 +00:00
Enno Rehling
9475e47606 - bugfix capacities
- a little cleanup
2006-02-11 23:18:10 +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
640652ef99 earn_silver Zauber in script/xml ausgelagert.
bugfix snowman
avoid huge amounts of log-messages
handle renaming of spells.
2006-02-05 15:48:52 +00:00
Enno Rehling
7580c0fd72 doppelspieler 2006-01-29 15:11:20 +00:00
Christian Schlittchen
d8de765bb7 - Quickfix fuer Crashbug im Mapper beim Erzeugen neuer Einheiten
- WdW-Sphinx-Kram
2006-01-15 18:47:52 +00:00
Enno Rehling
bde8256028 http://eressea.upb.de/mantis/view.php?id=788
- Muschelmeldung
2006-01-15 13:44:52 +00:00
Enno Rehling
77bc58aabd bugfix: use_item scripts must return a value 2006-01-08 10:24:51 +00:00
Enno Rehling
ba555c842a somehow random_terrain still crashes. oh, and tha familiar stuff was in the
wrong function
2006-01-01 22:20:52 +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
29df2263c6 Phoenixkompass fuer wdw, noch ungetestet 2006-01-01 15:15:41 +00:00
Enno Rehling
619a3f5387 Beginn einer Implementation von Schneemännern für Eressea 2005-12-26 23:49:16 +00:00
Enno Rehling
3372e17530 Implemntation Stardust 2005-12-25 19:13:51 +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
Enno Rehling
4635c46ec2 - dice_rand kann einfaches multiplizieren
- als dice_roll nach lua exportiert
- equipment kann in inventories getan werden
- region::land bekommt ein inventory
- terraform legt equipment in neue regionen

kingdoms:
- neues terrain berge.
2005-12-11 09:58:17 +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
7f0b8f98d1 kingdoms: lua error in determining region owner 2005-11-26 01:31:35 +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
cb9106473b Special non-item resources like hp and peasant can now be defined externally.
removed all the hardcoded armor from the source.
2005-10-29 14:12:46 +00:00
Enno Rehling
28f41c3edd - sk_ prefixes von den skillnames entfernt. 2005-10-25 14:27:24 +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
a9b704f6a2 Dummes Cisual Studio hat meine Datei versaut 2005-10-09 22:06:16 +00:00
Enno Rehling
a521385b13 even more create_ spells are now scripted.
started on another spell (earn_silver), needs enabling and testing.
2005-10-09 21:41:04 +00:00
Enno Rehling
873404d8f4 crashbugs in randenc und rostregen 2005-10-09 19:52:21 +00:00
Enno Rehling
a461d06aa6 Disabling multiplayer-marking again. 2005-10-09 09:10:55 +00:00
Enno Rehling
b6b5b9709b cleaning up the spell-scripts 2005-10-08 22:02:42 +00:00
Enno Rehling
9230a0a074 I must remember to load the spells, too 2005-10-08 21:34:00 +00:00
Enno Rehling
c7c6f169cb Englische Namen für alle Zauber.
Rassen-Spells in XML müssen keine ID mehr nutzen.
2005-10-08 18:27:40 +00:00
Enno Rehling
6426004640 Neu: Zaubersprüche können in LUA programmiert werden, und per XML-Datei (siehe spells.xml) in ein Spiel integriert werden.
Ich habe angefangen, die Item-erzeugenden Zauber aus dem Code in Skripte zu verlagern.
2005-10-08 11:02:10 +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
a1daf2f3b2 Mehr Doppelspieler 2005-09-17 20:15:46 +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
9133042ed4 bugs, bugs, bugs 2005-07-25 13:04:17 +00:00
Enno Rehling
4b58871100 Bugs, bugs, bugs... 2005-07-25 13:03:43 +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
Enno Rehling
4ab81ae614 autoseed hatte noch eine macke 2005-04-03 11:06:19 +00:00
Enno Rehling
8462f3214b did not compile, needed small fixes 2005-04-03 08:40:13 +00:00
Enno Rehling
1c01343739 Neuer Inselgenerator im Server.
Einheitliche Runtime-Library für VC.net Targets.
2005-04-03 08:32:16 +00:00
Christian Schlittchen
1b4eccc9bf - Saublöder Sphinx-Typo
- Neues Partei-Attribut at_maxmagicians
2005-04-03 07:40:19 +00:00
Enno Rehling
3115e78b31 fix for gate-scripts 2005-03-23 18:55:47 +00:00
Enno Rehling
fceceb9c4e ein /* in einem kommentar 2005-03-13 10:05:51 +00:00
Enno Rehling
ad692ba667 bugfix isalnum
HSE-Skripte
2005-02-19 14:09:22 +00:00
Enno Rehling
09d3a99006 50 Silber/Woche in den Pool
Debug message
2005-02-18 20:25:39 +00:00
Enno Rehling
03b2543d30 Renaming a lot of the HSE script files, because they are more generic than I
thought they would be and can be reused.

Added HSE4 rules files.

Added sorting by Race to the mapper's newfaction list, which might be a bad
idea for automated seeding.
2005-02-18 09:34:12 +00:00
Enno Rehling
0bd27124b2 age_building: neue funktion von steinkreisen
bugfix: steinkreise hatten negative größe

regionid und die Erstzung von \\r entfernt

bugfix: sonnensegel verschwand nicht
bugfix: rückgabewert von use_museumticket war > 0
2005-01-17 20:27:18 +00:00
Enno Rehling
cfb3b9655f Rename the startup script 2005-01-14 00:20:03 +00:00
Enno Rehling
d46c0a9d46 HSE-specific changes and LUA extensions donw during the game 2005-01-13 12:42:36 +00:00
Enno Rehling
b32890df96 Gralszählung, portal-Reparaturen 2005-01-08 11:40:14 +00:00
Enno Rehling
f56a7d8ae7 Rewrote the gates, and used them for hse05 2005-01-07 23:48:11 +00:00
Enno Rehling
5eb4f6a222 base lua script for the hse game (needs more stuff) 2005-01-04 07:50:36 +00:00
Enno Rehling
f56265c589 Bugfix eternath-gates 2005-01-03 21:28:57 +00:00
Enno Rehling
36d1956c12 Server startet eressea.lua, nicht default.lua
Das crasht allerdings momentan bei einem Gebäude!
2005-01-01 17:50:35 +00:00