Commit graph

143 commits

Author SHA1 Message Date
Enno Rehling
281ed3d3e9 Remove remainder of old the tunnel implementation with b:add_action(). 2018-10-14 17:53:48 +02:00
Enno Rehling
7eb951544a equip_newunits got called twice. 2018-07-30 22:19:40 +02:00
Enno Rehling
cd6154cae6 fix the lighthouse crash in preview. 2018-07-22 10:55:09 +02:00
Enno Rehling
64eb545b4a Bug 2460: Startgeschenke 2018-07-12 20:24:23 +02:00
Enno Rehling
6d10ee8fa5 BUG 2453: Erstausstattung und Default-Befehle für neue Parteien. 2018-06-24 18:08:19 +02:00
Enno Rehling
269030082c remove struct equipment from the code entirely. 2018-05-15 21:51:47 +02:00
Enno Rehling
9dd38a6593 convert E2 familiars from XML to Lua 2018-05-15 06:58:07 +02:00
Enno Rehling
e46cfa5e77 remove even more equipment xml to Lua
only familiars still TBD, I think.
2018-05-14 22:01:32 +02:00
Enno Rehling
40a2a6735a mac build fix, dragon spoils equipment in Lua 2018-05-14 04:42:59 +02:00
Enno Rehling
2be0e9bd41 customize equipment for each game, in Lua.
no more equipment.xml for e3
2018-05-13 21:58:01 +02:00
Enno Rehling
a741eaca97 equip new orcs in e2 with lua and a hacky callback. 2018-05-13 21:23:54 +02:00
Enno Rehling
4240e142a5 BUG 2440: the random encounters code was completely unused. 2018-05-13 16:15:22 +02:00
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