66 Commits

Author SHA1 Message Date
Wuzzy
1d1164059f Don't give 'Hunter' achievement for child w/o food 2024-03-11 14:25:35 +01:00
Wuzzy
363367565e Show basic mob state on nametag in debug mode 2024-03-11 12:32:07 +01:00
Wuzzy
c1ee4638d9 Fix dead mobs lying wrong on the ground 2024-03-11 11:40:16 +01:00
Wuzzy
65260e739d Despawn hostile mobs in only_peaceful_mobs mode 2024-03-08 17:24:16 +01:00
Wuzzy
00907c8669 Re-implement natural mobs spawning 2024-03-07 18:39:47 +01:00
Wuzzy
bd835b8fb2 Don't let boar follow player into danger 2024-03-07 13:13:32 +01:00
Wuzzy
d29ef0f683 Make Hunter achievement work again 2024-03-05 17:50:24 +01:00
Wuzzy
0ce984eaec Teach boar to not walk into dangerous nodes 2024-03-05 16:49:14 +01:00
Wuzzy
55979da23e Can't place mob into solid node 2024-03-04 17:43:10 +01:00
Wuzzy
428b4a88c6 Teach boar how to escape damaging nodes 2024-03-01 02:26:46 +01:00
Wuzzy
b4f41dbef4 Mobs: Move rp_mobs.scan_environment function 2024-02-23 21:51:04 +01:00
Wuzzy
0048d27e44 Fix bad child mob collisionbox offset if dying 2024-02-23 21:29:21 +01:00
Wuzzy
e771150d7a Sheep no longer drops wool when dying shorn 2024-02-23 21:16:36 +01:00
Wuzzy
97abefe1d3 Mob items are no longer stackable 2024-02-23 15:11:23 +01:00
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