1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-11-10 20:30:33 +01:00
Commit Graph

427 Commits

Author SHA1 Message Date
TenPlus1
1271570780 nil check in do_states 2020-07-20 18:10:08 +01:00
tenplus1
ec3c6fb518 update api.txt 2020-07-20 07:36:39 +01:00
tenplus1
c4f56f4204 nill check for follow_flop 2020-07-20 07:32:24 +01:00
tenplus1
4814f53885 nil check for get_distance 2020-07-20 07:27:55 +01:00
tenplus1
f033cd401c add nil check to general_attack 2020-07-18 20:39:49 +01:00
tenplus1
903e81bdab another nil check for entity 2020-07-17 21:12:43 +01:00
tenplus1
81dd3d75c0 add randomly_turn setting to mob definition 2020-07-17 20:58:52 +01:00
tenplus1
804f8b9a0c nil check during mob detatch in mount.lua 2020-07-03 15:46:50 +01:00
TenPlus1
edf0469009 tidy up spawner formspec 2020-07-01 15:14:31 +01:00
TenPlus1
d20ea74890 fix runaway player nil 2020-07-01 14:43:17 +01:00
TenPlus1
ee8c19ce21 tweak mob falling, floating, jumping and fluid viscosity 2020-06-29 15:00:32 +01:00
TenPlus1
296fad85ca simplify string/table searches 2020-06-28 20:46:57 +01:00
TenPlus1
d65b80fa51 fluid viscocity checks standing node against fly_in table/string 2020-06-28 20:36:38 +01:00
TenPlus1
48bfa284d0 fix typo self.flying_in to self.fly_in 2020-06-28 14:51:37 +01:00
TenPlus1
b17a5bfe77 mobs move slower in liquids 2020-06-28 14:35:51 +01:00
TenPlus1
dfdd55848d mobs:add_mob() returns object spawned or false if not 2020-06-25 09:33:59 +01:00
tenplus1
e63b1b478e add mobs:add_mob() function 2020-06-22 21:24:06 +01:00
tenplus1
ec122aa6de add particle effect global function, arrow lifetime, api.txt update 2020-06-20 10:07:32 +01:00
tenplus1
245128f9e6 tweak custom attack function 2020-06-19 16:07:29 +01:00
tenplus1
3b8c4bc070 optimize loops 2020-06-19 11:33:33 +01:00
tenplus1
4962d44be9 tweak staticdata checks 2020-06-19 11:25:37 +01:00
tenplus1
83e9180853 fix pos_to_yaw missing rot 2020-06-16 20:53:05 +01:00
TenPlus1
ad116aa70e make sure mob doesn't attack itself 2020-06-09 13:13:15 +01:00
tenplus1
d04f144b7c revert previous nil punch to mob object 2020-05-28 16:21:20 +01:00
tenplus1
d5a1fce680 tweak flame particles when burning 2020-05-27 09:10:59 +01:00
tenplus1
9dd4ac770f fix tnt explosion causing mobs to attack themselves 2020-05-25 20:58:38 +01:00
TenPlus1
d125d0a5db tweak and tidy code (thanks MoNTE48) 2020-05-21 20:38:08 +01:00
TenPlus1
351fce8ee8 fix velocity and nil check 2020-05-19 21:07:54 +01:00
tenplus1
3a17c471ae added 'texture_mods' to mob definition to add overlay textures 2020-05-16 14:43:03 +01:00
tenplus1
233cd431a8 update readme 2020-05-16 11:14:28 +01:00
tenplus1
85faeea604 added 'mob_active_limit' to limit mobs in game 2020-05-16 10:44:38 +01:00
tenplus1
53cc10a16f Code tweak and tidy, mob counter attempt 2020-05-15 13:26:34 +01:00
tenplus1
b610a81a58 fixed table search issue for replacing nodes, added 'group_helper' for group attacks 2020-05-13 08:12:56 +01:00
tenplus1
831a5fc888 update italian locale (thanks Hamlet) 2020-05-11 12:43:28 +01:00
TenPlus1
f576947d41 add nil check for mob eggs 2020-05-08 20:33:41 +01:00
TenPlus1
f32b69a654 rename global function 2020-05-07 11:35:29 +01:00
TenPlus1
bd06ad8d6e added pos_to_yaw function, added fence function check, cody tidy 2020-05-07 11:15:04 +01:00
TenPlus1
8ce8490e78 code tweak and tidy 2020-05-06 21:21:20 +01:00
TenPlus1
18906fafeb code tweaks and tidy, hopefully fixed remove_far feature 2020-05-06 10:10:50 +01:00
TenPlus1
9928b0e35e add nil check to replace function 2020-05-05 21:32:24 +01:00
TenPlus1
99fe3d0ce1 missed local 2020-05-04 20:45:43 +01:00
tenplus1
00e8ac0850 added failsafe for suffocation value (true, false) instead of value 2020-05-02 19:28:13 +01:00
TenPlus1
f98d769e15 added 'mob_nospawn_range' setting 2020-05-01 19:30:29 +01:00
TenPlus1
928f8c5479 never spawn mobs if player within 12 nodes 2020-05-01 18:48:07 +01:00
TenPlus1
32e8d069f7 enable suffocation, add area check when spawning, code tidy and tweaks 2020-05-01 10:29:12 +01:00
TenPlus1
e4198b2a21 only force turn when actually blocked 2020-04-30 11:51:44 +01:00
TenPlus1
f11b774c95 tweaked jumping and turning when blocked in front 2020-04-30 09:33:46 +01:00
TenPlus1
8b25ab4988 add 'keep_flying' flag and random vertical flight changes 2020-04-29 20:15:35 +01:00
tenplus1
064b59f01d Added few sanity checks, higher pitch sounds for child mobs 2020-04-29 15:01:21 +01:00
TenPlus1
a934d80631 added some node checks and damage returns 2020-04-27 13:17:20 +01:00