Commit Graph

293 Commits (master)

Author SHA1 Message Date
rnd1 a33c2fe5e3 path finding timer fix 2016-02-13 22:24:43 +01:00
rnd1 c41de7765f -randomized unstucker to prevent mobs from getting stuck near cliff edges on complex paths
-code tidying
2016-02-13 20:14:02 +01:00
rnd1 946ae099bf .. 2016-02-12 17:06:48 +01:00
rnd1 b315d2d6da careful rewrote of mob trying to get to player, more responsive mobs, no more "frozen in state" mobs 2016-02-12 17:00:09 +01:00
rnd1 a9522444ce .. 2016-02-10 13:45:20 +01:00
rnd1 009fb0b159 stop mobs from daydreaming by setting state=stand after they build so they have to reevaluate targets 2016-02-10 13:43:12 +01:00
rnd1 73af82d0b7 mob now jumps properly when building 2016-02-10 12:56:10 +01:00
rnd1 0e32dd2a24 tweaks 2016-02-10 11:31:02 +01:00
rnd1 2f7506c0f3 -- 2016-02-10 10:44:01 +01:00
rnd1 29ce96593e fix:when player is in attack range stop followin path and reset stuck timer to 0 so attack can begin immidiately 2016-02-10 08:33:36 +01:00
rnd1 c5de3d73f8 -mobs now slow down to walk when following pathfinding path, more precise following
-toggleable option local enable_pathfind_digging = true, with it mob will attempt to break wall to get to you or place block to climb to you, but only if no protection
2016-02-09 20:24:56 +01:00
rnd1 f2bf60dbf5 pathfinding changed to A* noprefetch. bug: some nodes like dry_grass are considered to be solid and can cause path to be unusable 2016-02-08 14:02:49 +01:00
rnd1 c5bd9a5ed6 mob position to search path from seems to be crucial for find_path to work, used line of sight to determine position exactly one node above ground 2016-02-08 12:14:27 +01:00
rnd1 d8e120eb10 Mobs REDO with pathfinding by rnd 2016-02-07 22:31:59 +01:00
TenPlus1 08fb90348d Fix spawner crash (thanks crabman77) 2016-02-03 20:45:53 +00:00
TenPlus1 82ced7af84 Added player detection to spawners 2016-02-02 19:06:02 +00:00
TenPlus1 72cd57aea7 Changed mob spawn/despawn distance to 10 2016-02-02 17:53:13 +00:00
TenPlus1 c578e217ea Reverse a few problematic changes 2016-02-02 11:50:14 +00:00
TenPlus1 befd8abab9 changes mese monster step height to 2.1 2016-02-02 10:52:53 +00:00
TenPlus1 629ac9186b Mobs spawn and despawn away from player, tweaked and tidied code 2016-02-02 10:32:43 +00:00
TenPlus1 9885b76b74 Tweak group checks 2016-02-01 21:51:48 +00:00
TenPlus1 1fb99b3cb3 oops, max light is 14 not 15 2016-02-01 18:33:38 +00:00
TenPlus1 211a794851 Tweak node code 2016-02-01 15:14:49 +00:00
TenPlus1 09db61b997 Code tweak and tidy 2016-02-01 13:59:00 +00:00
TenPlus1 060a8278dc Make mob explosions more random instead of square 2016-01-29 21:26:05 +00:00
TenPlus1 577f6f7b39 Code tidy 2016-01-27 13:44:05 +00:00
TenPlus1 81e0b97a65 fireballs cannot destroy itemframe objects 2016-01-27 11:14:58 +00:00
TenPlus1 18699f33ae Code tidy and tweak 2016-01-25 10:42:58 +00:00
TenPlus1 55c0ed5712 Tidied code, fixed DIR error in on_punch 2016-01-16 10:55:18 +00:00
TenPlus1 601edc655d Added run away feature when animal punched 2016-01-11 11:47:32 +00:00
TenPlus1 992ad596dc Optimize code 2016-01-07 16:04:00 +00:00
TenPlus1 9ca4a34b6d spawner mobs spawn a half block higher 2016-01-06 18:39:46 +00:00
TenPlus1 186475ed79 fix attack glitch when jumping 2016-01-06 18:01:28 +00:00
TenPlus1 b106cbca24 Added notice if cow has already been milked 2016-01-06 12:04:58 +00:00
TenPlus1 fb6867429d Tweaked and tidied code, added mob tamed notice 2016-01-06 11:42:52 +00:00
TenPlus1 c51b8150fd Spawning disabled if chance set to 0 in minetest.conf 2016-01-05 11:07:18 +00:00
TenPlus1 9cd759f824 Tidy code 2016-01-05 10:06:37 +00:00
TenPlus1 717c2f8985 Added coloured nametags to show health, better jumping code 2016-01-04 20:25:33 +00:00
TenPlus1 0c34bc26b4 Added command based mob spawner node, tidied code 2016-01-04 12:37:55 +00:00
TenPlus1 feadb888b2 Changed nametag routines 2015-12-31 17:15:53 +00:00
TenPlus1 d9bf53b1e5 Remove spam punch checks, was causing no drops 2015-12-31 15:34:22 +00:00
TenPlus1 80d159ed73 Change nametag recipe (paper, black dye, string) 2015-12-30 17:59:02 +00:00
TenPlus1 da732f59e1 Tamed mobs can now be named using nametag, also tamed npc's will attack anyone other than owner 2015-12-28 13:21:04 +00:00
TenPlus1 e3e2518287 changed and to or error checking 2015-12-21 21:07:02 +00:00
TenPlus1 2f943fa165 Optimize is_at_cliff function by using line_of_sight command to save server lag 2015-12-18 16:46:27 +00:00
TenPlus1 a34bab3c7b Added fall checks for cliff edges (thanks cmdskp) 2015-12-18 14:04:39 +00:00
TenPlus1 69bd7c6bd3 Further vec checks 2015-12-15 20:34:23 +00:00
TenPlus1 3f49e47df7 Hopefully fixed serialize.h error (math.atan returns non without checks) 2015-12-14 14:43:41 +00:00
TenPlus1 d2741a865c change monster light levels for spawning to 7 and below 2015-12-13 11:08:48 +00:00
TenPlus1 c50926ea9d Fixed typo in egg throwing 2015-12-13 09:32:15 +00:00