Commit Graph

9430 Commits

Author SHA1 Message Date
epCode 239eca8988 make mob's not switch armor lying on the ground if they are already equiped. 2022-10-27 01:14:04 +00:00
epCode 86eef8827a Add working mob armor api
TODO: make mobs only put on a piece if they don't already have it.
2022-10-27 01:08:36 +00:00
cora e6b3458018 Merge pull request 'Add sweet berries from mcl5' (#2842) from sweet_berries into master
Reviewed-on: MineClone2/MineClone2#2842
Reviewed-by: PrairieWind <prairie.astronomer1@gmail.com>
2022-10-26 22:50:22 +00:00
cora 9e3163ec42 Drop sweet berry item when bone mealing mature bush 2022-10-27 00:19:38 +02:00
cora ba9d10055e always advance growth stage by 1 on bonemeal 2022-10-26 23:40:06 +02:00
epCode 6c0e29891d Fix a problem with smooth turning 2022-10-26 19:03:33 +00:00
PrairieWind e8b983bcc5 Place sweet berries on wet farmland and bonemeal the sweet berries to progress growth 2022-10-26 15:57:17 +00:00
cora ae91640234 Add missing biomes, correct saturation 2022-10-26 15:57:17 +00:00
cora d6c0561d5a Only do damage from stage 1 and up 2022-10-26 15:57:17 +00:00
cora 2664fb871b sweet berries plantable not only on farming soil 2022-10-26 15:57:17 +00:00
cora 2b08f9ac53 Slow down player movement while inside sweet berry 2022-10-26 15:57:17 +00:00
cora 8d456d8ff9 implement sweet berry damage
0.5 per second while moving inside it
2022-10-26 15:57:17 +00:00
cora b00f2784ff Sweet berry bushes are flammable 2022-10-26 15:57:17 +00:00
cora 280bcddcb2 Move sweet berry decoration to mcl_biomes 2022-10-26 15:57:17 +00:00
balazsszalab 495378b85e Register sweet berry bush by add_plant function to enable plant growth
Without calling the add_plant function, sweet berry bushes will not go through growth stages and it is impossible to farm them. Sweet berry bush and beetroot have the same number of growth stages, so I used beetroot's interval and chance values here. If somebody has a better approximation of these values, feel free to change them.
2022-10-26 15:57:16 +00:00
cora 5f4d7774ae Add sweet berry compostability 2022-10-26 15:57:16 +00:00
kay27 a7c3878cae [mineclone5] Tune sweet berries a bit 2022-10-26 15:57:16 +00:00
kay27 eb313f9482 [mineclone5] Move sweet berries into farming as a quick fix 2022-10-26 15:57:16 +00:00
cora 63a360674d Merge pull request 'Villagers will now path through doors. Villagers don't stand around whne not working.' (#2864) from feature/villagers_pt2 into master
Reviewed-on: MineClone2/MineClone2#2864
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-10-26 09:32:39 +00:00
epCode 306db6b609 make shooting mobs calculate raycast bool for shooting with shoot_offset
Basically makes skeletons accurately when to shoot and when not to.
2022-10-25 23:52:16 +00:00
ancientmarinerdev f8ee473383 Fix villager work times 2022-10-26 00:17:29 +01:00
ancientmarinerdev eebea4a7a9 Clean up and add pathfinding constant 2022-10-26 00:11:55 +01:00
ancientmarinerdev 37e4dd5556 Villagers will now path through doors. Villagers don't stand around whne not working. 2022-10-26 00:11:55 +01:00
epCode 65289de86e Mobs jump over 1-2 block pits 2022-10-25 23:00:03 +00:00
epCode 6fa85a3a0c fix passive mobs twisting their heads unnaturally 2022-10-25 19:18:08 +00:00
epCode de4c40f60a When mobs stop, don't stop animations easier
fixes mob punch animation.
2022-10-25 18:57:58 +00:00
epCode 636e5545a7 Attacking mobs don't care if they cant make a jump.
they try anyway
2022-10-25 18:54:57 +00:00
epCode 70beaf6b3d Give mobs more room to judge a jump 2022-10-25 18:52:51 +00:00
epCode b89a9375da Some performance improvements
also add a bit to make mobs look at any player getting too close
2022-10-25 18:51:40 +00:00
cora 6a512139c9 Merge pull request 'Make `mcl_dripping` API public + fix code style' (#2861) from mcl-dripping-api-public into master
Reviewed-on: MineClone2/MineClone2#2861
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-10-25 10:05:24 +00:00
AFCMS 4d6e79b07f Rewrite mcl_dripping README to Markdown, add API exemple and update infos 2022-10-25 12:00:03 +02:00
AFCMS 3432734c37 Refactor mcl_dripping 2022-10-25 12:00:03 +02:00
cora 8b566cddf3 Merge pull request 'make mob constant for velocity rotate with mob.' (#2855) from fix_runaway_mobs_sliding into master
Reviewed-on: MineClone2/MineClone2#2855
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-10-25 09:57:18 +00:00
epCode 970011e02b make mob constant for velocity rotate with mob.
this simply makes the constant value for continually adding velocity to a mob rotate when the mob rotates. this is because the constant velocity value was not called often enough.
2022-10-25 00:15:13 +00:00
cora 8778ee6e9e Merge pull request 'fix cave spiders not the correct size/eyes being damagable' (#2856) from cave_spider_scale into master
Reviewed-on: MineClone2/MineClone2#2856
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-10-24 20:39:57 +00:00
epCode 97c062a1ef fix cave spiders not the correct size/eyes being damageable 2022-10-24 20:14:37 +00:00
cora cb0b618d39 Merge pull request 'Set signs debug output to default to false' (#2848) from signs_debug_default into master
Reviewed-on: MineClone2/MineClone2#2848
2022-10-24 00:51:59 +00:00
cora 58a4a9d048 Set signs debug output to default to false 2022-10-24 02:47:56 +02:00
cora ae0b5381e4 Merge pull request 'Villagers - Work, sleep and wander. Check and claim beds etc.' (#2816) from ancientmarinerdev/MineClone2:feature/villager_improvement_rb into master
Reviewed-on: MineClone2/MineClone2#2816
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-10-23 23:36:49 +00:00
cora 426ee6e167 Merge pull request 'undelcared global yaw in mob api fix' (#2840) from epcode-patch-1 into master
Reviewed-on: MineClone2/MineClone2#2840
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-10-23 22:13:38 +00:00
epCode 063325082d undelcared global yaw in mob api fix
Fixes #2839
2022-10-23 21:23:50 +00:00
ancientmarinerdev b9d58c2f79 Cows and villagers can go into attack state and become non-functional 2022-10-23 22:16:35 +01:00
cora 2d1125c04e Merge pull request 'MineClone2 Signs Rewrite - move from GitHub to MeseHub' (#2822) from Michieal/MineClone2:mcl_signs_rewrite into master
Reviewed-on: MineClone2/MineClone2#2822
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-10-23 16:57:09 +00:00
cora 3de3a58828 Merge pull request 'Add missing texture for zombie horse' (#2829) from add_z_horse_texture into master
Reviewed-on: MineClone2/MineClone2#2829
2022-10-23 16:47:30 +00:00
cora ddb64421d0 Add missing texture for zombie horse
the one in pixelperfection seems to be the mc one - this one is
made from horse_grey and horse_skeleton by me, cora, cc0
2022-10-23 18:46:02 +02:00
cora 7e60207603 Merge pull request 'mcl_attached fixes' (#2831) from mcl-attached-fixes into master
Reviewed-on: MineClone2/MineClone2#2831
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-10-23 16:45:03 +00:00
AFCMS 9f16bfe6c5 mcl_attached fixes
- deprecated usage of vector.new()
- use new vectors everywhere
- use `minetest` instead of `core`
- make some more functions local
2022-10-23 18:39:08 +02:00
cora bbe4224b79 Merge pull request 'mcl_explosions fixes' (#2830) from mcl-explosions-fixes into master
Reviewed-on: MineClone2/MineClone2#2830
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-10-23 16:37:01 +00:00
AFCMS 8da8040324 mcl_explosions_fixes
- use new vectors
- remove deprecated use of vector.new()
- add some type annotations
2022-10-23 18:35:22 +02:00
cora 0a68562301 Merge pull request 'Remove unnecessary media files from mcl_chests' (#2813) from chests into master
Reviewed-on: MineClone2/MineClone2#2813
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-10-23 16:24:54 +00:00