Christian Aistleitner
683d615742
api: default_vitals: Fix typo that led to early bailout
...
If `stand_node` was present, the first guard in `default_vitals`
bailed out.
This was seemingly unexpected and might be a relict from the
refactoring in 59602c9
. There, a `not` got seemingly lost (from
line ~1260 in mob_meta.lua) and was not brought over properly to
api.lua.
We fix the guard to bail out only if at least one of `stand_pos`
or `stand_node` are missing. Noww, default_vitals actually does
its work again.
Fixes ElCeejo/animalia#99
Fixes ElCeejo/animalia#100
Fixes ElCeejo/animalia#78
2024-11-16 15:29:42 +01:00
ElCeejo
725eafb6e0
Fixed mapgen spawning, Deprecate globalstep spawning
2023-07-17 18:04:30 -07:00
ElCeejo
59602c9d36
Updated Physics and Vitals, New Pathfinding
2023-06-09 23:15:07 -07:00
ElCeejo
69cd063c43
Adjustments to item drop code
2023-05-01 16:24:25 -07:00
ElCeejo
36284a04fc
Revert "Adjustments to item drop code"
...
This reverts commit 96e7dde711
.
2023-05-01 16:21:29 -07:00
ElCeejo
96e7dde711
Adjustments to item drop code
2023-05-01 16:20:10 -07:00
ElCeejo
8e8e5052b5
Small changes
2022-09-30 15:21:41 -07:00
ElCeejo
7b3d55fef8
Small fixes
2022-09-28 15:11:17 -07:00
ElCeejo
0af4c2ba24
Spawning Improvements
2022-09-28 14:41:56 -07:00
ElCeejo
5f48a07665
Use tflp
2022-09-26 00:43:47 -07:00
ElCeejo
3dbca468d3
Add Context Based Steering, ABM Spawning fixes 2
2022-09-24 01:18:54 -07:00
ElCeejo
64de7d9ed5
Add Context Based Steering, ABM Spawning fixes
2022-09-24 01:17:10 -07:00
ElCeejo
5b4b5e7331
Improvements to steering
2022-09-08 01:51:12 -07:00
ElCeejo
8fc703b6f7
remove useless code
2022-08-12 22:00:47 -07:00
ElCeejo
494f4f8d54
0.2
2022-08-12 21:59:32 -07:00
ElCeejo
b8de610493
Performance Improvements
2022-08-09 15:18:47 -07:00
ElCeejo
a71cf18e84
Bug fix
2022-08-08 15:54:33 -07:00
ElCeejo
3b1085f309
Obstacle Avoidance Optimization
2022-08-08 15:52:48 -07:00
ElCeejo
8ea75ec64c
Step Delay support
2022-08-05 17:42:37 -07:00
ElCeejo
74ecd52095
Fix bug (again)
2022-08-03 23:44:22 -07:00
ElCeejo
af3dd127b1
Fix bug
2022-08-03 23:42:08 -07:00
ElCeejo
00c8b7fa1f
Only add wear in survival
2022-08-03 23:40:40 -07:00
ElCeejo
6a0a9b30d4
Fix code
2022-08-03 23:36:23 -07:00
ElCeejo
2922ebd230
Wear tools when punched
2022-08-03 23:33:50 -07:00
ElCeejo
b41924d4cb
Add clearance check for spawning, Improved obstacle avoidance
2022-08-03 02:03:05 -07:00
ElCeejo
35fb5b680e
Minor improvements to basic punch
2022-08-01 14:05:10 -07:00
ElCeejo
72f55abc2d
Bug fixes
2022-07-22 16:48:59 -07:00
ElCeejo
738be4d003
Fix spinning mobs
2022-07-21 13:25:11 -07:00
ElCeejo
56a9c3a05b
Fix bug
2022-07-16 21:43:25 -07:00
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
13ebe1c37d
Minor performance and stability improvements
2022-06-16 14:57:06 -07:00
ElCeejo
00585fa406
Add creatura.get_ground_level
2022-05-26 15:31:55 -07: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
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
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
86db107a69
Fix texture mod issue, Fix mobs freezing
2022-02-22 19:48:45 -08:00
Jordan Leppert
3bb1119017
Texture mod fix
2022-02-20 21:35:36 +00:00
ElCeejo
c251f07ae5
Initial Commit
2022-02-10 16:32:53 -08:00