245 Commits

Author SHA1 Message Date
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
9edd36b354 make guard return closer to original spawnpoint 2013-02-05 21:13:29 +00:00
sapier
1ec44978e1 make archer guard his spawnpoint 2013-02-05 21:12:43 +00:00
sapier
8ec80d45b2 make trader sell hirelings 2013-02-04 21:28:14 +00:00
sapier
8dc25ce6ae add mob mob_guard 2013-02-04 21:27:58 +00:00
sapier
de1cfc315a add sound for mob archer
add item icon for mob archer
2013-02-04 21:26:48 +00:00
sapier
a6743b4ad2 make wolf guard it's spawnpoint 2013-02-04 21:26:04 +00:00
sapier
71886868ae add contract in order to support hireing npc mobs 2013-02-04 21:25:09 +00:00
sapier
a61e82be06 call this 2.0.4 2013-02-04 08:08:17 +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
451a3ee040 inital version of mob_archer 2013-02-03 19:33:26 +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
sapier
ebb73c3ece add global stack to store items temporary with unique id 2013-01-31 21:43:09 +00:00
sapier
a1e4bdd022 give singleplayer admin rights for mod storage 2013-01-31 21:40:16 +00:00
sapier
f2b2e8dc1f make mob restore storage world specific 2013-01-31 20:01:43 +00:00
sapier
68c37ed684 check environment in movegen none too 2013-01-31 19:53:52 +00:00
sapier
e1e2b2f925 adjust line lenght to 80 char limit 2013-01-31 19:52:27 +00:00
sapier
f0162622c8 on error removal store playerspawned mobs for later recovery 2013-01-31 19:36:07 +00:00
sapier
9f4eeecf8a anti steal support 2013-01-31 19:33:11 +00:00
sapier
b5e2085be1 Merge branch 'master' into mobf_2_1_dev 2013-01-28 20:06:36 +00:00
sapier
8378497d02 merge from main 2013-01-28 20:05:58 +00:00
sapier
b1a4946e82 fix missing typical_state time 2013-01-28 20:01:44 +00:00
sapier
0682bb6ea8 fix crash on missing typical state time 2013-01-28 20:01:24 +00:00
sapier
7e3bcf7f9e fix crash in follow movegen when targetpos can't be determined 2013-01-27 23:03:21 +00:00
sapier
6d19e80d8e fix crash on wolf teleport 2013-01-27 18:49:38 +00:00
sapier
ba706bb34e Documentation fixes for 2.0.0 2013-01-27 18:07:02 +00:00
sapier
fbd9f76fa5 fix bug in trader inventory handling of stacks > 1 2013-01-27 17:46:14 +00:00
sapier
72056de9b0 improve sheep model 2013-01-27 17:44:57 +00:00
sapier
272ba86bfc add new cow model 2013-01-27 17:44:15 +00:00
sapier
3adae94c57 make trader sell more things 2013-01-27 11:54:31 +00:00
sapier
c9255be5a4 Animals Modpack 1.9.15
-whitespace and comment corrections
-add remove mob reason logging support
-improve startup messages of mods
2013-01-27 02:01:56 +00:00