Commit graph

35 commits

Author SHA1 Message Date
ElCeejo
24f997039f Spawning stuff 2024-01-03 18:24:04 -08: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
e4c5abe3c9 Improved obstacle avoidance, bug fixes 2023-01-26 14:35:09 -08:00
ElCeejo
a043bb4f94 Spawn Item color region renaming 2022-12-05 14:46:42 -08:00
ElCeejo
d62afbc2cc Spawning fix 2022-12-04 17:06:13 -08:00
ElCeejo
bade5f4ac9 Fixes 2022-11-03 23:55:20 -07:00
ElCeejo
4f3f596fbd Fix maybe idk 2022-10-30 14:58:40 -07:00
ElCeejo
d0143e74c2 Biome support for ABM spawning 2022-10-21 15:54:28 -07:00
ElCeejo
b090238df0 Minor Improvements 2022-10-17 14:25:33 -07:00
ElCeejo
c202b2e7c3 More improvements 2022-10-14 20:07:51 -07:00
ElCeejo
66f02bc77a no whitespace 2022-09-30 15:26:24 -07:00
ElCeejo
c6a779de43 Add time limits for spawn defs 2022-09-30 15:25:00 -07:00
ElCeejo
0af4c2ba24 Spawning Improvements 2022-09-28 14:41:56 -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
d539f9bea5 Performance Improvements 2022-08-27 20:07:53 -07:00
ElCeejo
1df2f0e7f4 Additional ABM Spawning checks, Mapblock Max Setting 2022-08-25 15:18:20 -07:00
ElCeejo
6a0b35532c Add Mapgen Spawning, Add ABM Spawning 2022-08-22 18:34:07 -07:00
ElCeejo
b41924d4cb Add clearance check for spawning, Improved obstacle avoidance 2022-08-03 02:03:05 -07:00
ElCeejo
98ac3cd0e6
No more unknown entities 2022-06-20 13:08:52 -07:00
ElCeejo
90b6871cda
fallbacks for random() input 2022-06-18 22:59:04 -07:00
ElCeejo
13ebe1c37d
Minor performance and stability improvements 2022-06-16 14:57:06 -07:00
ElCeejo
9590a33742
Add protection check 2022-06-05 03:37:12 -07:00
ElCeejo
4df1cfe618
Open modification of spawn item def, Add anti-spam 2022-06-05 01:54:26 -07:00
ElCeejo
edff8aed14
Code cleanup 2022-05-26 15:58:44 -07:00
ElCeejo
a7af111180
Add creatura.register_spawn_item 2022-05-26 15:27:26 -07:00
ElCeejo
4516bac65f Minor improvements and fixes to movement methods 2022-03-31 18:46:48 -07:00
Jordan Leppert
7f3d4cc77a Biome check is done on the spawn position, not the player's position. This fixes mobs spawning in the wrong biome, and eg no forest mobs spawning if you're in grasslands just outside a forest. This means we can't (easily) use mob-specific spawn min/max radius, so it is currently removed. 2022-02-16 13:10:41 +00:00
Jordan Leppert
9a623fa47c Increasing min/max spawn radius to 32/128. Fixing spawn pos distance check - we now check after we have the actual Y coord. 2022-02-16 12:20:52 +00:00
Jordan Leppert
c99837fbde Fixing max spawn radius to also be spherical, like the spawn cap check 2022-02-16 09:51:22 +00:00
Jordan Leppert
fe4f065bfc Spawn cap: Limit spawning of animals to 5 (default) of each type within spawn radius 2022-02-15 21:16:31 +00:00
Jordan Leppert
d7b880da1e Spawning light check - only check node above when spawn_in_nodes is false 2022-02-15 10:45:50 +00:00
Jordan Leppert
cea6d15965 Spawning fixes:
1. Spawning radius fixed, we now have a cubic max radius mobs will spawn within, and a spherical min radius mobs won't spawn within.
2. Node light check fixed - we need to check the node above the spawn node, otherwise it always returns zero.
2022-02-14 16:18:07 +00:00
ElCeejo
c251f07ae5
Initial Commit 2022-02-10 16:32:53 -08:00