Commit Graph

357 Commits

Author SHA1 Message Date
AFCMS 2d7ee83d3e Merge branch 'master' into chat-command-builder-2 2021-07-12 20:54:54 +02:00
cora c558e30ea5 Fix server crash when players dig unknown nodes
Digging unknown nodes crashes the Clamity Minetest server, which
runs modified Minetest: https://github.com/ClamityAnarchy/minetest
Crashes did occur with commit d5434bf008 of that Minetest version.

This commit makes unknown nodes explicitly not harvestable.
2021-07-08 15:33:24 +02:00
AFCMS 19745cafbc fix wrong API def 2021-07-02 01:06:01 +02:00
AFCMS b0ca506688 basic proof of concept 2021-07-02 01:03:25 +02:00
AFCMS 0a57666771 performance improvement 2021-06-25 10:22:12 +02:00
AFCMS 07513d8e52 fixes 2021-06-25 10:09:52 +02:00
AFCMS a6e0605b7c testing stuff 2021-06-24 23:58:17 +02:00
AFCMS cc0ed855a9 fixes 2021-06-24 23:45:47 +02:00
AFCMS 658028e90a fixes 2021-06-24 23:39:15 +02:00
AFCMS 3f1b12e327 fixes and testing stuff 2021-06-24 22:50:44 +02:00
AFCMS e436f1a6af remove a stupic crash xD 2021-06-24 18:04:20 +02:00
AFCMS d19f88d226 add some other types 2021-06-24 14:12:37 +02:00
AFCMS 6d1bc8f865 add float type 2021-06-24 14:04:15 +02:00
AFCMS 102f45336b move mcl_privs to CORE 2021-06-24 12:35:40 +02:00
AFCMS be75150725 add help formspec refactoring to the TODO list 2021-06-24 12:15:29 +02:00
AFCMS 0619d480dd integrate translation system 2021-06-24 12:07:13 +02:00
AFCMS 0129fdafef basic target selector system 2021-06-24 12:03:56 +02:00
AFCMS 5ddc3cf99a add some type definitions 2021-06-24 11:54:15 +02:00
AFCMS 84900b39ad basic API setup 2021-06-24 11:40:35 +02:00
AFCMS 528f1cb81f move some files to the right location 2021-06-24 10:03:05 +02:00
AFCMS bb576148f4 move mcl_commands to CORE folder 2021-06-24 10:00:52 +02:00
AFCMS e81da3c4ff fix some mods using "core" insteed of "minetest" 2021-06-12 00:18:52 +02:00
Elias Fleckenstein e5bdf230d5 Merge pull request 'Add polish translation' (#1542) from marcin-serwin/MineClone2:polish-translation into master
Reviewed-on: MineClone2/MineClone2#1542
2021-06-04 16:51:43 +00:00
NO11 7464b8ff48 Add bonemeal particle texture 2021-06-03 18:04:54 +00:00
marcin-serwin cbe8583cef Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
AFCMS cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
Lizzy 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 981f3d5d74 fix some codestyle issues 2021-05-25 10:51:46 +02:00
AFCMS 3f3abbbee1 speedup mcl_particles code 2021-05-25 09:09:16 +02:00
AFCMS 00f4cfa5b5 simplify mcl_util code 2021-05-25 01:33:26 +02:00
AFCMS 0cc11d0bbb [mcl_loot] fix warnings 2021-05-25 01:28:10 +02:00
AFCMS f61102279f [_mcl_autogroup] fix warnings 2021-05-25 01:26:26 +02:00
AFCMS f5a91f7c24 [biomeinfo] fix warnings 2021-05-25 01:23:41 +02:00
AFCMS 540508638c rewrite flowlib to be more efficient 2021-05-25 01:22:25 +02:00
AFCMS 03c9c0b830 [mcl_explosion] fix warnings 2021-05-25 00:57:42 +02:00
AFCMS 36f3c26139 [walkover] fix warnings 2021-05-25 00:55:14 +02:00
Elias Åström 067affcabb Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-05-18 19:33:05 +02:00
Elias Åström 4d13eddcd6 Adjust explosion entity damage hitbox
In mcl_explosions the hitbox used for calculating the damage of an
entity is its collisionbox multiplied by two.  This commit removes the
multiplication by two because that makes explosion damage behave weirdly
in some circumstances.  It was most likely implemented that way because
of a misinterpretation of the Minecraft wiki.
2021-05-18 19:31:08 +02:00
Elias Åström f7052943ec Fix rays not being cast in a specific direction
A bug was introduced in 679e2b1b which caused explosions to not cast
rays for environment destruction in the (+X, +Y, +Z) direction.  This
commit fixes that.
2021-05-18 19:29:03 +02:00
AFCMS d5ec2ccbd8 fix doc 2021-05-13 23:09:47 +02:00
AFCMS 0ad03acf46 improve mcl_worlds API 2021-05-13 22:55:17 +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 f5b2a5f5c1 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-05-05 09:25:20 +02:00
Lizzy 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
Lizzy Fleckenstein 1eaf662833 Add updated tga_encoder 2021-05-02 17:47:46 +02:00
Lizzy Fleckenstein bd74dbe321 Revert "Use PNG instead of TGA"
This reverts commit ca9cd8cbe0.
The TGA was faster and produced smaller files.
2021-05-02 13:03:18 +02:00
Lizzy Fleckenstein ca9cd8cbe0 Use PNG instead of TGA 2021-05-02 12:55:04 +02:00