Enno Rehling
cde0ce0742
fix broken laen tests by hacking in another config setting
2012-08-03 00:41:17 -07:00
Enno Rehling
1fe075e82d
laen test does not work. trying to make setresource add the raw material to fix it
2012-08-02 00:06:03 -07:00
Enno Rehling
166d4ccc2c
make the fighter in this test not die
2012-08-01 23:20:59 -07:00
Enno Rehling
65e5a82504
we can now compare regions, do not need to compare ids
2012-08-01 23:12:23 -07:00
Steffen Mecke
379e1a8f3f
fix bug #1795 : demon recruitment limit
2012-07-26 10:44:47 +02:00
Steffen Mecke
69a51c4b2c
add message if implicit leave of building owner fails (see bug #1870 )
2012-07-26 10:44:39 +02:00
Steffen Mecke
f286c51862
test effect of mine (hunting bug #1926 )
...
test that laen is processed correctly
2012-07-26 10:44:16 +02:00
Steffen Mecke
b02f275582
fixed bug #1879 : CAST should not prevent FOLLOW UNIT
2012-07-26 10:43:10 +02:00
Enno Rehling
72579b0272
Merge branch 'master' of github.com:eressea/core
2012-07-24 00:19:14 -07:00
Enno Rehling
ea618453f7
bind more processing functions to Lua (almost done)
2012-07-24 00:16:25 -07:00
Enno Rehling
5abfaad528
fixing intermittent tests
2012-07-09 08:27:41 +02:00
Enno Rehling
cb56a820b5
fix gcc compilation
...
fix broken test for duplicate orders
2012-07-09 01:25:39 +02:00
Enno Rehling
3cee3d1415
lua 5.2 compat changes
2012-07-01 19:28:28 +02:00
Enno Rehling
5f5b4a3947
there is an old version of tolua on gelbbaer that doesn't do comparisons of
...
user types. ugh.
2012-06-30 20:29:42 +02:00
Enno Rehling
59665de7ba
binding GUARD to lua
2012-06-17 23:13:58 -07:00
Enno Rehling
64a91a75a1
bind regeneration (of health and aura) to Lua
2012-06-17 22:31:30 -07:00
Enno Rehling
e579210fec
kill the eventbus, it was never used
2012-06-17 18:52:51 -07:00
Enno Rehling
1298684fd9
bind GIVE CONTROL to lua
2012-06-17 17:55:46 -07:00
Enno Rehling
648de4d36c
Binding CAST, ENTER, CONTACT to Lua
2012-06-17 17:24:23 -07:00
Enno Rehling
573d4c3e97
binding HELP to Lua
2012-06-17 15:55:23 -07:00
Enno Rehling
d02857ebb9
binding COMBATSPELL to Lua
2012-06-17 12:51:48 -07:00
Enno Rehling
9124fe2c6d
added promote, renumber, restack to eressea.process interface
...
fixed a test that relied on no random skill progress
2012-06-16 23:31:25 -07:00
Enno Rehling
a662f88868
kill the RESTART order
...
make more parts of process_order their own function
started writing process_order in Lua, to see how far I've gotten
fix a bug in the logging library
2012-06-16 22:38:44 -07:00
Enno Rehling
c98612f44e
adding battle and siege to the eressea.process module
2012-06-16 19:14:23 -07:00
Enno Rehling
483615c458
bindings for LEAVE command
2012-06-13 23:28:56 -07:00
Enno Rehling
d38c5f5cfb
fix production of items in produce()
...
add use, move and study/teach to bindings
2012-06-12 22:36:29 -07:00
Enno Rehling
6aa08b60fd
more process-related bindings and tests
2012-06-10 05:28:19 -07:00
Enno Rehling
dafb2fc2ab
adding a lot of test coverage
...
extending the binding generation to more processing functions
2012-06-07 09:47:02 -07:00
Enno Rehling
8b3d735e8c
Begin of massive changes to the Lua API.
...
Everything will live in a single eressea module now, and the global
namespace will no longer be polluted by all kinds of modules and
functions.
Also new: Bindings will be generated by tolua from .pkg files,
starting with settings, eressea (read/write/free_game) and process in
this commit.
2012-06-06 19:29:36 -07:00
Enno Rehling
8327db65b8
I have a slightly broken version of tolua installed which doesn't compare
...
user types. Working around that bug by comparing integers instead. Sigh.
2012-06-09 09:18:17 +02:00
Steffen Mecke
9d58f65404
fixed bug #1875 : demons use their own peasantblood before other unit's
2012-06-09 00:13:13 +02:00
Gerd Wellenreuther
74ddb1f881
Bugfix 1922 entering of RF_BLOCKED regions with ships
2012-06-07 21:06:14 +02:00
Enno Rehling
2bf3c840ae
beware: new directory layout, new server
2012-06-05 07:36:05 -07:00
Enno Rehling
a6785c6b7b
have the bson-attrib tests all in one place so we can choose not to use them
2012-06-05 05:14:24 +02:00
Enno Rehling
3e67e7fb4e
Lua unit:cast_spell should only cast spells the unit knows.
...
do not allow payment for spells cast at level <= 0
2012-05-29 20:58:33 -07:00
Enno Rehling
44e5c60c96
test added: when a spell is not found, we do not have to pay for it
2012-05-29 20:44:25 -07:00
Enno Rehling
cb0e406733
repair lua spells (bad stack index)
...
add a whole bunch more spell tests
allow spell tests to disable fumbles
2012-05-29 18:45:50 -07:00
Enno Rehling
62a91f4558
kill tybied in E3, make common spells the source for random choices
2012-05-26 14:19:35 -07:00
Enno Rehling
5547893be7
fix create_roi function in E3
2012-05-26 10:16:39 -07:00
Enno Rehling
d58e853074
allow setting a faction's magic school from Lua
2012-05-25 20:15:57 -07:00
Enno Rehling
24cba1bea7
testing spells in the example server also
...
WIP: create_roi is broken until mages have spellbooks
2012-05-25 19:55:47 -07:00
Enno Rehling
071f67ea7c
use the reportpath from the config file, do not build your own
2012-05-25 18:50:14 -07:00
Enno Rehling
bcd6991703
testing spells is a lot easier when you can disable fumbles
...
all tun_tests tests pass
2012-05-19 18:50:28 -07:00
Enno Rehling
3fa4a31d14
trying to figure out why some run_tests tests are not working
2012-05-20 03:21:38 +02:00
Enno Rehling
ec9e7bf833
new lighthouse behavior as described in http://bugs.eressea.de/view.php?id=1847
2011-04-24 12:19:34 -07:00
Enno Rehling
ff51fe6493
added meropis buildings
...
also fixed a bug that prevented tests with ATTACKs to be executed properly (NewbieImmunity)
2011-03-09 14:49:43 +01:00
Enno Rehling
e01c6bb8b1
make merge request sing with Eressea
...
added a missing file (move_test.c)
changing the way tests are included
making some lua code prettier (too many parens)
2011-03-08 21:06:38 -08:00
Enno Rehling
8714957a61
fixed two bugs: harbours were not unique and multiple instances of unique buildings could still be built
2011-03-09 00:28:37 +01:00
Enno Rehling
1be42e9d50
Make all tests for Eressea pass again, using the config module.
2011-03-06 21:49:01 -08:00
Enno Rehling
8c42643528
added Atlantis ship types
2011-03-06 12:43:18 +01:00