Commit graph

154 commits

Author SHA1 Message Date
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
3fb3e7b201 New way of storing attrib-lists should make it faster to find a specific one and jump over entire classes of attribs. 2006-02-25 00:12:48 +00:00
Enno Rehling
b7552f0d06 - New random number generator
- Faster get_pooled/use_pooled
- faster peasants()
- faster plagues()
- faster horses()
2006-02-19 22:43:56 +00:00
Enno Rehling
4bc803ef2c http://eressea.upb.de/mantis/view.php?id=826
Wrong wages for orcs

also:
- removing some really old GMcommand code.
2006-02-12 20:10:32 +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
d63090111d return statement in void function = evil 2006-02-11 08:31:18 +00:00
Enno Rehling
d5c94df710 the awkwardly named 'young tree' is now called 'sapling' 2006-02-10 22:24:20 +00:00
Enno Rehling
a1de5d5701 old eressea executable has problems with non-existing lua spells. 2006-02-09 19:57:25 +00:00
Enno Rehling
ef2e1c8da9 project eressa64: trying to run eressea natively on 64 bit hardware. 2006-02-09 19:39:17 +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
5230bfd473 LUA: making faction.info writeable 2006-01-29 22:52:42 +00:00
Enno Rehling
7ad5ed06cb number of new players in statistics corrected. 2006-01-15 11:05:23 +00:00
Enno Rehling
83e9b7a994 slightly improved, but still hackish way to recognize luabind versions. 2006-01-02 20:24:33 +00:00
Enno Rehling
a032e94382 noch eine Stelle mit LUABIND_OLD :-/ 2006-01-01 23:32:20 +00:00
Enno Rehling
0336a0953e - Fehler in der neuen random_terrain routine gefunden.
- Problem mit altem luabind repariert.
2006-01-01 23:29:04 +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
Enno Rehling
9bf60a5451 Spezialfall: Einheiten, die nicht laufen können.
LUA: Rasse ändern ändert auch irace.
2005-12-31 16:13:20 +00:00
Enno Rehling
e30c171995 lua: faction.options and faction.flags 2005-12-31 13:39:55 +00:00
Enno Rehling
d51b277d8a crashbug missing volcano_terrain 2005-12-11 15:14:03 +00:00
Enno Rehling
9be2d7b33d didn't like binding int and double with same name. why? 2005-12-11 12:41:05 +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
Enno Rehling
a6cc57370f LUA: export unit::age 2005-12-10 12:32:26 +00:00
Enno Rehling
93eb6adeff neue regionsresourcen: "chaos" und "grave" (um chaoscount und detahcount zu verändern) 2005-12-04 14:53:27 +00:00
Christian Schlittchen
3705d0d1eb init_summary für wdw, zusätzlicher assert 2005-11-27 14:13:48 +00:00
Enno Rehling
383dc8ad15 compilation errors 2005-11-27 10:06:18 +00:00
Enno Rehling
d808de65c8 new attribute "object" allows arbitrary named data to be added to any object (improvement on the "key" attribute)
exported to LUA: x.objects returns the collection of objects, accessible through :get() and :set() functions
2005-11-26 15:28:11 +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
33ec0e321b fixing up the luabind/gcc4 compilation 2005-11-25 22:53:10 +00:00
Enno Rehling
6e76a3d601 luabind: using define LUABIND_OLD instead of BOOST_VERSION 2005-11-25 22:25:13 +00:00
Enno Rehling
bb1e86ebb4 new code for 'kingdoms':
- disabling skills
- region owners
- maintenance costs configurable
- wage configurable
2005-11-25 22:09:59 +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
422008c0e2 exporting the origin of a faction to lua (so factions can be relocated) 2005-11-20 11:41:16 +00:00
Enno Rehling
cc7a1d15bb it helps to include version.hpp 2005-11-01 20:49:58 +00:00
Enno Rehling
f6952988e4 made compatible to earlier luabind version (just to avoid some work non VC++), but a little hackishly through the BOOST_VERSION define.
removed some almost unused funtions (pt_find, etc).
2005-11-01 20:33:21 +00:00
Enno Rehling
dfc6f83c62 upgrade to luabind beta-7 devel-2
upgrade to g++ 4.0
2005-10-31 22:34:45 +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
0e0f37d970 bugfix seed-registrierung 2005-10-26 19:02:45 +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
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
3415216610 more verbose exception handling 2005-10-09 22:01:08 +00:00
Enno Rehling
31e3384165 compilation errors 2005-10-09 21:48:56 +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
e208a2ba8d added exception handling 2005-10-09 01:19:44 +00:00
Enno Rehling
fed680604a missing includes for spell.cpp
bugfix memset in create_mage
2005-10-08 16:14:15 +00:00
Enno Rehling
1771a81c52 Neues Datenformat macht Schluss mit der Speicherung von spell-ids im Datenfile. 2005-10-08 15:25:21 +00:00
Enno Rehling
b3c4dda44a Messages als LUA-Objekte. Damit lassen sich jetzt auch von LUA aus lokalisierte messages an Parteien versenden. 2005-10-08 11:42: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
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