Commit graph

462 commits

Author SHA1 Message Date
Enno Rehling
1113d3d7e9 bugfix luxuries. now possible (though not done) to read them from xml. 2005-10-29 16:28:10 +00:00
Enno Rehling
89e8c622c7 more weapons out of the code. 2005-10-29 16:10:08 +00:00
Enno Rehling
baab10febe the last of the item_type constants disappear. 2005-10-29 15:03:18 +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
43e44a083e bugfix init_oditems: if a resource was later in the list than one that used it, the game would crash 2005-10-29 11:39:34 +00:00
Enno Rehling
13efa939c1 ao_daemon, not daemoneye 2005-10-26 20:44:49 +00:00
Enno Rehling
e31215f8f1 removing hardcoded itemtypes that now give warnings. 2005-10-26 20:12:28 +00:00
Enno Rehling
a8480e3865 fixing seeds, one commit at a time 2005-10-26 19:56:28 +00:00
Enno Rehling
b19c4f5cc6 skill fuer spear heisst polearm 2005-10-26 15:15:18 +00:00
Enno Rehling
abcaac8f97 removing seeds and mallornseeds from the source (less warnings, too). 2005-10-25 21:24:15 +00:00
Enno Rehling
ac30257333 removed a lot of old code that used or initialized potions and herbs, moved those to the xml data instead. also made spells use resource_type instead of resource_t to have one less place where those are used.
The tech-tree loading is now smart enough that a resource can depend on another one that isn't loaded yet (it builds a dummy of the resource at first). his can backfire if you then forget to define that resource for real, i'll eventually need error-handling there.
2005-10-25 20:44:18 +00:00
Enno Rehling
688b796aec - sk_ prefixes von den skillnames entfernt. 2005-10-25 14:51:15 +00:00
Enno Rehling
28f41c3edd - sk_ prefixes von den skillnames entfernt. 2005-10-25 14:27:24 +00:00
Enno Rehling
193b69b049 new xml data 2005-10-25 13:02:55 +00:00
Enno Rehling
68433ad0d1 Der Eressea-Code hat jetzt auch extern definierte Terrains. Ich war so gründlich wie es ging dabei, die alten T_ Konstanten zu entfernen, aber einzelne Regeln sind ziemlich hardgecodet (wo Drachen geboren werden, usw), und benötigen daher noch das terrainid.h include, in das der alte enum verfrachtet ist.
Konfigurierbarkeit ahoi.
2005-10-25 12:38:01 +00:00
Christian Schlittchen
1c7ace7556 WdW-Pyramiden 2005-10-23 11:27:55 +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
b7a8660eef Fehlende spellinfo nach letzten Änderungen 2005-10-23 08:08:55 +00:00
Enno Rehling
a0ee76abe2 Many new spell translations. 2005-10-22 19:53:44 +00:00
Enno Rehling
38ec0dc2ad http://eressea.upb.de/mantis/view.php?id=723
Zauber Gürtel der Trollstärke jetzt mit Drachenblut

wieder mit permannter aura.
2005-10-17 18:16:03 +00:00
Enno Rehling
b8f8981c96 http://eressea.upb.de/mantis/view.php?id=722
Zauber Rostregen, Beschreibungsupdate.
2005-10-16 21:44:00 +00:00
Enno Rehling
2d86eff74f http://eressea.upb.de/mantis/view.php?id=720
Boote koennen nicht auf Gletscher landen

Schlafende Eisberge wurden als Gletscher angezeigt, aber von Schiffen nicht so behandelt.
2005-10-16 21:41:44 +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
Christian Schlittchen
9ba5ebedb9 wdw-Zauber angepasst 2005-10-09 15:13:39 +00:00
Enno Rehling
fa929a855d Kräuterbeutel: WdL, nicht Holz, als Zutat. 2005-10-09 12:22:14 +00:00
Enno Rehling
46cb474885 Zaubernamen weniger deutsch & Patzerfunktion vereinheitlicht 2005-10-09 02:10:03 +00:00
Enno Rehling
ea8539cb15 Zauber trollbelt war verloren gegangen.
find_spellbyid bekommt ein Fallback für Zauber, die die ID gewechselt haben.
2005-10-08 19:47:13 +00:00
Enno Rehling
594683d077 replaced spellids by spellnames 2005-10-08 18:43:00 +00:00
Enno Rehling
f34f09e7b6 order of execution for XML parser changed. 2005-10-08 18:38:26 +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
128b5d0b9a spells, defined in XML 2005-10-08 11:45:45 +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
17958f9683 Armbrust aus dem Code genommen.
Abbruch, wenn ein Item aus dem Datenfile nicht in den XML-Resourcen ist.
2005-10-03 21:15:47 +00:00
Enno Rehling
5dfc2f08b6 Apfel, Nuss und Mandelkern (und Kekse) fleigen raus aus dem Source.
Burgen fliegen aus dem Source.

XML reader unterstützt jetzt auch Gebäude mit mehreren Ausbaustufen.
2005-10-03 20:59:11 +00:00
Enno Rehling
23d7205a8b removed I_GREATSWORD and I_RUSTY_GREATSWORD from the source. 2005-10-02 21:32:20 +00:00
Enno Rehling
b65917bb97 removed I_SWORD and I_RUSTY_SWORD from the source. 2005-10-02 21:11:17 +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
74f03ab496 daemon -> demon 2005-10-02 17:34:00 +00:00
Enno Rehling
6b87faf047 First test to remove items from code: AXE and RUSTY_AXE are out.
Rewriting the rust-spell. Now affecting armor as well (with lower chance)
2005-10-02 17:04:16 +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
e240860486 http://eressea.upb.de/mantis/view.php?id=711
rostiges schild -> rostiger schild
2005-10-01 09:27:44 +00:00
Christian Schlittchen
b917430561 Diverser Kleinkram für WdW:
- Papyrus-Dummy-Item
- NO_RANDOM_BRAINEATERS
- ...
2005-09-11 20:16:04 +00:00
Enno Rehling
8276a63c1e http://eressea.upb.de/mantis/view.php?id=680
Einheit verhungert und Gegenstände gehen verloren

Aauflösen von Einheiten vereinheitlicht, und einige alte #defines mitsamt Code entfernt.
2005-09-08 19:03:42 +00:00
Enno Rehling
11f9e607ca Spell translations. 2005-09-03 09:27:01 +00:00
Enno Rehling
b252b00163 Der server mag es nicht, wenn Rassen ein space im internal name haben, weil
trigger den rassennamen ohne "" schreiben. also operiere ich die mal raus,
spaces soll man da auch nicht haben.
2005-08-21 09:24:14 +00:00
Katja Zedel
0127f3446c überladene drachen fix 2005-08-14 11:50:23 +00:00
Katja Zedel
5a756a03f0 neue wdw rasse 2005-08-14 11:48:02 +00:00
Enno Rehling
db7c4914f3 script-fix welcome-text für neue spieler. 2005-08-07 14:37:25 +00:00
Enno Rehling
f7502f08cf item-scores were broken
removed laen shield and laen mail from the sorce and put them in the XML files - because I can.
2005-07-31 19:22:14 +00:00