59 Commits

Author SHA1 Message Date
Wuzzy
4bbfac8e05 Add support for custom mob death step 2024-04-06 17:27:33 +02:00
Wuzzy
199ec39b39 More accurate mob path following 2024-04-05 15:33:57 +02:00
Wuzzy
20a63f90a4 Add rp_mobs.clear_task_queue 2024-04-03 17:40:48 +02:00
Wuzzy
a95947728c Add microtask success and failure 2024-04-02 20:24:59 +02:00
Wuzzy
0fd581f01e Mobs: Add reference to task (queue) to (micro)task 2024-03-27 15:10:41 +01:00
Wuzzy
d356b437ea Proofread rp_mobs API document 2024-03-22 16:44:20 +01:00
Wuzzy
25c95259e6 Rename API file name 2024-03-22 15:52:55 +01:00
Wuzzy
31ba767877 Some background information about the mob API 2024-03-22 15:52:12 +01:00
Wuzzy
a8ca4236bd Document rp_mobs.scan_environment 2024-03-22 14:14:13 +01:00
Wuzzy
b269212a8c Mobs: Allow multiple point checks for node damage 2024-03-21 17:24:25 +01:00
Wuzzy
4e6faca979 Mobs stand still after spawn 2024-03-21 16:29:53 +01:00
Wuzzy
2d7cd908f5 Mobs microtasks: Call on_start before is_finished 2024-03-21 13:30:55 +01:00
Wuzzy
fcdc04374c Disable child tool for some mobs 2024-03-19 15:27:28 +01:00
Wuzzy
c53412d875 Re-implement random villager textures 2024-03-19 13:29:12 +01:00
Wuzzy
012f79b36d Mobs: Document core microtask templates 2024-03-18 20:06:43 +01:00
Wuzzy
4a11c0f125 Mobs: Fix on_die callback being called too late 2024-03-18 16:10:39 +01:00
Wuzzy
a4006464a1 Add mob tags 2024-03-18 15:04:47 +01:00
Wuzzy
d512b78d67 Can set custom food points for mob foods 2024-03-18 14:20:17 +01:00
Wuzzy
5514933e6b Refactor mob kill achievements and death callback 2024-03-12 18:08:33 +01:00
Wuzzy
cd87c0807f Add mob drop table probabilities 2024-03-12 17:11:50 +01:00
Wuzzy
ee1980b85d 'bomb has been defused' achievement works again 2024-03-12 00:19:55 +01:00
Wuzzy
54b3620abd Clean up some buggy taming/breeding variables 2024-03-11 12:45:16 +01:00
Wuzzy
ff1be9a95b Mobs: Separate taming level and horny level 2024-03-11 12:12:13 +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
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
e771150d7a Sheep no longer drops wool when dying shorn 2024-02-23 21:16:36 +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
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
3353a0660d Add texture for child boar 2024-02-16 15:07:02 +01:00
Wuzzy
1422fb5a48 Mobs: Add basic swim physics for boar 2024-02-12 12:32:26 +01:00
Wuzzy
a2bfe6f078 Mobs: Remove Physics subsystem, we do it by hand 2024-02-08 17:48:47 +01:00
Wuzzy
7d7c49b4ba Make random boar noises 2024-02-06 22:17:13 +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
6eee251510 Rename rp_mobs.handle_capture 2023-11-26 02:23:25 +01:00
Wuzzy
9753632e3d Mobs API docs: Add feed, tame, breed, child funcs 2023-11-26 02:16:40 +01:00
Wuzzy
aa98dfb2a9 Mobs: Restructure API.md 2023-11-26 01:58:06 +01:00
Wuzzy
a945ced1c6 Mobs: Update API docs 2023-11-26 00:50:32 +01:00
Wuzzy
74efa641e7 Mobs: Rename _food to _tb_level 2023-11-25 01:20:07 +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
6e937fee68 Mobs: Add fall damage 2023-11-02 19:40:45 +01:00
Wuzzy
2cd884d2b0 Update mob API docs 2023-10-31 15:02:38 +01:00