Commit graph

1144 commits

Author SHA1 Message Date
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
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
jordan4ibanez
a564009e4a Change HORNY_TIMER to BREED_TIMER 2021-04-12 08:11:55 -04:00
jordan4ibanez
00759da39d Unlimit mob ai 2021-04-11 18:29:32 -04:00
jordan4ibanez
9aafc28a20 Fix mobs nil check during mob_step 2021-04-11 14:47:56 -04:00
jordan4ibanez
67c40885ef Fix mobs collision system only running during movement - major overhaul with ai disabled 2021-04-11 14:21:19 -04:00
jordan4ibanez
2456e3cd1e Adjust math localizations in api.lua 2021-04-11 12:52:31 -04:00
jordan4ibanez
725dc731dd Adjust mob collision detection - this breaks a lot of things and will be fixed later 2021-04-11 11:58:33 -04:00
Elias Fleckenstein
c0a31f0e9c Fix #1535 2021-04-11 17:30:32 +02:00
kay27
4a3078f04b [mobs] Merge repeat/break/until instead of goto from master 2021-04-11 02:16:09 +04:00
kay27
40c733c913 [mobs_mc] Remove goto from enderman.lua 2021-04-11 02:11:14 +04:00
kay27
a76fe2b487 [mcl_mobs] Replace goto to repeat-break-until true in spawning.lua 2021-04-11 02:11:06 +04:00
kay27
b14ca5a843 Revert "[mcl_mobs, mobs_mc] TEMP! Remove goto to run on RasbPI4, Oil_boi free to revert"
This reverts commit ea41c82834.
2021-04-11 02:10:27 +04:00
Elias Fleckenstein
9ba1917209 Add end crystal beams 2021-04-10 20:58:34 +02:00
kay27
ea41c82834 [mcl_mobs, mobs_mc] TEMP! Remove goto to run on RasbPI4, Oil_boi free to revert 2021-04-10 20:47:55 +02:00
kay27
647b5c1e8a [mcl_mobs, mobs_mc] TEMP! Remove goto to run on RasbPI4, Oil_boi free to revert 2021-04-10 21:15:04 +04:00
jordan4ibanez
6279f5eb41 test 2021-04-08 23:58:12 +04:00
jordan4ibanez
9789cf5dcd Adjust spawning to be closer and more frequent 2021-04-08 23:58:12 +04:00
jordan4ibanez
26847bbb54 Finish mob limiter 2021-04-08 23:58:12 +04:00
jordan4ibanez
4fca50dead Fix spawn timer reset debug 2021-04-08 23:58:12 +04:00
jordan4ibanez
310dcf9660 Fix forgotten biome check 2021-04-08 23:58:11 +04:00
jordan4ibanez
ba9866db49 merge 2021-04-08 23:58:11 +04:00
jordan4ibanez
282ba2614a merge 2021-04-08 23:58:11 +04:00
jordan4ibanez
26ef8c2674 Fix silverfish typo 2021-04-08 23:58:11 +04:00
jordan4ibanez
f5cc2bab09 Readjust mobs internal settings to not cause insane memory usage 2021-04-08 23:58:11 +04:00
jordan4ibanez
71c50042e6 Fix typo 2021-04-08 23:58:11 +04:00
jordan4ibanez
ae0c235c1f Combine air and ground type spawning into ground 2021-04-08 23:58:11 +04:00
jordan4ibanez
668b67158c merge 2021-04-08 23:58:11 +04:00
jordan4ibanez
c259fc2a28 Add in all biome information to mobs 2021-04-08 23:58:11 +04:00
jordan4ibanez
249a3c8891 Add bats, chicken, and blaze spawn info 2021-04-08 23:58:11 +04:00
jordan4ibanez
34b66acc9d Make reference list copy-pastable 2021-04-08 23:58:11 +04:00
jordan4ibanez
89f35c06af Ignore default or void dimensions 2021-04-08 23:58:11 +04:00
jordan4ibanez
cb093b774c Add biome list 2021-04-08 23:58:10 +04:00
jordan4ibanez
abc68f4dc6 Refactor spawning into it's own file 2021-04-08 23:58:10 +04:00
jordan4ibanez
38dcbcb3d4 Fix mobs colliding with other mobs/players 2021-04-08 23:58:10 +04:00
jordan4ibanez
d65a5e3be0 Fix mobs colliding with objects 2021-04-08 23:58:10 +04:00
kay27
de41a4c26b merge 2021-04-08 23:58:10 +04:00
kay27
5e0bd2281c Revert "Revert "Merge pull request 'Massively overhaul spawning algorithm for mobs' (#1487) from jordan4ibanez/MineClone2-MobTweaks:master into master""
This reverts commit 6a1a634cba.
2021-04-08 23:58:10 +04:00
jordan4ibanez
c937b2a973 test 2021-04-08 14:19:42 -04:00
jordan4ibanez
8c10fe4057 Adjust spawning to be closer and more frequent 2021-04-08 12:48:02 -04:00
jordan4ibanez
bd7866d798 Finish mob limiter 2021-04-08 12:07:20 -04:00
jordan4ibanez
9369c9cab8 Fix spawn timer reset debug 2021-04-08 10:01:15 -04:00
jordan4ibanez
28823298e1 Fix forgotten biome check 2021-04-08 10:00:04 -04:00
jordan4ibanez
9d48549ec5 Complete prototype of biome generated mobs 2021-04-08 09:52:50 -04:00
jordan4ibanez
518252679f Fix a lot of things 2021-04-08 08:42:57 -04:00
jordan4ibanez
bb078b0c4c Fix silverfish typo 2021-04-08 08:33:50 -04:00
jordan4ibanez
adab48ff0c Readjust mobs internal settings to not cause insane memory usage 2021-04-08 08:29:16 -04:00
jordan4ibanez
47c59edb51 Fix typo 2021-04-08 08:13:46 -04:00
jordan4ibanez
5ca30fa8ee Combine air and ground type spawning into ground 2021-04-08 08:12:43 -04:00
jordan4ibanez
aacb8fc7b9 Add in extra_mobs information 2021-04-08 08:09:43 -04:00
jordan4ibanez
f900b24b53 Add in all biome information to mobs 2021-04-08 07:39:18 -04:00
jordan4ibanez
0ad833c046 Add bats, chicken, and blaze spawn info 2021-04-08 06:57:24 -04:00
jordan4ibanez
f4a6bdc6b8 Make reference list copy-pastable 2021-04-08 06:48:25 -04:00
jordan4ibanez
bf4bf9a0cc Ignore default or void dimensions 2021-04-08 06:10:07 -04:00
jordan4ibanez
8e1e02d1fb Add biome list 2021-04-08 06:04:36 -04:00
jordan4ibanez
da045c207d Refactor spawning into it's own file 2021-04-08 02:07:15 -04:00
jordan4ibanez
b0c60c69d0 Merge pull request 'Fix mobs colliding with each other/players instead of magnetically' (#1495) from jordan4ibanez/MineClone2-MobTweaks:master into mineclone5
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1495
2021-04-08 03:18:24 +00:00
jordan4ibanez
6ec66ef6f6 Fix mobs colliding with other mobs/players 2021-04-07 23:16:03 -04:00
jordan4ibanez
6bd249547a Fix mobs colliding with objects 2021-04-07 23:07:04 -04:00
kay27
c89768f8f7 [extra_mobs] Fix hoglin spawn caused server crash 2021-04-08 01:16:06 +04:00
kay27
5d48975a07 [mineclone5] Make work new mob spawn by Oil_boi with extra_mobs 2021-04-08 00:44:20 +04:00
kay27
3accc82d2d Revert "Revert "Merge pull request 'Massively overhaul spawning algorithm for mobs' (#1487) from jordan4ibanez/MineClone2-MobTweaks:master into master""
This reverts commit 6a1a634cba.
2021-04-07 20:47:40 +04:00
kay27
034af87cd7 Merge remote-tracking branch 'origin/master' into mineclone5 2021-04-07 20:40:07 +04:00
Elias Fleckenstein
6a1a634cba Revert "Merge pull request 'Massively overhaul spawning algorithm for mobs' (#1487) from jordan4ibanez/MineClone2-MobTweaks:master into master"
This reverts commit 4f2a6b2db0, reversing
changes made to 0970981252.
2021-04-07 17:20:56 +02:00
kay27
99563ab93a Merge remote-tracking branch 'origin/master' into mineclone5 2021-04-07 17:19:41 +04:00