149 Commits

Author SHA1 Message Date
sapier
8ade0ede5f fix crash on checking unknown nodes (e.g. due to missing mods) 2013-03-19 20:26:17 +00:00
sapier
7c72544598 remove pathfinder (is now separate mod/core feature) 2013-03-19 20:22:56 +00:00
sapier
5dba79a4f1 enable pathfinding algorithms 2013-02-24 14:25:30 +00:00
sapier
215b3a58e0 add dijkstra and A* pathfinding (2D only) 2013-02-24 14:25:04 +00:00
sapier
54732fcda6 add DELTA function
make fixed size text function understand nil too
2013-02-24 14:24:16 +00:00
sapier
c05b664b06 remove noisy debug output 2013-02-24 14:23:48 +00:00
sapier
f372a20410 add command to show current number of active mobs 2013-02-24 14:23:24 +00:00
sapier
9d4ab7e554 change lifebar to use tracing infrastructure 2013-02-20 20:30:23 +00:00
sapier
db18c5b5bb add support for multiple trader inventorys of same type with different stacksize
(thanks to Sokomine)
2013-02-20 20:28:12 +00:00
sapier
5515f53c2a fix crash on invalid stored data 2013-02-14 22:08:19 +00:00
sapier
5a2f451870 add support for drawing lifebar above mobs 2013-02-14 22:07:33 +00:00
sapier
6ddbd7ef29 switch back to minetest.serialize instead of custom serialization method 2013-02-11 08:23:12 +00:00
sapier
e57a0813a4 add support for secure time access 2013-02-11 08:22:55 +00:00
sapier
60d7f25c8e fix bug in mob preserve module crashing on harvest replace 2013-02-11 08:22:25 +00:00
sapier
4bdd1d0580 add additional information to rightclick debug info 2013-02-10 16:29:59 +00:00
sapier
7698d89bd0 add support to specify path for mob by rightclick handler 2013-02-10 16:29:26 +00:00
sapier
ef8cd74a1b add support for functions in rightclick button name
add support for transfering permanent data to movement gen initialization
add support for user defined state group
2013-02-10 16:28:14 +00:00
sapier
f14cb119b8 add support for position targets
fix teleporting into solid ground on "big" mobs
2013-02-10 16:26:44 +00:00
sapier
c757599452 add preservation of path movement values due to load unload of mob 2013-02-10 16:25:50 +00:00
sapier
b639b715b3 fix bug movement target lost on combat state switch
preserve p_movement data on switch to fighting mode too
2013-02-10 16:24:07 +00:00
sapier
066536fb51 fix invalid function description 2013-02-10 16:23:02 +00:00
sapier
21adf96501 add support for core based world specific settings (if available) 2013-02-10 16:21:59 +00:00
sapier
bbf9d5a5f7 add function to check if a value is a valid position 2013-02-10 16:21:31 +00:00
sapier
ed17af18f8 add initial version of path based movement gen 2013-02-10 16:19:04 +00:00
sapier
fa070b8424 add path and path_mov trace facilities 2013-02-10 16:18:09 +00:00
sapier
49444a7f10 enable ingame path management 2013-02-09 20:00:25 +00:00
sapier
a9b76afa06 switch to : as separator for world related config data as _ may result in collisions 2013-02-09 19:59:10 +00:00
sapier
8d09404a4c add ingame path editor 2013-02-09 19:58:48 +00:00
sapier
003a3ff6bd add additional debug status output 2013-02-05 21:18:52 +00:00
sapier
525e3d3c93 add some checks and debug output 2013-02-05 21:18:36 +00:00
sapier
277e07f4f0 remove useles setting of pos 2013-02-05 21:17:55 +00:00
sapier
021c8b9285 fix spawnpoint if having corrected y value on activate 2013-02-05 21:16:43 +00:00
sapier
6fb42d801e fix bug flying mobs that have reached their target in air
fix bug target not overriding return to spawnpoint
2013-02-05 21:15:38 +00:00
sapier
0c2526b714 add function to calculate balistic y speed 2013-02-05 21:14:40 +00:00
sapier
4ba7a711ab Merge branch 'master' into mobf_2_1_dev 2013-02-04 08:01:15 +00:00
sapier
d34185ca5e fix bug trader selling without pay if secondary price was not set 2013-02-04 08:00:36 +00:00
sapier
bf3b36c9bd fixed bug in backup of current state on start fighting
improvements to support guard mob
added sound support on shooting distance attack
2013-02-03 23:15:50 +00:00
sapier
ec133db0ad add assert in case of invalid parameters for mgen_follow state identification 2013-02-03 23:15:20 +00:00
sapier
641b72b4d4 add some assertions to helper functions 2013-02-03 23:14:35 +00:00
sapier
eecc2a0dc5 add additional debug output to rightclick handler 2013-02-03 23:13:59 +00:00
sapier
85f2f1d59b split generic_functions.lua and move to utils subfolder 2013-02-03 20:11:58 +00:00
sapier
a992e2ef8d fix bug attack was aborted as soon as target left meele range * agression factor
fix bug get_target_name didn't return correct name for non player targets
improve algorithm for target selection
2013-02-03 19:28:59 +00:00
sapier
40e23a853e show current target on rightclick debug info 2013-02-03 19:28:32 +00:00
sapier
34b2848624 add function to calculate scalar speed 2013-02-03 19:27:57 +00:00
sapier
4be75bfe04 fix invalid current_state if state got corrected on activate 2013-02-03 19:26:41 +00:00
sapier
bb10abd196 add arrow weapon 2013-02-03 19:25:54 +00:00
sapier
5e3368f01b make target algorithm select other mobs as targets if configured 2013-02-03 13:24:53 +00:00
sapier
f092801511 add support for different attack states
add support for mob <-> mob combat
2013-02-03 12:50:56 +00:00
sapier
286207cef6 add support for non autocycle states in state changing 2013-02-03 12:50:17 +00:00
sapier
77572a051f add rightclick form menu
fix some cases of lines longer than 80 chars
2013-01-31 21:45:46 +00:00