Commit Graph

131 Commits

Author SHA1 Message Date
Enno Rehling 40125bb75e translate seed_%race% equipment from xml to lua. 2018-05-12 20:52:10 +02:00
Enno Rehling 271352d0ba create a lua module that can handle simple euipments.
lua test for equip_unit, with callbacks.
2018-05-12 19:10:40 +02:00
Enno Rehling 6c572c6287 rename potion: p14 to healing
fix use_item message crash
2018-02-17 20:35:00 +01:00
Enno Rehling 96062f6f85 rename p2->lifepotion (WdL) 2018-02-17 10:45:56 +01:00
Enno Rehling 8a8bf489ae clarify use_potion responsibilities.
move USE potion of life to items.c.
fix some use_ function return values.
2018-02-17 10:39:23 +01:00
Enno Rehling da02c1b92e Use custom URI schemes for config files.
TODO: XML files need to be rebased, XIncludes replaced.
2018-02-05 17:46:11 +01:00
Enno Rehling 92f82c3608 plan to eliminate xinclude use, move to single config file with includes. 2018-02-05 17:46:11 +01:00
Enno Rehling fc570d2ec7 bug 2402: xmas fix 2017-12-31 11:36:47 +01:00
Enno Rehling d47bee5572 christmas 2017 2017-12-29 21:01:50 +01:00
Enno Rehling 455e03fa05 try and make coverity understand the equipment trie.
shorten names.
2017-09-17 20:42:43 +02:00
Enno Rehling 127cc41e8e BUG 1779: Elfenwald-Effekte bei Trankzaubern.
https://bugs.eressea.de/view.php?id=1779
2017-09-05 18:56:47 +02:00
Enno Rehling 0b6f5aa064 handle eressea.ini containing a 0 to disable modules 2017-08-28 00:04:05 +02:00
Enno Rehling 6d1fe2842a leak: free special directions. 2017-08-25 08:52:15 +02:00
Enno Rehling eed93b7470 BUG 2334 and 2339: fix script update and init calls
Ponnuki and Portals scripts are working.
Ponnuki may still attack? More testing required.
2017-06-18 12:23:19 +02:00
Enno Rehling 7806f4991f store calendar configuration nin JSON, not XML. 2017-05-07 17:46:51 +02:00
Enno Rehling ad465f1028 Ponnuki should not be aggressive. 2017-05-07 17:29:55 +02:00
Enno Rehling 976b23be72 refactor E3 to use the same raindance/harvest spells as E2.
only indirect effects are different.
2017-04-30 21:39:08 +02:00
Enno Rehling 7a289ceb86 simplify building_taxes, eliminate dead lua callbacks. 2017-04-29 19:21:48 +02:00
Enno Rehling 91fc9f9a1e enable ponnuki 2017-04-22 13:52:45 +02:00
Enno Rehling aeeb13bb53 BUG 2318: Go, Ponnuki, Go!
https://bugs.eressea.de/view.php?id=2318
2017-04-09 13:35:55 +02:00
Enno Rehling 989ff65ca9 BUG 2318: disable ponnuki 2017-04-08 22:08:19 +02:00
Enno Rehling 4c67e0603b remove attribs from rtype (it's only in rtype->construction that we use it?)
test to verify that mine bonus for iron works as advertised.
change the oder of arguments for faction.create (race is the only thing not optional).
2017-03-17 22:46:10 +01:00
Enno Rehling acfb666539 remove rtype->uget funpointer, and lua callbacks.
fix a missing lua_pop that trashed the heap.
2017-03-04 20:59:43 +01:00
Enno Rehling 50bdc71c1b kill lua_canuse_item and itype->canuse 2017-03-04 17:27:13 +01:00
Enno Rehling 3c60f863a5 remove the special_resources trie.
memory leak, bad performance.
2017-02-26 18:17:58 +01:00
Enno Rehling f06d86007c seed normalization (broken) 2017-02-23 22:08:16 +01:00
Enno Rehling be14394529 load locales and rules separately (xml prep work) 2017-02-19 16:33:24 +01:00
Enno Rehling 3ea12be564 BENUTZE Muschel repariert.
at_keys hat jetzt auch zu jedem key ein value, und Funktionen zum Update altee Daten.
2017-02-13 18:48:38 +01:00
Enno Rehling 10e78b1455 remove code for dict and lua .objects properties.
rewrite muschelplateau code to use keys.
2017-02-11 22:15:21 +01:00
Enno Rehling 2ee0e599b1 initialize game after loading config 2017-02-11 17:38:39 +01:00
Enno Rehling ae83448e4a Deveron is now just E3 with a different name.
remove a lot of duplication.
add a -c option to specify a path for eressea.ini
2017-02-02 10:10:21 +01:00
Enno Rehling 94fcef2fac the locales module is deprecated.
let's do this in custom.lua from now on.
2017-01-22 19:32:03 +01:00
Enno Rehling 8d4a83d1b4 make these modules optional 2017-01-22 11:38:01 +01:00
Enno Rehling d29fd96f59 no starting equipment.
do not let the addplayer function give equipment.
rename equipment for autoseed.
2017-01-22 08:05:19 +01:00
Enno Rehling 31b3f2b2de remove Umlaut from Lua script 2016-12-10 16:22:57 +01:00
Enno Rehling 5a129f8bd4 Create the snowman with full hitpoints.
https://bugs.eressea.de/view.php?id=2239
2016-10-02 11:42:31 +02:00
Enno Rehling 452614307d require at least 2K peasants in starting regions 2016-09-11 21:27:46 +02:00
Enno Rehling 2294de44c2 accidental duplicate close. 2016-09-11 20:14:19 +02:00
Enno Rehling f926d89929 Merge branch 'develop' of https://github.com/ennorehling/eressea.git 2016-09-11 20:10:01 +02:00
Enno Rehling fdb5ecc68b always call close() in lua when you're done with a file. 2016-09-11 19:32:54 +02:00
Enno Rehling c21ecba8dd always call close() in lua when you're done with a file. 2016-09-11 19:28:25 +02:00
Enno Rehling 544af40981 fix seeding new factions 2016-09-08 20:34:25 +02:00
Enno Rehling 6aebb12fd5 Fix duplicate market effect.
https://bugs.eressea.de/view.php?id=2225
The Lua markets module is wrong, so the C code is being used.
Disable the Lua module for now, either fix or delete it later?
2016-08-06 21:51:31 +02:00
Enno Rehling 3ea33c6895 repair magic item: stardust
https://bugs.eressea.de/view.php?id=2226
2016-08-06 18:16:50 +02:00
Enno Rehling eb57473af5 slightly relax limits on quality for new player regions 2016-07-30 22:01:24 +02:00
Enno Rehling f2c02232cd http://bugs.eressea.de/view.php?id=2207
check that there are any regions that we can seed new factions into
don't run into endless loop
2016-07-30 22:01:10 +02:00
Enno Rehling b5a84f07ba release version 3.8.11
- disable autoseed (endless loop)
2016-05-17 15:46:14 +02:00
Enno Rehling 21ee84dc65 autoseed barfs on blank lines, catch that case 2016-05-15 10:35:23 +02:00
Enno Rehling 65a163b4d9 do not seed new factions if there isn't a minimum number of them 2016-05-05 13:51:31 +02:00
Enno Rehling b6b452c77b Make this error a warning instead, Eternath is over.
Disable Eternath in E2.
2016-01-24 11:07:07 +01:00