kabou
ea19f02e14
Assorted spawn_children_on_die
fixes.
...
* Use proper vector semantics.
* Optimize away superfluous temp variables and repetitive local variable
declarations.
2022-12-29 02:13:57 +00:00
kabou
95cbac78a8
Change number of children spawned on die.
...
When a slime or magma cube dies, it should spawn between 2 to 4 smaller
children. The code was always spawning 4 children (3 for big magma
cubes). This commit makes the following changes to the function
`spawn_children_on_die`:
* Make the number of children spawned a random number between 2 and 4.
* No longer accept the `children_count` as an argument, because this
number should always be a random number between 2 and 4 anyway.
* Update all callers accordingly.
2022-12-29 02:13:57 +00:00
FossFanatic
522bbbbe26
Delete 'mods/ENTITIES/mobs_mc/textures/mobs_mc_enderman_block.png'
2022-12-22 12:47:44 +00:00
AFCMS
bbf21762a6
Format again
2022-12-07 18:22:54 +01:00
AFCMS
34a7cf3e9f
Remove duplicated reach
field
2022-12-07 18:22:54 +01:00
AFCMS
3153c41f3a
Remove mtg compatibility code
2022-12-07 18:22:53 +01:00
AFCMS
489d3b7da6
Format file
2022-12-07 18:22:53 +01:00
ancientmarinerdev
a0a0c69213
Fix Axelotl crash for right click
2022-12-04 11:34:48 -06:00
cora
69c64a2c24
Fix wrong self ref with mcl_mobs.spawn_child
2022-11-28 03:26:51 +01:00
cora
c25287e493
Some cleanup
2022-11-27 14:53:16 +01:00
cora
e7d9ded9ab
Split off combat funcs
2022-11-27 14:53:16 +01:00
cora
96d697c5cd
Split off pathfinding, use metatables
2022-11-27 14:53:16 +01:00
cora
bbba7cee41
Add compat for old "wrong" : notation
2022-11-27 14:53:16 +01:00
cora
e82c318f0c
Split off breeding
2022-11-27 14:53:16 +01:00
cora
70834d0f5d
make register functions use the . notation
2022-11-27 14:53:16 +01:00
cora
bb73e5f1cd
Make it possible to pick up fish with river water bucket
2022-11-26 22:18:46 +01:00
cora
d4c2501d62
Axolotl cleanup, remove clutter
2022-11-26 22:18:46 +01:00
cora
708fcfb368
Axolotl: remove cod-inherited swarming code
2022-11-26 22:18:46 +01:00
cora
d3349396b4
Save tropical fish properties in item meta on bucket pickup
2022-11-26 22:18:46 +01:00
cora
665e8a06a2
Save axolotl properties in item meta on bucket pickup
2022-11-26 22:18:46 +01:00
cora
67e8f13a96
Axolotl whitespace fixes
2022-11-26 22:18:46 +01:00
cora
8564a12398
Nerf vex summoning so evoker doesnt spawn infinite vexes
2022-11-26 17:06:04 +01:00
cora
0942949c5d
Merge pull request 'Fix axolotl breeding' ( #3007 ) from Axolotl into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3007
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-11-25 02:48:55 +00:00
PrairieWind
e1ba319616
Fix Baby Striders being extra small
2022-11-24 14:46:54 -07:00
Johannes Fritz
88897566d9
Fix axolotl breeding
2022-11-24 09:10:17 -06:00
cora
53c1ed9fbf
Merge pull request 'Axolotl' ( #2870 ) from TheOnlyJoeEnderman/MineClone2:Axolotl into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2870
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-11-23 03:18:36 +00:00
cora
a28f667b20
Villagers only summon golems when monsters are near
2022-11-17 02:26:51 +01:00
ancientmarinerdev
1a670bc41b
Allow villagers to resettle and not run back to job and and old bed
2022-11-17 02:26:51 +01:00
TheOnlyJoeEnderman
9e73c2cd46
Remove spaces on line 70 (71)
...
Actually delete the spaces this time.
2022-11-16 08:00:35 +00:00
TheOnlyJoeEnderman
50e6dd94b2
Code cleaning
...
Remove outdated comment. Fix spaces on lines 40, 67, 70.
2022-11-16 07:58:07 +00:00
cora
f66a241188
turn villagers to z villagers not normal zs
2022-11-15 22:20:04 +00:00
cora
80fb648447
Turn villagers to zombies half the time when killed by zombies
2022-11-15 22:20:04 +00:00
ancientmarinerdev
59808c5190
Fix race condition where many villagers are fighting for same job
2022-11-12 02:35:00 +01:00
ancientmarinerdev
3000a378f3
Villagers can claim any bed. Player can steal villager bed. Villager won't take player bed
2022-11-12 02:35:00 +01:00
ancientmarinerdev
814ad39c09
Villagers can now claim any type of bed.
2022-11-12 02:35:00 +01:00
TheOnlyJoeEnderman
6a9387b752
Reverse axolotl model to fix the head look direction
2022-11-11 03:50:39 +00:00
TheOnlyJoeEnderman
cbb7a8edb0
Reverse axolotl model to fix the head look direction
2022-11-11 03:50:04 +00:00
TheOnlyJoeEnderman
012fe4b37e
Move axolotl_bucket to buckets mod
2022-11-07 08:20:13 +00:00
TheOnlyJoeEnderman
dff028595c
Remove old axolotl spawn icon
2022-11-07 08:13:26 +00:00
TheOnlyJoeEnderman
6e328153d4
axolotls are no longer mislabelled as passive
2022-11-06 02:18:47 +00:00
TheOnlyJoeEnderman
4695707188
Fix damage value for axolotls
2022-11-06 02:14:58 +00:00
TheOnlyJoeEnderman
432e196794
code cleaning
...
fixed some messy tabs/spaces, removed old comments.
2022-11-06 02:05:14 +00:00
TheOnlyJoeEnderman
a592d69990
add all current underwater creatures to list of mob to kill
2022-11-06 02:00:28 +00:00
TheOnlyJoeEnderman
310237be33
Fix axolotl hitbox, clean up some comments
2022-11-06 01:47:31 +00:00
TheOnlyJoeEnderman
cf6d04c716
fix flipped UVs on gill.right
...
That simple
2022-11-05 22:05:31 +00:00
TheOnlyJoeEnderman
c22997db09
Add persistence, attempt to fix breeding, add random look at player event
...
They look away from the player randomly for some reason. I think the rotation needs to be mirrored, but I am unsure how one would do that.
2022-11-05 21:44:51 +00:00
anarquimico
f977b1a253
Fix mason texture
2022-11-05 03:21:36 +01:00
anarquimico
ff3438f729
Add villager mason profession
2022-11-05 03:20:58 +01:00
cora
2c4a768685
Transform villager with on_lightning_strike
2022-11-05 01:16:27 +01:00
cora
95db6104e9
Transform pig with on_lightning_strike
2022-11-05 01:16:27 +01:00