Commit graph

109 commits

Author SHA1 Message Date
ElCeejo
2b62dc0f22 Add support for multiple mesh elements 2022-07-16 21:38:40 -07:00
ElCeejo
3042279836
Remove unused vector math 2022-07-16 11:38:50 -07:00
ElCeejo
b6127c265f
Fix knockback 2022-07-14 22:22:09 -07:00
ElCeejo
af03272b9d Document api.lua 2022-07-07 18:45:37 -07:00
ElCeejo
d7f019083a Optimize fall damage, Fix height checks 2022-07-07 14:26:58 -07:00
ElCeejo
d69fae95d5 Fix warnings 2022-07-06 15:58:19 -07:00
ElCeejo
02a001da42 Add Luacheck 2022-07-06 15:45:53 -07:00
ElCeejo
b9a0407f70
Create build workflow 2022-07-06 15:43:47 -07:00
ElCeejo
25d14bd563
Obstacle Avoidance now uses steering 2022-07-04 15:27:17 -07:00
ElCeejo
f4df6599ae
Movement API re-write 2022-06-21 09:44:10 -07:00
ElCeejo
ce14c85924
Remove old code 2022-06-20 13:15:53 -07:00
ElCeejo
98ac3cd0e6
No more unknown entities 2022-06-20 13:08:52 -07:00
ElCeejo
90b6871cda
fallbacks for random() input 2022-06-18 22:59:04 -07:00
ElCeejo
d193a4acbe
No more luacheck warnings 2022-06-17 23:51:40 -07:00
ElCeejo
13ebe1c37d
Minor performance and stability improvements 2022-06-16 14:57:06 -07:00
ElCeejo
ad475bb790
Allow fancy collision to be disabled 2022-06-11 14:51:51 -07:00
ElCeejo
027161db41
Fix crash 2022-06-09 05:45:45 -07:00
ElCeejo
9590a33742
Add protection check 2022-06-05 03:37:12 -07:00
ElCeejo
4df1cfe618
Open modification of spawn item def, Add anti-spam 2022-06-05 01:54:26 -07:00
ElCeejo
fe30cf39e1
Another crash fix 2022-05-31 16:54:00 -07:00
ElCeejo
5846ab1cb9
Fix behavior issue 2022-05-31 14:07:50 -07:00
ElCeejo
8379af33f5
Fix crash 2022-05-31 13:28:13 -07:00
ElCeejo
1372375997
Fix crash 2022-05-30 05:07:00 -07:00
ElCeejo
edff8aed14
Code cleanup 2022-05-26 15:58:44 -07:00
ElCeejo
00585fa406
Add creatura.get_ground_level 2022-05-26 15:31:55 -07:00
ElCeejo
7b82f23abf
Cache entity properties to self.properties 2022-05-26 15:30:48 -07:00
ElCeejo
a7af111180
Add creatura.register_spawn_item 2022-05-26 15:27:26 -07:00
ElCeejo
962ea68104
Allow changing of static_save 2022-05-23 15:11:29 -07:00
ElCeejo
64fc31c11a
Add mob:clear_utility() 2022-05-20 15:38:53 -07:00
ElCeejo
db7cc3f98e
Merge pull request #13 from MrRar/try
Add try_initiate_utility method
2022-05-20 15:36:34 -07:00
ElCeejo
a4804fc465
Fix crash, Change anim timing 2022-05-16 19:15:11 -07:00
ElCeejo
b8178480c7
New obstacle avoidance, Improved "pathfind" method 2022-05-15 18:02:35 -07:00
Johannes Fritz
f764220856 Add try_initiate_utility 2022-04-29 12:37:21 -05:00
ElCeejo
e7da1f18af
Remove debug code 2022-04-09 12:48:24 -07:00
ElCeejo
fc19778172 Fix potential crash, Fix namespace issue, Fix crash when using fancy step 2022-04-09 12:47:32 -07:00
ElCeejo
02322ca861
Fix walkable checks returning nil 2022-04-05 10:02:50 -07:00
ElCeejo
ec92591710
Fix crash in is_pos_moveable() 2022-04-03 12:46:40 -07:00
ElCeejo
4516bac65f Minor improvements and fixes to movement methods 2022-03-31 18:46:48 -07:00
ElCeejo
c5af6c9590 Fix bug with hitbox collision check, Improve movement methods, Add default hit sound 2022-03-25 04:09:01 -07:00
ElCeejo
8542912775
Merge pull request #11 from JordanL2/texture_mod_2
Fix for texture mod issue
2022-03-22 13:42:43 -07:00
Jordan Leppert
1efd508792 Fix for texture mod issue - if mob gets hit while still indicating damage, it gets stuck with the damage effect. 2022-03-22 11:35:54 +00:00
ElCeejo
f11e6d458f
Improve mob:get_wander_pos_3d() 2022-02-23 01:41:56 -08:00
ElCeejo
86db107a69 Fix texture mod issue, Fix mobs freezing 2022-02-22 19:48:45 -08:00
ElCeejo
23c61e0751
Merge pull request #7 from JordanL2/damage_texture_mod
Texture mod fix when indicating damage
2022-02-20 14:54:19 -08:00
Jordan Leppert
3bb1119017 Texture mod fix 2022-02-20 21:35:36 +00:00
ElCeejo
8273f25207 Fix multiple warnings, Add shallow walkable node check, Improve get_wander_pos 2022-02-20 11:37:39 -08:00
ElCeejo
43c124db15
Merge pull request #3 from JordanL2/spawn_cap
Spawning fixes: Min/max radius, node light check, spawn cap, biome check
2022-02-16 18:20:39 -08:00
ElCeejo
2cea35a282
Merge pull request #4 from appgurueu/main
Node def handling fixes
2022-02-16 14:46:13 -08:00
Lars Mueller
6ffde2fc17 Fix checks for water & fire groups 2022-02-16 21:58:05 +01:00
Lars Mueller
8b0e23f97e Fix crash with unknown or ignore nodes 2022-02-16 21:57:05 +01:00