Commit Graph

15 Commits

Author SHA1 Message Date
Lizzy Fleckenstein 0b27b6bec3 Mob API: Merge mobs_mc and mcl_mobs into one mod
DO NOT USE IN PRODUCTION, DO NOT START OLD WORLDS WITHOUT A BACKUP
These are the first steps of the new mob API. The game does actually start, but mobs do not work yet.
You will also get some warnings about mob spawners, but don't worry about that.
This is really just some 'first impression' of how the mob API is gonna look like. Some things are already complete, like the agression system.
AI and attacking have not been worked on yet.
mobs_mc and mcl_mobs have actually been merged into one piece but I will probably change that again in the future actually, and split the different mobs into different mods.
There are also a few usefull things like the universal mount API and a more general purpose smoke API, but all of this is still far from complete.
I'll put some work into the API this week but probably not next week, then I'll see but don't expect this to be done before 2022.
I'll work on it, but I'll do it slowly and progressively to not get burned out again and to still have enough time to graduate from school in the meantime.
2021-09-01 23:27:47 +02:00
Lizzy Fleckenstein 4b327bcf99 Minor fix to prevent writing the damage reason approval field into MCL damage reason and calling passive damage handlers on dead players 2021-05-05 14:41:23 +02:00
Lizzy Fleckenstein 35a2a2b912 Workaround to prevent double death messages 2021-05-05 13:27:30 +02:00
Lizzy Fleckenstein f53ff8418f mcl_damage: HP check guard in non-modifier on_hpchange callback and usage of raw tostring for deactivated objects for death messages 2021-05-05 13:24:23 +02:00
Lizzy Fleckenstein edc89898bb Integrate fire resistance 2021-04-25 20:51:13 +02:00
Lizzy Fleckenstein 302175691a Integrate death messages 2021-04-25 16:42:38 +02:00
Lizzy Fleckenstein 6aecae6eea Simplify damage pipeline; Add on_death and on_damage callbacks 2021-04-25 13:50:07 +02:00
Lizzy Fleckenstein c9b4ddb923 Add command damage type (This is Non-MC) 2021-04-18 20:22:18 +02:00
Lizzy Fleckenstein d9195cc520 Redesign damage modifier execution 2021-04-18 20:08:08 +02:00
Lizzy Fleckenstein d08a226a51 Integrate critical hits 2021-04-18 19:50:48 +02:00
Lizzy Fleckenstein 2827542002 Implement food poisoning damage properly~ 2021-04-18 18:49:00 +02:00
Lizzy Fleckenstein 3ad5b30ea5 Add cramming and fireworks damage types for future use 2021-04-18 17:38:19 +02:00
Lizzy Fleckenstein 5d9bb7cacd Fix armor not actually protecting lol 2021-04-14 19:06:11 +02:00
Lizzy Fleckenstein 875bb3db84 Use fire-like damage types properly 2021-04-14 17:20:51 +02:00
Lizzy Fleckenstein ce0148d9a8 Rewrite armor; new damage system 2021-04-14 15:46:52 +02:00