Commit Graph

684 Commits

Author SHA1 Message Date
Enno Rehling 9671629f47 Jamfile optimization 2007-05-03 11:08:51 +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 af0a7b225a curse-flags funktionieren jetzt anders, und koennen per curse-type gesetzt werden so dass der spell es nicht tun muss, aber dann vom spell ueberschrieben werden (passiert per XOR). 2007-04-21 23:04:24 +00:00
Enno Rehling 6283910959 - Fehlermeldungen ueber fehlende item-infos und Rasseninfos entfernt
- Falsche Rasseninfos (Attacken) aus strings.xml entfernt
2007-04-08 08:24:09 +00:00
Enno Rehling f9a39f6717 bugfix 2007-03-11 21:46:45 +00:00
Enno Rehling e9feec08ba Routine fuer "Teure Fremde" hat auch Untote korrigiert. 2007-03-11 20:52:09 +00:00
Enno Rehling fc121f99a6 command line parsing starts after the - 2007-03-01 07:55:44 +00:00
Enno Rehling 3428e5bb93 Exporting score (was used for HSE4) 2007-02-28 22:15:23 +00:00
Enno Rehling f1a2a355d0 speedup for is_guarded(), which is more important with new combat code. 2007-02-25 13:35:52 +00:00
Enno Rehling 27c188ea1c report directory in .ini file
sleep/retry when errno during report writing.
2007-02-25 11:10:13 +00:00
Enno Rehling a615089853 compile-fixes 2007-02-23 21:22:14 +00:00
Enno Rehling 61a479ad3f More English translations for spells and other parts of the code (addmessage replacements FTW) 2007-02-23 21:18:35 +00:00
Enno Rehling d86835900f argh. lomem settings falschrum 2007-02-18 10:32:39 +00:00
Enno Rehling 96302d39b4 http://eressea.upb.de/mantis/view.php?id=1130
"Schattendämonen/-meister"

Es gibt ein neues Rassen-flag, dass das bestehelen fuer eine Rasse unterbindet. Wird eingesetzt fuer SD/SM.

Ausserdem: Eine Menge falsch gesetzter XML-tags repariert
2007-02-17 12:34:07 +00:00
Enno Rehling 8e9fb0f25b old command line option removed 2007-02-10 12:28:30 +00:00
Enno Rehling 4f5c8e1878 - removing demonfix
- adding ship.maxsize to lua interface
2007-02-07 17:58:31 +00:00
Enno Rehling 8c82b2815e more crashes caused by shipowner==NULL 2007-02-04 13:30:06 +00:00
Enno Rehling bb374629ba Angepasste Jamfiles 2007-02-03 15:26:28 +00:00
Enno Rehling 91e7829b3c http://eressea.upb.de/mantis/view.php?id=975
"SPIONIERE bringt durchwegs falsche Resulate"

Falsche Schleife. Bei der Gelegenheit Spionage nach spy.c verlegt, und das ganze wegen der Sprueche die es brauchen in ein anderes Directory verschoben, auch wenn ich eigentlich meine, da gehoert es nicht hin...

Jamfile-Anpassungen kommen gleich.
2007-02-03 14:09:03 +00:00
Enno Rehling 3b180b2980 gmtool compilation problem fixed. 2007-01-30 22:58:49 +00:00
Enno Rehling 2eb2bf56a9 Piraterie Crashfix 2007-01-21 09:25:23 +00:00
Enno Rehling e0f05aa9fd LUA: get_season() function 2007-01-13 21:34:32 +00:00
Enno Rehling 3067eb51ea region-keys and some renaming. 2007-01-13 21:29:57 +00:00
Enno Rehling 97342e5b81 http://eressea.upb.de/mantis/view.php?id=1096
Bergwächter können auch ohne Waffen bewachen.
2007-01-01 12:06:29 +00:00
Enno Rehling 96ef8640f3 verbosity in inifile
remove dead binding.
2006-11-22 22:17:15 +00:00
Enno Rehling 39d4c22186 Making this thing compile on windows. 2006-11-22 21:59:24 +00:00
Enno Rehling 71470c7fe2 added an ini-file reader to gmtool and server (the command line gets too damn long) 2006-11-22 21:07:48 +00:00
Enno Rehling 00d0bbc3b6 Removing some defines that have long become the norm for all games. 2006-11-04 21:38:25 +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 d8cff1f61f lua functions:
message_unit
  message_region
  message_faction
2006-10-04 22:25:39 +00:00
Enno Rehling c3e4e828a8 NMR-Zaehlung auch fuer LUA 2006-08-20 13:32:03 +00:00
Enno Rehling ed70863843 Total ohne Not mal wieder eine grosse Umstellung gemacht: Diesmal am Parser.
Okay, natuerlich habe ich damit was im Sinne: Das ist eine Vorbereitung auf voll geskriptete, neu zugefuegte Befehle und anderes Processing (aus Skripten). Fuer ein neues Spiel.

Hoffen wir, dass nicht zuviel kaputtgeht :-)
2006-08-12 19:15:16 +00:00
Enno Rehling 80e445fe96 guessing the name of the order file if it isn't specified. 2006-07-28 22:08:00 +00:00
Enno Rehling da6e342ff3 Lua extension: ships get a weight and capacity property. 2006-07-25 09:57:47 +00:00
Enno Rehling 19870b9b2b Distanzberechnungen in Lua 2006-07-24 23:18:38 +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
Enno Rehling 964387c834 Erweiterung, um aus einem vom gmtool heraus aufgerufenen Skript Regionen zu highlighten oder zu selektieren. Noch ungetestet. 2006-05-25 14:56:10 +00:00
Enno Rehling d72c0ab07e LUA: region.herbtype 2006-05-08 20:28:53 +00:00
Christian Schlittchen 10b1306b30 Diverse wdw-Fixes 2006-05-07 21:11:49 +00:00
Enno Rehling 978242f52c böser fehler in der fix_familiar() routine von letzter woche. 2006-04-22 18:43:58 +00:00
Enno Rehling da12fb8586 lua properties for get/set familiar. 2006-04-22 11:32:28 +00:00
Enno Rehling 4c3e912a30 added the forgotten bindings to gamecode 2006-04-17 10:08:13 +00:00
Enno Rehling 4d82a5eca3 saving also on 'S' (since F2 isn't reliable) 2006-04-16 17:26:50 +00:00
Enno Rehling 7c80bbfebb lua-skripting für gmtool fertig 2006-04-16 16:32:14 +00:00
Enno Rehling 1e5aeac0e5 familiarmage attribute in CR
bindings for the GM tool (selection, current region)
2006-04-16 16:11:16 +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 ec1f6c9963 lua-gmtool kompiliert unter linux 2006-04-16 13:04:52 +00:00
Enno Rehling 4316903e9a lua for the gmtool 2006-04-16 12:48:55 +00:00
Enno Rehling 573d283e92 'H': highlight (by terrain/units/faction/ships/none)
'T': tag (by terrain/units/faction/ships/none)
't': tag/untag current region
2006-04-14 16:56:48 +00:00
Enno Rehling 5e57e78818 fix familiar-fixes 2006-04-09 19:19:18 +00:00
Enno Rehling 11bc581285 gmtool, angefangen highlighting zu implementieren.
bugfixes letzter eressea-commit
2006-04-09 18:13:47 +00:00
Enno Rehling 2f8e9e2053 on a hunch, checking that number of mages is correct. Also, removing invalid familiars. 2006-04-09 18:10:57 +00:00
Enno Rehling fc70d1d66a fix for fix_familiars complaining about goblins.
indentation fixes.
2006-04-09 17:35:15 +00:00
Enno Rehling 3145295ad4 http://eressea.upb.de/mantis/view.php?id=869
BEWACHE nach "langen" Kampf nicht möglich; Fehlermeldungen nach "langen" Kampf

Noch ein Flag eingeführt. Hoffe, dass das klappt.
2006-03-26 21:49:37 +00:00
Enno Rehling a14d57f32d made the save function work, and not print so much (quiet now understands
'real quiet' as anything >=2 in some places).
Made the listbox code handle PNEXT and PPREV, very helpful for the faction
list.
2006-03-26 21:14:35 +00:00
Enno Rehling a04cb3efbd http://eressea.upb.de/mantis/view.php?id=871
Units with FIGHT FLEE|NOT get -1 in tactics (implementation bug fixed)
2006-03-26 09:36:55 +00:00
Enno Rehling a4f3784cb3 even less refreshing. 2006-03-26 00:08:34 +00:00
Enno Rehling 6da812e00c missing project file for VC7.1 2006-03-25 18:10:33 +00:00
Enno Rehling 34d5a238a3 improving the update speed of curses windows over my slow ssh connection,
less redraws.
2006-03-25 18:05:22 +00:00
Enno Rehling bb1ba6b366 The new GM tool, added to the eressea/ directory. All that remains is to
salvage some mapper functionality and stuff it in there (and cleanup), then
the mapper/ directory can go.
2006-03-24 07:35:51 +00:00
Enno Rehling d5b6803137 http://eressea.upb.de/mantis/view.php?id=845
Vertrauter hat keine Zauber
- Korrekturroutine komplett
2006-02-26 15:48:56 +00:00
Enno Rehling d598babbb1 http://eressea.upb.de/mantis/view.php?id=845
- Vertraute haben keine Zauber, korrektur-routine.
2006-02-26 14:08:19 +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 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 dceb83c6a7 The incomplete fspecial functions cause quite a bit of attribute-lookups, so I'm putting them in a #define until they get implemented (if ever).
#define KARMA_MODULE is you want to use fspecial in the future.
2006-02-17 22:59:03 +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 102a68f01e eliminating iconv in favor of the encoding in libxml2 2006-02-09 22:43:31 +00:00
Enno Rehling 589b1b036a making the old eressea binary run on x64:
- normalvariate fix.
- familiars again
- invalid assert
- forgot init_reports
2006-02-09 22:20:28 +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 9466428c4d bugfix: create_mage u. Dämonen/VERGESSE
Windows: weg mit der Debug-CRT
2006-02-05 10:47:28 +00:00
Enno Rehling 4b0074cb3a don't use MT library for release 2006-02-04 13:08:44 +00:00
Enno Rehling 74b15fcd70 global warming only in summer - fix 2006-02-04 11:59:03 +00:00
Enno Rehling fcbc834a2b global warming only in summer 2006-02-04 11:54:51 +00:00
Enno Rehling 5230bfd473 LUA: making faction.info writeable 2006-01-29 22:52:42 +00:00
Enno Rehling 584cea02ed fixed a few includes, problem caused by the header move yesterday 2006-01-29 08:31:54 +00:00
Enno Rehling 0fe3e9ad4b Project files: Not using MT libraries in VC7 really speeds up the CRT calls. 2006-01-24 23:20:33 +00:00
Enno Rehling 64318eaab3 ugroups code entfernt:
- Es ist unwahrscheinlich, dass er je genutzt wird,
- Er ist nicht vollständig
- Er ist gründlich veraltet
2006-01-22 23:29:15 +00:00
Enno Rehling 08fec11034 http://eressea.upb.de/mantis/view.php?id=708
Umsetzung Announce 13.9.: Die Kampfauswirkung auf Bewegung war nicht implementiert.
2006-01-15 17:50:01 +00:00
Enno Rehling 7ad5ed06cb number of new players in statistics corrected. 2006-01-15 11:05:23 +00:00
Enno Rehling 517f8e3f81 fixed some memory leaks 2006-01-02 21:50:57 +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 c60502bfc8 find_spellbyid() kriegt nen magietyp für den fall wo zwei zauber gleich heissen, und nicht über ihre 'alte' id erkannt werden, sondern den hash des namens (für seenspell) 2006-01-01 20:11:09 +00:00
Enno Rehling b49d1cadca Aus dem TODO:
- WDW spells per XML definiert, so dass sie nicht in Eressea auftauchen, aber auch kein define benötigen

- Neue Variante des seenspell-attributes.

- weniger find_spellbyid() aufrufe.
2006-01-01 18:35:55 +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 d0d03c08af Compile-fixes. 2005-12-31 13:18:35 +00:00
Enno Rehling c30cebd352 Beim erzeugen neuer Inseln keine Eisberge und Vulkane mehr machen. 2005-12-31 13:01:11 +00:00
Enno Rehling 9ea1f9fdf5 invalid reference removed 2005-12-29 15:08:54 +00:00
Enno Rehling 8727c7fc4f Versehentliche Löschung der Zugvorlagen 2005-12-29 13:46:34 +00:00
Enno Rehling 18153f5614 http://eressea.upb.de/mantis/view.php?id=775
Es gibt auch noch ältere Berge und Gletscher ohne Eisen.
2005-12-19 18:56:20 +00:00
Enno Rehling 8e508a9e99 http://eressea.upb.de/mantis/view.php?id=775
verbesserte Korrektur-Routine
2005-12-19 18:30:51 +00:00
Enno Rehling 5c07121a9f http://eressea.upb.de/mantis/view.php?id=775
Berge ohne Eisen (und generell Regionen ohne Resourcen).
2005-12-19 17:31:27 +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 3ae0abad4b bugfix old lua versions
removing some instances of oldterrain() calls

kingdoms: removing assert on missing old races
kingdoms: handling missing potions gracefully
2005-11-25 23:52:53 +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 d215d26f45 http://eressea.upb.de/mantis/view.php?id=762
Teufelchen als Vertrauter einmal mit und einmal ohne Aura

Neue Vertraute haben kein mage-attribut gekriegt beim ersten lernen.
2005-11-25 17:07:41 +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 357a73e826 XML reports - incomplete implementation, might finish it eventually. 2005-11-18 23:23:47 +00:00
Christian Schlittchen b34b63fd25 Fehlendes Include report.h 2005-11-06 08:53:17 +00:00
Enno Rehling d2a75f15fe code cleanup, reports. report types are now registered (some code I had on my disk since the days I was writing xml reports), and a new mailit format (reports.txt replaces mailit). Also, no more writing of shellscripts from the server, since that's done by an external script now. 2005-11-02 21:10:40 +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 ada8c3a52d bugfix: water of life
initialization of potion text
removing #if 0 code.
2005-10-30 09:51:02 +00:00
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 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 4ce88dad13 removing the old NEW_RESOURCEGROWTh macro 2005-10-24 20:06:40 +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 e0f6999a4f typo 2005-10-11 20:39:16 +00:00
Enno Rehling 1e3877e8a2 irgend etwas am fixing des ozean-alters ist nicht richtig und zerstört die neuaussetzung. 2005-10-11 20:37:48 +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 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 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 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 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 ee64acff21 http://eressea.upb.de/mantis/view.php?id=684
Straßen durch Wüste ohne Karawanserei

Der Code scheint okay zu sein, nur Altdaten nicht. Habe eine Korrektur-Routine eingebaut.
2005-09-28 18:52:18 +00:00
Enno Rehling bcf0b8d446 removed the old GROWING_TREES macro.
Also, made sure starting regions always have at least a few trees and horses, because I'm sick and tired of the complaints.
2005-09-10 21:09:51 +00:00