Commit graph

6307 commits

Author SHA1 Message Date
jordan4ibanez
9d6d042ee3 Fix formatting in ai.lua 2021-04-16 19:37:01 -04:00
jordan4ibanez
ce7f4918b0 Re-organize comments 2021-04-16 19:35:19 -04:00
jordan4ibanez
05d06a4c8f Add comment to state_execution 2021-04-16 18:36:23 -04:00
jordan4ibanez
c761db86c7 re-arrange mob logic for random wandering 2021-04-16 18:29:42 -04:00
jordan4ibanez
ed456ecb47 Make mobs not fear cliffs if fear_height is 0 2021-04-16 18:17:51 -04:00
jordan4ibanez
8ca5f221ec clean up ai.lua 2021-04-16 18:13:54 -04:00
jordan4ibanez
cadd53c103 Adjust mob jumping default to account for higher gravity 2021-04-16 16:39:03 -04:00
jordan4ibanez
57b293de2b Make mobs gravity equal to player's 2021-04-16 16:37:15 -04:00
jordan4ibanez
fb9a55e562 Make jump_check more modular and allow mobs to turn if at a wall 2021-04-16 15:55:11 -04:00
jordan4ibanez
a6a54b3414 Make mobs not jump if against a wall 2021-04-16 15:49:03 -04:00
jordan4ibanez
6c5393427f Smooth out mob cliff check and check if falling before cliff check 2021-04-16 15:39:39 -04:00
jordan4ibanez
2486ffef11 Make wandering mobs avoid cliffs 2021-04-16 15:30:44 -04:00
jordan4ibanez
adc683c6a7 Clear mob animation on activate 2021-04-16 14:19:22 -04:00
jordan4ibanez
d0695e7929 Fix mob animation "memory leak" 2021-04-16 13:58:08 -04:00
jordan4ibanez
024cf46307 Adjust spacing in animation.lua 2021-04-16 11:52:29 -04:00
jordan4ibanez
f38492bcb0 Re-implement animation check gate for mobs 2021-04-16 11:50:29 -04:00
jordan4ibanez
a934a59f3b Implement mob random walk directions 2021-04-16 11:50:13 -04:00
jordan4ibanez
94ca7e8b89 Add in state switch and state execution for mobs 2021-04-16 11:31:18 -04:00
jordan4ibanez
626c30de6d Create todo.txt 2021-04-16 11:30:55 -04:00
jordan4ibanez
c2bac87a6d Update set_up.lua 2021-04-15 21:46:33 -04:00
jordan4ibanez
375d683d08 Fix forgotten localization in collision.lua 2021-04-15 16:18:42 -04:00
jordan4ibanez
246bdf9707 Implement basic mob walking animation test 2021-04-15 15:55:10 -04:00
jordan4ibanez
d07d0ae31c Make mobs jump properly 2021-04-15 15:34:07 -04:00
jordan4ibanez
6cb6d714c9 Reorganize all mob sections into multiple files 2021-04-15 15:04:55 -04:00
jordan4ibanez
5155d12d05 Reformat mobs_mcl to api folder for ease of use 2021-04-15 14:09:54 -04:00
jordan4ibanez
bbcfb3fdb1 Randomize walking or standing on spawn in 2021-04-15 11:33:09 -04:00
jordan4ibanez
9e4bf6e130 Move old set_yaw and add node on set_velocity 2021-04-15 11:29:18 -04:00
jordan4ibanez
e53a193c4f Fix get_velocity (mobs internal) 2021-04-15 11:25:55 -04:00
jordan4ibanez
14207dd96a Smooth out mob movement set_velocity more 2021-04-15 11:23:52 -04:00
jordan4ibanez
a0ed1a0b20 Add automatic rotation lock 2021-04-15 10:05:24 -04:00
jordan4ibanez
ba46e7fa42 Remove old debug of colliding with objects 2021-04-15 09:28:58 -04:00
jordan4ibanez
61124905f3 Add in mob auto rotation (implementation 1) 2021-04-15 09:28:22 -04:00
jordan4ibanez
8b200c7352 Add in basic movement rotation testing 2021-04-14 19:38:14 -04:00
jordan4ibanez
67259891a8 Remove unneeded comments 2021-04-14 18:01:29 -04:00
jordan4ibanez
d063db751c Disable mcl_playerplus random check that moves players randomly 2021-04-14 17:26:20 -04:00
jordan4ibanez
d4db27f0e1 Update backup_code_api.lua 2021-04-14 17:25:39 -04:00
jordan4ibanez
755533beeb Disable literally everything in mobs api 2021-04-14 11:50:22 -04:00
jordan4ibanez
3f6312a631 Make mobs magnetic collision more jello-y 2021-04-13 20:24:46 -04:00
jordan4ibanez
aa4d34c10e Improve mob to mob collision 2021-04-13 20:00:38 -04:00
jordan4ibanez
1210bc463a prevent mob collision detection shootout 2021-04-13 19:44:24 -04:00
jordan4ibanez
ed60266713 Gut even more elements of the api 2021-04-13 19:17:48 -04:00
jordan4ibanez
220d30df5f Completely gut do_states 2021-04-13 19:13:29 -04:00
jordan4ibanez
9758bbf2e7 Finish gutting mob api 2021-04-13 08:21:04 -04:00
jordan4ibanez
f29ad4b8b7 Reorganize more settings to the top of file 2021-04-13 08:20:11 -04:00
jordan4ibanez
54f5bee8a3 reorganize load settings 2021-04-13 08:08:29 -04:00
jordan4ibanez
02515f0778 Move a large chunk of code to backup_code_api.lua 2021-04-13 08:07:32 -04:00
jordan4ibanez
3fc0184182 Disable entire mob ai to work on vanilla walking 2021-04-13 07:39:57 -04:00
jordan4ibanez
f851f5c7ca Merge branch 'master' into mineclone5 2021-04-12 17:31:51 -04:00
jordan4ibanez
6fff719322 Localize minetest library 2021-04-12 08:47:07 -04:00
jordan4ibanez
adaf74fc5c Remove spacing and delete old collision comments 2021-04-12 08:13:11 -04:00