Commit graph

2605 commits

Author SHA1 Message Date
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
10b2d08a0a new attribute "object" allows arbitrary named data to be added to any object (improvement on the "key" attribute) 2005-11-26 11:49:20 +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
531115b392 - spawning new dragons and undead is now optional (lua function)
- battle-effect on peasants is configurable (by XML param)
2005-11-26 11:00:20 +00:00
Enno Rehling
7f0b8f98d1 kingdoms: lua error in determining region owner 2005-11-26 01:31:35 +00:00
Enno Rehling
ba2e0fef8c more code that fails when there are no luxuries 2005-11-26 01:24:28 +00:00
Enno Rehling
38062fa990 more code that fails when there are no luxuries 2005-11-26 01:16:55 +00:00
Enno Rehling
9d1f1d77fe fix 2005-11-26 01:09:39 +00:00
Enno Rehling
6772d1892e kingdoms: templates race needs to exist to make monsterfaction 2005-11-26 01:09:11 +00:00
Enno Rehling
7fcdcf10dd mapper: settg breaks when you have no luxuries 2005-11-26 01:02:21 +00:00
Enno Rehling
eaf1c0f447 mapper: choose_terrain didn't work with only 2 terrains. 2005-11-26 00:58:27 +00:00
Enno Rehling
3524cb59d2 random_terrain() function 2005-11-26 00:42:32 +00:00
Enno Rehling
b086e9f93a kingdoms: crashfix mapper when finding random terrain 2005-11-26 00:34:05 +00:00
Enno Rehling
b04b3ea168 kingdoms: missing mallorn seeds 2005-11-26 00:09:29 +00:00
Enno Rehling
f0ce33304b kingdoms: handling lack of luxuries 2005-11-26 00:08:47 +00:00
Enno Rehling
e8a022ae75 kingdoms: error -> warning if we cannot find a hard-coded race 2005-11-26 00:01:26 +00:00
Enno Rehling
fd3b6ac6d3 kingdoms: removing crash if seeds don't exist. 2005-11-25 23:57:58 +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
aa4fda7e26 kingdoms: null-pointer crash if potion type does not exist 2005-11-25 23:39:50 +00:00
Enno Rehling
49cd3e08ad kingdoms: resource files. 2005-11-25 23:37:27 +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
4157bfbea2 bugfix assert 2005-11-25 23:15:52 +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
cd70cfcb8b syntax error 2005-11-25 22:17:41 +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
532eb77c51 http://eressea.upb.de/mantis/view.php?id=761
Doppelte Angriffsmeldungen

battle message only reported once per round&unit
2005-11-25 21:11:05 +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
Christian Schlittchen
82fc69254c turn-Datei wurde nicht aktualisiert 2005-11-21 21:22:00 +00:00
Enno Rehling
40ef16c53f removed warnings 2005-11-20 14:50:15 +00:00
Enno Rehling
6978b09a06 removed warnings for unused() 2005-11-20 13:04:01 +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
7c2b1e3445 that stupid warning triggers too often for anyone to pay attention to it 2005-11-20 00:15:16 +00:00
Enno Rehling
802228db41 null-pointer check if no terrain was picked for terraforming 2005-11-19 15:54:16 +00:00
Enno Rehling
881f1ff2df terraforming from the mapper broke with last terrain-changes 2005-11-19 15:42:30 +00:00
Enno Rehling
e006d8a4d0 smallish compile-fixes for linux 2005-11-18 23:42:11 +00:00
Enno Rehling
357a73e826 XML reports - incomplete implementation, might finish it eventually. 2005-11-18 23:23:47 +00:00
Enno Rehling
4660c690a8 wyrms don't make room for upstart newcomers. 2005-11-18 21:12:27 +00:00
Enno Rehling
83b2feffa6 Wyrms are solitary creatures. 2005-11-18 21:02:29 +00:00
Enno Rehling
2380573d77 crashfix terraform w/ oldterrain==NULL 2005-11-14 18:58:09 +00:00
Enno Rehling
29b84b640e More gentle terraforming: If a region is terraformed and has the same size as before, no need to change the trees. No need to change peasants or money either 2005-11-11 22:53:58 +00:00
Enno Rehling
3081922ad7 http://eressea.upb.de/mantis/view.php?id=747
Übergabe eines Sonnensegels

was wrongfully marked as cursed.
2005-11-07 18:23:48 +00:00
Enno Rehling
028753b06b - MACHEN ALLES "Wasser des Lebens" sollte jetzt gehen.
- Alte Funktion entfernt.
2005-11-06 11:33:19 +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
40fb0c5528 plural kraeuterbeutel 2005-10-31 20:01:27 +00:00