Commit graph

10065 commits

Author SHA1 Message Date
kabou
c33d7d0106 Remove duplicate callback registration.
* `on_place` was registered twice in mangrove tree trunk node
  registration.  Remove one.
2022-12-15 22:42:08 +00:00
kabou
cec5b1668a Remove unused leafdecay group.
* This group is no longer used and is removed from leaves node groups.
* Since it was never added to GROUPS.md, nothing needs changed there.
* Remove the `leafdecay_distance` parameter from node registrations.
2022-12-15 22:42:08 +00:00
kabou
adcf03e0c6 Refactor leaf decay ABM.
* The leaf decay ABM no longer scans all leaves nodes.  Now only
  "orphaned" leaves are decayed.  These nodes are placed by callbacks
  in tree trunk nodes upon their destruction.
* This commit also removes the tree trunk node caching system and an
  abm throttling mechanism and its associated globalstep function.
2022-12-15 22:42:08 +00:00
kabou
a4ef367708 Add "orphaned" leaves nodes.
* Add "orphaned" leaves nodes, these are copies of the regular leaves
  nodes whose sole purpose is to replace leaves nodes when no more tree
  trunks are present nearby.  The orphaned nodes are swapped in by a
  callback on destruction of tree trunk nodes and will be decayed by a
  dedicated abm that processes all nodes in `group:leaves_orphan`.
* Add `mcl_core.update_leaves()` function, a `after_destruct` callback
  handler for tree trunk nodes.  The function finds leaves nodes nearby
  destroyed tree trunk nodes and swaps these for orphaned leaves nodes
  if no other tree trunk nodes remain near them.
* Add `after_destruct` callbacks to tree trunk node registrations in
  mcl_core/nodes_trees.lua and mcl_mangrove/init.lua to update orphaned
  leaves.
* Add entry for group `leaves_orphan` to GROUPS.md
* Also add entry for group `leaves` to GROUPS.md (it was missing).
2022-12-15 22:42:08 +00:00
ancientmarinerdev
20e78099d7 Merge pull request 'village_schema_fixes' (#2989) from village_schema_fixes into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2989
2022-12-15 21:54:48 +00:00
ancientmarinerdev
94a37790aa Fix incorrectly sized foundations 2022-12-15 21:52:24 +00:00
ancientmarinerdev
89f5d41366 Fix village building foundation material for desert 2022-12-15 21:52:24 +00:00
ancientmarinerdev
b33b87b9dd Fix village building foundations 2022-12-15 21:52:24 +00:00
ancientmarinerdev
295970fbac Adding extra row of blocks in front of doors to schemas so villagers can get out 2022-12-15 21:52:24 +00:00
ancientmarinerdev
639825a8da Merge pull request 'release/0.81.1_merge_conflict_fix' (#3132) from release/0.81.1_merge_conflict_fix into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3132
2022-12-15 19:56:59 +00:00
FossFanatic
0f8cfbf106 Some small night sky adjustments 2022-12-15 16:46:47 +00:00
FossFanatic
39e9158c01 Make night sky darker 2022-12-15 16:05:34 +00:00
ancientmarinerdev
254caaff37 Merge conflict fixes for release 0.81.1 2022-12-14 21:38:53 +00:00
ancientmarinerdev
1ac6c45c7f Update release readme 2022-12-14 20:17:21 +00:00
ancientmarinerdev
5b68007902 Pre-release update credits and set version 0.81.1 2022-12-14 20:13:06 +00:00
FossFanatic
35967caf71 Change some things 2022-12-14 14:43:45 +00:00
Michieal
29bc74dde9 Code reformat. 2022-12-14 03:26:22 -05:00
Michieal
ca1a46efa7 A complete re-upload of https://git.minetest.land/MineClone2/MineClone2/pulls/3120
Doing this to just fix it.
2022-12-13 23:32:54 -05:00
Michieal
997b6875a2 Merge pull request 'performance_fix_raids' (#3092) from performance_fix_raids into release/0.81.1
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3092
Increases performance.
Tested by myself, and by other players.
2022-12-11 23:29:13 +00:00
ancientmarinerdev
38e49a4b80 Merge pull request 'mcl_hoppers fixes' (#2983) from mcl-hoppers-fixes into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2983
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2022-12-11 20:55:59 +00:00
ancientmarinerdev
9b94a752bd Fixed bug that crashes zombie siege in context where z cannot spawn 2022-12-11 20:22:06 +00:00
ancientmarinerdev
ab3530c356 Merge pull request 'Nylium Block Fixes' (#3084) from FossFanatic/MineClone2:nylium_block_fixes into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3084
Reviewed-by: kabou <kabou@noreply.git.minetest.land>
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2022-12-11 03:21:11 +00:00
ancientmarinerdev
fbed60bd2d Merge pull request 'Bee Block Sounds' (#3085) from FossFanatic/MineClone2:bee_block_fixes into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3085
Reviewed-by: kabou <kabou@noreply.git.minetest.land>
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2022-12-11 02:55:22 +00:00
ancientmarinerdev
bf34ca5f50 Merge pull request 'Add Seagrass Item Texture' (#3088) from FossFanatic/MineClone2:seagrass_item_image_fix into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3088
Reviewed-by: kabou <kabou@noreply.git.minetest.land>
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2022-12-11 02:29:06 +00:00
ancientmarinerdev
055432c1f7 Merge pull request 'Fix the bug that baby (non-monster) mobs cant jump over blocks' (#3093) from CyberMango/MineClone2:dev/mango/fix_baby_mobs_jump into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3093
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2022-12-11 02:17:01 +00:00
AFCMS
7a371dc846
Format file again 2022-12-10 22:38:08 +01:00
AFCMS
7deec7ae03
Refactor hopper -> composter ABMs 2022-12-10 22:38:08 +01:00
AFCMS
47eda5b69e
Only register hopper -> composter ABMs if composter mod is enabled 2022-12-10 22:38:07 +01:00
AFCMS
8d921c0671
Add some type annotations 2022-12-10 22:38:07 +01:00
AFCMS
804aa388b5
Some manual formatting 2022-12-10 22:38:07 +01:00
AFCMS
fcf9c35324
Use new vectors everywhere 2022-12-10 22:38:06 +01:00
AFCMS
9cc63ed716
Use table.concat for formspec generation 2022-12-10 22:38:06 +01:00
AFCMS
c49f000894
Fix formating 2022-12-10 22:38:06 +01:00
CyberMango
f7f2b97b13 Fixed #2313 - baby mobs cant jump over blocks.
Simply removed a line that specifies they shouldnt do that.
2022-12-10 19:54:44 +02:00
ancientmarinerdev
f7f0a2be8b Raids performance optimisation. Check for village less and over less distance. 2022-12-09 22:59:58 +00:00
ancientmarinerdev
e408dd45e5 Remove easter egg taking 3% of processing 2022-12-09 19:30:06 +00:00
FossFanatic
adead97905 Add seagrass item texture 2022-12-08 17:37:14 +00:00
FossFanatic
ef33891b3f Add seagrass item texture 2022-12-08 17:36:28 +00:00
FossFanatic
1c5170d36f Add sounds to bee nests and beehives 2022-12-08 11:43:58 +00:00
FossFanatic
cf3e65e34e Add sounds to honey and honeycomb blocks 2022-12-08 11:43:06 +00:00
FossFanatic
0593a63626 Fix nylium blocks 2022-12-08 11:09:30 +00:00
AFCMS
2b46dd60c5 Merge pull request 'Fix right click on copper crash' (#3076) from bugfix/fix_copper_right_click into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3076
Reviewed-by: AFCMS <afcm.contact@gmail.com>
2022-12-07 17:27:47 +00:00
ancientmarinerdev
9d87dcf611
Fix right click on copper crash 2022-12-07 18:27:11 +01:00
AFCMS
0f99373779 Merge pull request 'mobs_mc silverfish fixes' (#2935) from mc-mobs-silverfish-fixes into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2935
Reviewed-by: kabou <kabou@noreply.git.minetest.land>
2022-12-07 17:24:09 +00:00
AFCMS
bbf21762a6
Format again 2022-12-07 18:22:54 +01:00
AFCMS
34a7cf3e9f
Remove duplicated reach field 2022-12-07 18:22:54 +01:00
AFCMS
3153c41f3a
Remove mtg compatibility code 2022-12-07 18:22:53 +01:00
AFCMS
489d3b7da6
Format file 2022-12-07 18:22:53 +01:00
ancientmarinerdev
2d05f9bc89 Merge pull request 'mcl_ver_info' (#3043) from mcl_ver_info into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3043
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2022-12-06 23:43:00 +00:00
Michieal
8256fe6f04 remove extraneous messages 2022-12-06 23:40:11 +00:00