52 Commits

Author SHA1 Message Date
Wuzzy
819186aeb3 Store mob metadata in mob items
Also add 'shorn sheep' item texture
2024-02-23 15:05:18 +01:00
Wuzzy
a4e15c6da4 Make damage texture modifier of player+mobs red 2024-02-23 01:29:37 +01:00
Wuzzy
e0e12967e9 Mobs: Scan environment when dying, too 2024-02-23 00:41:46 +01:00
Wuzzy
559d2afe3b Clear task queue debug display if mob is dying 2024-02-23 00:25:24 +01:00
Wuzzy
c397680e79 Remove an old mobs debug message 2024-02-23 00:19:48 +01:00
Wuzzy
53f60c6944 Fix dead mob collisionbox offset 2024-02-23 00:18:50 +01:00
Wuzzy
13841f6f73 Play 'disappear' sound when mob/player disappears 2024-02-23 00:08:49 +01:00
Wuzzy
91d5032b79 Add smoke poof particles after mob/player dies 2024-02-22 21:31:45 +01:00
Wuzzy
22e1f10cc3 Update mob dying documentation, fix crash 2024-02-22 19:49:50 +01:00
Wuzzy
9b0f58ee09 Add special dying status to mobs 2024-02-22 19:33:37 +01:00
Wuzzy
ca45b7c54f Add more mob sounds and document them 2024-02-16 16:18:39 +01:00
Wuzzy
d784744c89 Fix child mob keeping child texture if growing up 2024-02-16 15:16:18 +01:00
Wuzzy
3353a0660d Add texture for child boar 2024-02-16 15:07:02 +01:00
Wuzzy
b43748fb7f Fix mob child data not being saved correctly 2024-02-16 13:08:06 +01:00
Wuzzy
1422fb5a48 Mobs: Add basic swim physics for boar 2024-02-12 12:32:26 +01:00
Wuzzy
e189585cb3 Mobs: Add environment scan (WIP) 2024-02-10 18:20:11 +01:00
Wuzzy
a2bfe6f078 Mobs: Remove Physics subsystem, we do it by hand 2024-02-08 17:48:47 +01:00
Wuzzy
b8014fed47 Run mob task queues in same step, not sequentially 2024-02-06 23:11:49 +01:00
Wuzzy
57c62b953e Make boars walk in a random direction 2024-02-03 18:14:56 +01:00
Wuzzy
5b65182f73 Mobs: Add some physics vector functions 2023-11-30 21:05:39 +01:00
Wuzzy
e65e2849bc Mobs: Remove reason from damage and heal functions 2023-11-26 02:47:22 +01:00
Wuzzy
6f09d8dea5 Mobs: Fix double death sound 2023-11-26 02:39:33 +01:00
Wuzzy
b265478a7b Mobs: Fix crash if taking node damage 2023-11-26 02:38:48 +01:00
Wuzzy
a945ced1c6 Mobs: Update API docs 2023-11-26 00:50:32 +01:00
Wuzzy
ba7dec1fdc Add velocity to mob drops 2023-11-25 01:13:29 +01:00
Wuzzy
2b33600a42 Re-Implement Hunter achievement 2023-11-25 01:03:14 +01:00
Wuzzy
610d94d511 Mobs: Add animation support 2023-11-22 03:08:16 +01:00
Wuzzy
595e2f069f Mobs: Add on_start to microtasks 2023-11-21 22:31:51 +01:00
Wuzzy
a440b7ed8b Mobs: Add parrallel task queue support 2023-11-13 00:04:45 +01:00
Wuzzy
82c0d1961a Add basic mob sounds 2023-11-03 00:40:55 +01:00
Wuzzy
7218a285bc Mobs: Refactor env damage 2023-11-02 22:43:02 +01:00
Wuzzy
6e937fee68 Mobs: Add fall damage 2023-11-02 19:40:45 +01:00
Wuzzy
19d0875a6f Remove debug mob particle 2023-11-01 00:22:31 +01:00
Wuzzy
f1f53cff40 Add functions to init mob breath and node damage 2023-10-31 15:02:18 +01:00
Wuzzy
316e9b56c8 Mobs: Add drowning and node damage 2023-10-30 19:56:35 +01:00
Wuzzy
ad10832839 Fix mob state shared by all mobs 2023-10-19 18:36:44 +02:00
Wuzzy
edfacffe1b Add mob state and custom states (WIP) 2023-10-19 16:51:23 +02:00
Wuzzy
5c31822cf4 Add separate drops for child mobs 2023-10-15 18:54:27 +02:00
Wuzzy
223cc34a37 Improve breeding particles 2023-10-15 18:47:43 +02:00
Wuzzy
bcd1d09cc1 Mobs: Add breeding, feeding, children (WIP) 2023-10-15 17:12:09 +02:00
Wuzzy
14aab87041 Mobs: Add sleep microtask 2023-10-01 09:47:17 +02:00
Wuzzy
49baa2ba5f Mobs: Add decider function 2023-10-01 09:32:44 +02:00
Wuzzy
b30795b783 Mobs: Add task queue debug 2023-10-01 00:16:48 +02:00
Wuzzy
ce3f278b3a Mobs: Add statedata field to microtasks 2023-09-30 10:35:13 +02:00
Wuzzy
e41c82025b Add self parameter in mob microtasks 2023-09-30 10:14:19 +02:00
Wuzzy
13cb302ca9 Mobs: Add microtask templates 2023-08-29 16:27:48 +02:00
Wuzzy
12ede1a15d Mobs: Add basic task/microtask system 2023-08-29 15:14:17 +02:00
Wuzzy
0d6d6a169d Add basic mob physics 2023-08-28 16:43:38 +02:00
Wuzzy
32ce4e8200 Add basic death drops for mobs 2023-08-28 14:24:16 +02:00
Wuzzy
8aba1759ad Add mob spawn item 2023-08-28 13:44:51 +02:00