1
0
Fork 0
Commit Graph

52 Commits (c7a17342207bb5e8ebbfa41c137bc61c39719b31)

Author SHA1 Message Date
Elias Fleckenstein c7a1734220
Merge branch 'master' into mobs 2021-10-24 22:56:54 +02:00
NO11 e4af02ea52 Add function to replace mobs 2021-10-05 04:15:48 +00:00
Elias 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
Elias Fleckenstein c57ead6985 Use next() instead of one-time loop to fix luacheck warning in mcl_util.calculate_durability 2021-05-26 20:56:00 +02:00
AFCMS 9e074af07f unify code style [1] 2021-05-25 12:52:25 +02:00
AFCMS 00f4cfa5b5 simplify mcl_util code 2021-05-25 01:33:26 +02:00
Elias 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
Elias Fleckenstein be0cf5788d mcl_util.deal_damage: Only deal damage to players / mobs that are not already dead 2021-05-05 09:24:51 +02:00
Elias Fleckenstein 199488cc74 Add nil check for crash prevention 2021-04-29 11:18:22 +02:00
Elias Fleckenstein 302175691a Integrate death messages 2021-04-25 16:42:38 +02:00
Elias Fleckenstein 6aecae6eea Simplify damage pipeline; Add on_death and on_damage callbacks 2021-04-25 13:50:07 +02:00
Elias Fleckenstein 53b0ad7347 Implement magic damage 2021-04-18 20:21:11 +02:00
Elias Fleckenstein 4f0bb444fe Integrate armor stand 2021-04-18 16:03:23 +02:00
Elias Fleckenstein ce0148d9a8 Rewrite armor; new damage system 2021-04-14 15:46:52 +02:00
Elias Fleckenstein f350fa6272 Add bossbars 2021-04-06 14:50:34 +02:00
Elias Fleckenstein 2125c51c9c Fix mcl_util.get_color 2021-03-05 10:20:19 +01:00
Elias Fleckenstein 09671b7ac9 Add simple color validator / parser 2021-03-05 09:37:27 +01:00
Elias Fleckenstein d57db0444f Use mod.conf in all mods, part 1 2021-03-04 15:22:14 +01:00
kay27 89e55e9065 Add sub-map generators queue, fix https://git.minetest.land/MineClone2/MineClone2/issues/993 and https://git.minetest.land/MineClone2/MineClone2/issues/1060 2021-02-22 03:15:32 +04:00
kay27 3b196da12f Speedup placing villages 1/2 (update mcl_tools through Gitea, as direct push doesn't work) 2021-02-10 13:04:49 +00:00
Elias Åström 174a3a2968 Fix creeper explosions only doing 1/2 heart damage
The solution was to move the creeper explosions to originate from the
center of the creepers collisionbox and not its entity position.
2021-01-26 14:13:30 +01:00
Wuzzy c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Wuzzy c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy fbba40fe5c Fix item container transfer destroying item metadata 2019-04-05 15:30:32 +02:00
Wuzzy bae1fa072c Remove dead code 2018-05-12 22:53:21 +02:00
Wuzzy e38f19b5f3 Comparator now detects jukebox as container 2018-05-12 22:48:49 +02:00
Wuzzy 1ce9ab22bf Turn jukebox into a container (part 1) 2018-05-12 21:50:56 +02:00
Wuzzy b0c87f74fe Move world-related functions to mcl_worlds 2017-11-24 03:10:02 +01:00
Wuzzy a9d95dea23 Use hardware coloring for tallgrass and friends 2017-11-16 03:13:19 +01:00
Wuzzy 6b2c06934a Autom. make grass/fern dry if placed on dry grass 2017-11-15 01:29:17 +01:00
Wuzzy 0ff6cb2837 Fix broken compass and clocks 2017-08-22 18:58:53 +02:00
Wuzzy fe31afc119 Disable weather in Nether and End and Void 2017-08-22 18:32:05 +02:00
Wuzzy 860155e5c1 Set proper realm boundaries 2017-08-16 15:29:05 +02:00
Wuzzy e5a34367c9 Use new Minetest settings API syntax for most mods 2017-08-09 16:17:00 +02:00
Wuzzy 4e45d66678 Implement item transfer from large src container 2017-08-04 03:34:28 +02:00
Wuzzy d0b1e261ea Move more shulker box checks in mcl_hoppers to mcl_util 2017-08-04 03:00:33 +02:00
Wuzzy 8388235600 Simplify mcl_util.move_item_container 2017-08-04 02:19:47 +02:00
Wuzzy fb261454df Item container transfer: Optional source_list 2017-08-04 01:58:31 +02:00
Wuzzy a29091e23c Move double chest neighbor function to mcl_util 2017-08-03 23:27:22 +02:00
Wuzzy 3b1c0765d6 Add double container move logic into mcl_util 2017-08-03 23:23:33 +02:00
Wuzzy 38cf151806 Fix many crashes when placing item on unknown node 2017-06-29 13:02:53 +02:00
Wuzzy 823c20bd1b Fix some global variable warnings 2017-06-10 17:52:21 +02:00
Wuzzy 2a747e828a Refactor flower on_place function 2017-06-09 20:20:29 +02:00
Wuzzy b7f50d9028 Restrict flower place to dirt/grassblock and light 2017-06-09 19:18:23 +02:00
Wuzzy 8e2d601f85 Prevent placing most plants on mycelium 2017-05-14 01:45:57 +02:00
Wuzzy 2495676e54 Rename mapgen variables 2017-03-04 23:00:23 +01:00
Wuzzy 19150ddddb Add helper functions to convert to/from MC layer 2017-03-04 22:45:08 +01:00
Wuzzy 2e7ce77985 mcl_util.is_in_void 2017-02-21 16:38:28 +01:00
Wuzzy 649fca5aff Add mcl_util.is_fuel 2017-02-21 03:00:48 +01:00
Wuzzy d8f423ac07 Allow to put fuels into furnace with hoppers 2017-02-21 02:09:34 +01:00