Commit Graph

447 Commits

Author SHA1 Message Date
kay27 6d4f7d2e62 Fix strongholds 2022-01-16 05:20:34 +04:00
kay27 95fd9e9105 Flush current work on spawnstruct, refactor strongholds 2022-01-16 04:46:07 +04:00
kay27 9d171a6b7b Fix Nether roof light 2022-01-12 04:02:56 +04:00
kay27 c6754fd39e Start adding new structures API 2022-01-12 03:27:28 +04:00
Guy Liner 49201116e8 Fixes problem where pillar like nodes could not be placed on
nodes that had the "on_rightclick" attribute.
Merge remote-tracking branch 'mcl2/rotate_fix' into rotate-fix
2022-01-11 10:37:53 -05:00
kay27 667ebf1385 Fix several mapgen_issue warnings 2022-01-07 08:41:04 +04:00
kay27 726159e796 Dedicate clay and structures from mapgen core 2022-01-07 06:24:11 +04:00
kay27 6c1d30a130 Polish new mapgen stuff 2022-01-05 06:43:16 +04:00
kay27 bcb93fb49c Merge master into mapgen_issue 2022-01-03 20:12:50 +04:00
Guy Liner f4e7911903 Removed a comment that was not needed and added a new line below the comment block 2022-01-02 17:32:43 -05:00
Guy Liner b929c66adf Removed mcl_util.rotate_axis_and_place function, replaced it with minetest.rotate_and_place 2022-01-02 17:28:19 -05:00
kay27 512042d8d6 Update mcl_bubble_column mod by j45 2021-12-11 03:13:45 +04:00
kay27 ea6d8f9e86 Merge remote-tracking branch 'mcl2/master' into testing 2021-12-09 03:07:00 +04:00
Lizzy Fleckenstein ec7e245b9d
Various fixes to the enchanting and loot system
- enchanted loot generated by mapgen now uses PseudoRandom for randomness
- prevent fishing loot from generating loot 32767 times (!!!) when only 1 is needed
- bows and fishing rods obtained from the treasure section of fishing loot are now enchanted
- there is now a function to uniform enchant items other than books
2021-12-07 17:57:18 +01:00
kay27 93da5d3f77 Merge MineClone2/master 2021-12-05 05:10:29 +04:00
Lizzy Fleckenstein 92686e5412
Fix broken mcl_util.calculate_durability 2021-12-02 17:28:19 +01:00
iliekprogrammar f61143758e
Fix small typo in API.md 2021-11-10 12:54:28 +08:00
iliekprogrammar fa22ec4dd0
Add helper functions to update/merge tables. 2021-11-10 02:50:49 +08:00
Nils Dagsson Moskopp 4926c0560d
Speed up TGA encoding by creating fewer strings 2021-11-04 15:38:56 +01:00
Nils Dagsson Moskopp 23ca11c8e1
Use RLE compression in tga_encoder 2021-11-04 15:38:26 +01:00
NO11 6d22262c53 Merge branch 'master' into totem_particles 2021-10-25 17:09:24 +00:00
NO11 e4af02ea52 Add function to replace mobs 2021-10-05 04:15:48 +00:00
kay27 72e88f1980 Rename mapgen API methods, fix errors 2021-08-05 04:01:07 +04:00
kay27 2f8e30b1bb Merge MineClone2/mapgen 2021-07-25 04:13:11 +04:00
kay27 c91535e7a9 Revert "Add 'depends = mcl_autogroup' into _mcl_autogroup/mod.conf"
This reverts commit 77becc4184.
2021-07-20 15:53:06 +04:00
kay27 b70859e185 Merge origin/master into mapgen 2021-07-17 21:45:48 +04:00
kay27 77becc4184 Add 'depends = mcl_autogroup' into _mcl_autogroup/mod.conf 2021-07-17 13:51:13 +04:00
NO11 ecfb615c89 Merge branch 'master' into totem_particles 2021-07-12 19:02:02 +00:00
kay27 79f9837880 [MineClone5] Merge feature branch mineclone5 into master 2021-07-12 05:32:01 +04:00
kay27 8b0e9d514c Merge remote-tracking branch 'origin/mineclone5' 2021-07-12 05:29:53 +04: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
NO11 1471521709 Merge branch 'master' into totem_particles 2021-07-07 09:49:33 +00:00
kay27 b3e3b91b7c Merge master 2021-06-12 15:12:33 +04:00
AFCMS e81da3c4ff fix some mods using "core" insteed of "minetest" 2021-06-12 00:18:52 +02:00
NO11 1e0ffed26b Merge branch 'master' into totem_particles 2021-06-07 17:16:41 +00: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
NO11 a65db15b5c Totem particle textures 2021-05-29 19:21:15 +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
kay27 f53f961122 Merge remote-tracking branch 'origin/master' into mineclone5 2021-05-08 14:09:32 +04:00
kay27 279b1b09cd [mapgen] Add `mcl_mapgen.priorities` table 2021-05-08 02:51:17 +04:00
kay27 e529c4839a Merge remote-tracking branch 'origin/master' into mapgen 2021-05-06 02:42:56 +04: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
kay27 66d1172852 [mapgen] Add ocean monument 2021-05-03 05:24:53 +04:00
kay27 16700632af [mapgen] [debug] Add blockseed calculation functions 2021-05-02 23:18:03 +04: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
kay27 238eb6cb68 [mapgen] Comment complex part of the code 2021-05-02 13:29:29 +04:00
kay27 f4a28cfab0 [mapgen] GETTING RID OF EMERGE AREAS! Currently for dungeons and villages, and it works 2021-05-02 03:56:55 +04:00
kay27 f38c8daab7 [mapgen] Add safe chunk calculation 2021-05-02 02:26:41 +04:00
kay27 b12367b500 merge 2021-05-02 00:29:39 +04:00
Lizzy Fleckenstein 5d3e74c844 Remove useless tga_encoder files 2021-05-01 17:20:23 +02:00
Lizzy Fleckenstein c6e80b5882 Add Real Maps 2021-05-01 16:52:16 +02:00
Lizzy Fleckenstein 199488cc74 Add nil check for crash prevention 2021-04-29 11:18:22 +02:00
Lizzy Fleckenstein 7f29f768da Add nil check for crash prevention 2021-04-29 11:17:52 +02:00
kay27 83b96a80ca Merge remote-tracking branch 'origin/master' into mineclone5 2021-04-29 03:22:01 +04:00
kay27 d60e0d75b4 Merge remote-tracking branch 'origin/master' into mapgen 2021-04-29 00:54:08 +04:00
kay27 3c5bf8c9b2 [mapgen] Use more readable constants, increase max_block_generate_distance 2021-04-29 00:53:48 +04:00
NO11 7a00e8acf7 New particle textures for sponge 2021-04-28 14:32:40 +00:00
kay27 c23bb1d59d [mapgen] rebalance mapgen/init core code 2021-04-28 03:03:47 +04:00
Lizzy Fleckenstein 6eadeb21c0 Merge branch 'master' into mineclone5 2021-04-27 18:56:48 +02:00
kay27 29727136ac [mapgen] redesign the code 2021-04-27 01:30:07 +04:00
kay27 3f20d8c1f0 [mapgen] ... and make it unrunnable back 2021-04-26 20:37:13 +04:00
kay27 abc3a1f139 [mapgen] To be continued... (this version won't run) 2021-04-26 03:35:54 +04:00
kay27 49ac211f87 [mapgen] Add undebugged `CORE/mcl_mapgen` mod for further integration 2021-04-25 23:31:52 +04: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 9f7b371bfc Merge branch 'master' into damage 2021-04-22 13:29:32 +02:00
Lizzy Fleckenstein acbdc937b4 Fix crash when trying to explode an unknown node 2021-04-22 13:19:44 +02:00
Lizzy Fleckenstein 87dc41a125 Fix crash when trying to explode an unknown node 2021-04-22 13:19:26 +02:00
Lizzy Fleckenstein c9b4ddb923 Add command damage type (This is Non-MC) 2021-04-18 20:22:18 +02:00
Lizzy Fleckenstein 53b0ad7347 Implement magic damage 2021-04-18 20:21:11 +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 4f0bb444fe Integrate armor stand 2021-04-18 16:03:23 +02:00