Michieal
533f59bf27
Merge branch 'master' into mcl_bamboo_too
2023-01-06 18:08:33 -05:00
Michieal
3074c15d14
clear up comment confusion.
...
Factored out hard coded names for variable names.
removed "minecraft" from README.md.
2023-01-06 18:07:30 -05:00
Michieal
132178b8c7
clear up comment confusion.
2023-01-06 17:46:54 -05:00
Michieal
ede21a8627
revert f92ea77849
...
revert accidental second commit.
Mega commit. lol.
Did a LOT of refactoring.
Cleaned up some vestigial code.
Cleaned up aliases.
2023-01-06 22:43:41 +00:00
Michieal
82fae13b47
Merge remote-tracking branch 'origin/mcl_bamboo_too' into mcl_bamboo_too
2023-01-06 17:41:57 -05:00
Michieal
f92ea77849
Mega commit. lol.
...
Did a LOT of refactoring.
Cleaned up some vestigial code.
Cleaned up aliases.
2023-01-06 17:41:01 -05:00
Michieal
7ebf9b7ab8
Mega commit. lol.
...
Did a LOT of refactoring.
Cleaned up some vestigial code.
Cleaned up aliases.
2023-01-06 17:40:35 -05:00
Michieal
07a56165ed
update optional depends.
2023-01-06 20:23:59 +00:00
Michieal
ee0b355f51
Fix licensing.
2023-01-06 20:21:08 +00:00
Michieal
cc24144bc6
Fixed collision and selection box for endcap nodes.
...
fixed typo in debug message.
2023-01-06 01:22:18 -05:00
Michieal
e1cd16c971
Adjusted growth interval.
...
tested and fixed bamboo growth function.
Add debug code across growth function and scaffold place.
disabled debug for commit. removed finished todos.
2023-01-06 00:41:26 -05:00
Michieal
ed64e7f733
Reverted scaffolding (WIP) for final push. Making an issue for it's continued work. Left wip in, but commented and future featured out. Will test changes forthwith.
...
Adjusted bamboo base code (randomize which one to use.) to do less math and accomplish the same thing.
2023-01-05 20:27:52 -05:00
Michieal
08f9c0074a
REVERT: Fix mcl_dyes' mod.conf to use mcl_bamboo grow and check functions.
2023-01-05 18:31:21 -05:00
Michieal
c4969c13cd
trying to fix redundancy error...
2023-01-05 00:30:18 -05:00
Michieal
f70176da34
Fix mcl_dyes' mod.conf to use mcl_bamboo grow and check functions.
2023-01-04 23:56:51 -05:00
Michieal
e314addeb3
Merge branch 'master' into mcl_bamboo_too
...
# Conflicts:
# mods/ITEMS/mcl_dye/init.lua
2023-01-04 23:10:54 -05:00
Michieal
df8fc65e1e
temp commit.
2023-01-04 23:03:08 -05:00
Michieal
687887fe27
Incorporate applying bonemeal to Bamboo stalks.
2023-01-04 22:49:17 -05:00
Michieal
65aa956d9c
Add alias for scaffolding.
...
Rework grow_bamboo to handle random heights, and to handle bonemeal.
Remove "bamboo_node" in favor of is_bamboo()
2023-01-04 22:43:05 -05:00
CyberMango
5e969ba928
Added sweet berries death messages.
2023-01-04 23:04:19 +02:00
CyberMango
17e02aec3c
Applying bone meal on a stage 3 sweet berry no longer grows it.
...
It now ignores the bone meal and harvests the sweet berry as normal.
2023-01-04 23:04:19 +02:00
CyberMango
fb28e192e6
Bone meal applied on sweet berries only grows them by 1 stage now.
...
The interface of the grow plant is a bit confusing since even with
stages set to 0 the plant grows by 1 stage (if other conditions such as
light are met). Therefore changing it to 0 makes the plant grow by 1.
2023-01-04 23:04:19 +02:00
CyberMango
0f569fdbaa
Bone meal on sweet berries in creative mode is no longer wasted and
...
minor fixes.
removed an unnecessary -- in a comment.
Removed a redundant concatination.
2023-01-04 23:04:19 +02:00
CyberMango
8a7fcfde82
Fixed sweet berries bugs.
...
Now they can only be placed a tile's upper part.
Also when destroyed bushes at stage 2 drop 1 or 2 berries, while bushes
at stage 3 drop 2 or 3 (instead of fixed numbers of 1 and 3
respectively).
Also harvesting sweet berries at stage 3 (final) brings them to stage 1
instead of just to stage 2. Number of dropped berries was adjusted.
2023-01-04 23:04:19 +02:00
CyberMango
fb51067c78
Created a shared function for planting a seed that can also be consumed.
2023-01-04 23:04:19 +02:00
Michieal
8dd4a2611e
Added alias for scaffolding.
2023-01-04 14:25:31 -05:00
Michieal
f86ee99abf
Further cleaned up bamboo base code.
...
Fixed some errors in Scaffolding, Commented out the in progress section.
2023-01-04 11:28:09 -05:00
FossFanatic
39bcf2f961
Merge branch 'master' into simplified_palette_index
2023-01-04 14:01:58 +00:00
Michieal
d1a017f6b2
optimized out some for loops, cleaned up code for bamboo placement.
...
tested the changes.
2023-01-03 18:40:40 -05:00
Michieal
50e50e2904
Continued some optimizations of code in bamboo.on_place.
...
Begun work on scaffolding.
2023-01-03 15:57:58 -05:00
Michieal
9351f72c15
Updated Bamboo translations template.txt
2023-01-03 15:38:34 -05:00
Michieal
ef7fb0d2e3
Cleaned up the code. Fixed side placement of bamboo against bamboo.
...
Dinked with the random number generator some more.
Condensed some more of the code duplication (WIP).
Added in MCL_Log function.
Finally settled on a decent looking Bamboo top.
2023-01-03 01:38:12 -05:00
Michieal
5ef7d9f7a0
Added in Bamboo_Plank variable.
...
Dinked with the random number generator some.
Moved Bamboo Mosaic from base to items.
condensed some of the code duplication (WIP).
started to add in checks to prevent bamboo from being placed against itself horizontally.
Fixed a couple of naming issues.
2023-01-02 22:36:09 -05:00
Michieal
dd4a0a4172
Fixed mcl_fishing depending on mcl_bamboo.
2023-01-02 19:24:56 -05:00
Michieal
d586b3fecc
Tracked down missing node type placement issues, and fixed them.
...
Now with Chicken Cherry Cola!
2023-01-02 03:54:26 -05:00
Michieal
a7a0c4791a
Many bug fixes, Adjusted randomizing code.
...
And, Now with Lime-Cherry Kool-aid!! Yum!
2023-01-02 02:19:33 -05:00
Michieal
23b62c296a
Fix code caching errors, and remove unused variables from init.
2023-01-01 23:07:20 -05:00
kabou
2a37d38f6c
Reformat cocoa pod node definition groups.
2022-12-31 11:18:04 +01:00
kabou
89821a8329
Rename cocoa pod placement function.
...
* Rename cocoa pod placement function to match the `on_place` call in
the cocoa pods item definition.
* Make the function local, there are no callers outside of mcl_cocoas.
2022-12-31 10:41:39 +01:00
FossFanatic
3d2955c394
Merge branch 'master' into simplified_palette_index
2022-12-30 10:36:35 +00:00
FossFanatic
aacbaddfe0
Add warped hyphae texture to the right folder
2022-12-30 01:27:02 +00:00
ancientmarinerdev
e6e898671a
Merge pull request 'add japanese translation' ( #3149 ) from SakuraRiu/MineClone2:master into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3149
Reviewed-by: Michieal <michieal@noreply.git.minetest.land>
2022-12-29 22:14:48 +00:00
Michieal
87327abfb9
Restructure Commit.
...
Recipes are in recipes.lua
Bamboo Basic nodes are in bamboo_base.lua
Bamboo items are in bamboo_items.lua
Bamboo api / globals are in globals.lua.
2022-12-29 13:16:48 -05:00
Michieal
34263c2ef3
Change bamboo back to Axey, instead of swordy.
2022-12-29 12:28:42 -05:00
Michieal
38c6969292
Fix mod.conf in mcl_fishing
...
Fix bamboo nodes on_destruct to handle the alt nodes too.
clean up ToDos
2022-12-29 11:31:13 -05:00
FossFanatic
54548ecfdf
Merge branch 'master' into simplified_palette_index
2022-12-29 14:51:17 +00:00
Michieal
1d0968f4f5
Fix bamboo nodes on_destruct to handle the alt nodes too.
...
clean up ToDos
2022-12-29 01:38:10 -05:00
Michieal
0f9d263e02
Add Bamboo to the Fishing Junk table.
...
Update the mod.conf to be aware of mcl_bamboo.
2022-12-29 01:29:25 -05:00
Michieal
26c1be3722
Fix bamboo node to be Swordy.
...
Added in secondary bamboo node types.
Changed the grow_bamboo function to make use of new alt nodes, and removed unneccessary "force" parameter.
2022-12-29 01:03:25 -05:00
kabou
44f724f677
Minor refactoring of mcl_dye, fix dye texture names.
...
* Reorganize dyes table.
* Rename dye item textures to conform to mcl naming standard.
* Refactor dye item registration.
* Shuffle recipes around in a more logical order.
* Remove unused dye names from lists that are probably equally unused.
2022-12-29 03:08:50 +00:00
kabou
92ee402971
Separate white dye from bone meal.
...
* Add craftitem for ":mcl_bone_meal:bone_meal" to mcl_dye (temporarily.)
* Add crafting recipe for bone meal.
* Add texture for white dye item.
* Merge craftitem registration for "mcl_dye:white" with generic dyes.
* Add crafting recipe for white dye.
* Add legacy conversion recipe.
* Update dyes table.
* Update translations.
* Update mcl_crimson and sweet berry on_rightclick handlers.
* Update composter output, both as freestanding and to hoppers.
* Update bone block crafting recipes.
* Update tropical fish, cod and salmon mob drops.
2022-12-29 03:08:50 +00:00
kabou
7d8fdc6ec3
Separate brown dye from cocoa beans.
...
* Add craftitem "mcl_cocoas:cocoa_beans".
* Add texture for brown dye item.
* Merge craftitem registration for "mcl_dye:brown" with generic dyes.
* Add crafting recipe for brown dye.
* Add legacy conversion recipe.
* Update dyes table.
* Update translations.
* Update cookie recipe.
2022-12-29 03:08:49 +00:00
kabou
d2edc75407
Separate blue dye from lapis lazuli.
...
* Add craftitem "mcl_core:lapis".
* Add texture for blue dye item.
* Add crafting recipe for blue dye.
* Add legacy conversion recipe.
* Update dyes table.
* Update translations.
* Update lapis block crafting recipes.
* Update lapis ore drops.
* Update dungeon and shipwreck loot.
* Update enchanting table input.
* Update villager trade.
2022-12-29 03:08:49 +00:00
kabou
7311071303
Separate black dye from squid ink sac.
...
* Add craftitem "mcl_mobitems:ink_sac".
* Add texture for black dye item.
* Add crafting recipe for black dye.
* Add legacy conversion recipe.
* Update dyes table.
* Update translations.
* Update fishing loot.
2022-12-29 03:08:49 +00:00
Michieal
28cb06421d
Merge branch 'master' into mcl_bamboo_too
2022-12-28 18:13:51 -05:00
Michieal
731468cf5a
Did a bit of code restructuring.
...
Removed another magic number.
Add in todo for fishing.
Added in the possibility for bamboo to grow two nodes in one success.
Added in a "force" param to use with bonemealing.
2022-12-28 18:10:12 -05:00
Michieal
ff7693937a
Did a bit of code restructuring.
...
Removed another magic number.
Add in todo for fishing.
Added in the possibility for bamboo to grow two nodes in one success.
Added in a "force" param to use with bonemealing.
2022-12-28 15:29:06 -05:00
Michieal
76669e1f3c
Moved bamboo grow code to its own function, and made that function global so that it can be called outside of mcl_bamboo.
2022-12-28 14:34:14 -05:00
FossFanatic
a0c5a04d26
Rename _mcl_palette_index to _mcl_grass_palette_index
2022-12-28 19:32:42 +00:00
FossFanatic
18e932997d
Rename _mcl_palette_index to _mcl_grass_palette_index
2022-12-28 19:31:11 +00:00
ancientmarinerdev
81daec14a2
Merge pull request 'Update sounds from MTG' ( #3157 ) from grorp/MineClone2:patch-1 into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3157
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2022-12-27 21:36:33 +00:00
FossFanatic
9f9cc3a629
Change grass block inventory colour
...
According to the wiki, the hex code of the grass block when held or in the inventory is #7CBD6B.
2022-12-27 21:19:33 +00:00
FossFanatic
a6841fe38b
Simplify palette and add helpful text file
2022-12-27 20:55:24 +00:00
Michieal
6f05992c8b
Fix Licensing.
...
Removed Make_Stairs check.
Made unified protection check.
Began work on the second half of scaffolding.
Removed comments that was no longer needed.
2022-12-25 07:30:31 -05:00
PrairieWind
0dc31611ac
Merge pull request 'Adjusts mcl_crimson Doors to have a specified side texture' ( #3140 ) from Wbjitscool/MineClone2:master into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3140
Reviewed-by: PrairieWind <prairie.astronomer1@gmail.com>
2022-12-25 02:09:14 +00:00
3raven
5964f25fa7
Merge branch 'master' into master
2022-12-24 17:01:13 +00:00
3raven
d3e8e24f42
Fix the disapearance of christmas texture of the ender chest once it is placed
...
Fix the disapearance of christmas texture of the ender chest once it is placed
2022-12-24 14:44:06 +00:00
Michieal
c55332bf42
Change mod.conf and readme's depends.
...
Optipng images, after adding in bamboo top image.
Try out a plantlike style top node for bamboo stalks.
Make Bamboo drop 1-2 bamboo.
Fix Bamboo top drops.
2022-12-24 00:57:44 -05:00
Michieal
42f8fbf9b8
Added in Fuel Recipes for bamboo slabs / stairs; including mosaics.
...
Finished Bamboo Mosaic nodes.
2022-12-23 17:27:01 -05:00
Michieal
b0978d275d
Abstracted variables in bamboo abm.
...
Fix Base scaffolding in Creative mode.
Fixed Lua Warnings.
2022-12-22 16:08:05 -05:00
FossFanatic
e1f26ea70d
Remove dry grass side texture
...
The same reason as why the dry grass top texture got removed.
2022-12-22 12:40:36 +00:00
FossFanatic
9ef4a850b1
Remove dry grass top texture
...
This is a remnant of Minetest Game and used to be for dry biomes before colour palettes were a thing in MineClone 2.
2022-12-22 12:40:10 +00:00
FossFanatic
4c23601d03
Remove useless amethyst texture
...
This texture is a remnant of the PixelPerfection resource pack and nowhere in the code does this texture get used.
2022-12-22 12:38:05 +00:00
FossFanatic
8d51e16b8e
Remove obsolete texture
2022-12-22 12:34:14 +00:00
Michieal
2b11b5c17a
Added full node names for bamboo on_place.
...
Added in bamboo top destruct.
Removed mapgen.lua.
2022-12-21 22:23:46 -05:00
SakuraRiu
1b980849db
Merge branch 'master' into master
2022-12-22 00:55:48 +00:00
Michieal
e0d48400a7
Fix the removal of bamboo extras.
2022-12-21 16:16:53 -05:00
Michieal
742a625c42
Added in aliasing for scaffolding, to prevent breakage for players using the "mcl_scaffolding" mod.
2022-12-21 15:55:50 -05:00
Michieal
95d3f9be07
Make Lantern API callable from outside of mcl_lanterns
2022-12-21 12:34:47 -05:00
Michieal
16d94a88db
moved extras to the proper location
2022-12-21 12:32:09 -05:00
Michieal
b14f055154
Merge branch 'master' into mcl_bamboo_too
...
# Conflicts:
# mods/ITEMS/mcl_bamboo/init.lua
2022-12-20 23:19:29 -05:00
Riu Sakura
3faa930bdc
Added missing translations.
...
In addition, the translation of "Grass Block" has been corrected to a better phrase.
2022-12-21 10:24:26 +09:00
ancientmarinerdev
a6e0da0e07
Merge pull request 'Fixes https://git.minetest.land/MineClone2/MineClone2/pulls/3120 | Complete re-upload of the mcl_bamboo branch.' ( #3123 ) from mcl_bamboo_new into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3123
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2022-12-21 00:47:21 +00:00
Michieal
41ab80183e
Darken the Warped Hyphae Log (side) texture
2022-12-20 18:02:48 -05:00
ancientmarinerdev
1c24adb714
Merge pull request 'Animated Nether Tree Textures' ( #3155 ) from FossFanatic/MineClone2:animated_nether_trees_possible into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3155
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2022-12-20 21:19:45 +00:00
Michieal
7003459b8d
Merge remote-tracking branch 'origin/master'
2022-12-20 16:13:54 -05:00
Michieal
8d440f8464
Made purple warped_hyphae trapdoor so that it matched the sides. (The top was green, the sides were purple.)
...
Renamed the old trapdoor top to _alt.
2022-12-20 16:13:07 -05:00
Gregor Parzefall
8522b87444
Removed two duplicated sound definitions
2022-12-20 21:08:59 +01:00
Gregor Parzefall
e4abbbf112
Sound changes in code
2022-12-20 20:57:57 +01:00
Wbjitscool
1b4bcda9da
Update 'mods/ITEMS/mcl_mangrove/init.lua'
2022-12-20 02:58:58 +00:00
Michieal
39714fb096
optipng the mangrove door sides, and then moved them to the textures directory for mcl_mangrove.
2022-12-19 21:48:51 -05:00
Wbjitscool
258a1534d2
Upload files to 'mods/ITEMS/mcl_mangrove'
2022-12-20 02:42:27 +00:00
Michieal
c995c8418c
Optipng'd mangrove textures
...
cleaned up warped door (inv/wield images)
2022-12-19 21:32:44 -05:00
Wbjitscool
00121d9d97
Upload files to 'mods/ITEMS/mcl_crimson/textures'
...
fixed transperancy issue
2022-12-20 02:18:15 +00:00
Michieal
4f90fbcedd
put in green alt warped door textures.
...
resized large textures to 16px textures.
optipng'd' them.
2022-12-19 20:57:32 -05:00
Michieal
c7104a6f72
Made the warped doors purple.
...
Optipng'd all the textures in this module.
2022-12-19 20:48:47 -05:00
Wbjitscool
223f6640d2
Upload files to 'mods/ITEMS/mcl_crimson/textures'
2022-12-20 01:36:25 +00:00
Michieal
feea815604
Warped Hyphae textures update.
2022-12-20 01:32:36 +00:00
Riu Sakura
b1b2e06dc7
Removed invisible character codes.
...
Updated translations with the latest templates.
2022-12-20 08:37:24 +09:00
Michieal
1a56a32fa8
misc. error fix
2022-12-19 16:16:54 -05:00
Michieal
66a7c5757e
Made bamboo buttons flammable, and made them into a fuel source.
...
Converted commented code snippet, addgroups() into global function.
Stairs will be a fuel source in part 2.
2022-12-19 15:57:27 -05:00
FossFanatic
083a57a4a1
Allow for animated hyphae textures
2022-12-19 19:36:28 +00:00
FossFanatic
c512d28f02
Add blackstone top texture
2022-12-19 19:02:18 +00:00
FossFanatic
1056b6ca14
Add blackstone side texture
2022-12-19 19:02:18 +00:00
FossFanatic
c8ec57bdbd
Delete 'mods/ITEMS/mcl_blackstone/textures/mcl_blackstone.png'
2022-12-19 19:02:18 +00:00
FossFanatic
2dffe11cdd
Add seperate gilded blackstone texture
2022-12-19 19:02:18 +00:00
FossFanatic
f29622dd59
Allow for both top/bottom and side textures
2022-12-19 19:02:18 +00:00
FossFanatic
d9bd3e2601
Add seperate nether gold ore texture
2022-12-19 19:02:17 +00:00
Riu Sakura
2b61231f82
add japanese translation
2022-12-19 15:33:31 +09:00
Wbjitscool
620cc97bad
Upload files to 'mods/ITEMS/mcl_crimson/textures'
2022-12-19 04:22:59 +00:00
Michieal
64c8afc8f0
Undo the revert.
...
>.< /facepalm *grumbles*
2022-12-19 04:11:25 +00:00
Michieal
f737df79e5
revert 7a3f373425
...
revert Misc. Fixes.
Added in burn times for slabs.
And then amend the commit to remove an oops.
2022-12-19 04:06:33 +00:00
Michieal
7a3f373425
Misc. Fixes.
...
Added in burn times for slabs.
And then amend the commit to remove an oops.
2022-12-18 22:41:33 -05:00
Michieal
63ea851e63
Merge remote-tracking branch 'origin/mcl_bamboo_new' into mcl_bamboo_new
...
# Conflicts:
# mods/ITEMS/mcl_bamboo/init.lua
2022-12-18 22:35:57 -05:00
Michieal
fe26f117da
Misc. Fixes.
...
Added in burn times for slabs.
And then amend the commit to remove an oops.
2022-12-18 22:28:50 -05:00
Michieal
5191326fc7
Misc. Fixes.
...
Added in burn times for slabs.
2022-12-18 21:04:43 -05:00
Wbjitscool
4b8493f1a4
update 'mods/ITEMS/mcl_crimson/init.lua'
...
fixed some accidental changes that were not meant to happen sorry
2022-12-19 01:04:59 +00:00
Wbjitscool
b3a8ba57e7
update 'mods/items/mcl_crimson/init.lua'
...
some new changes
2022-12-19 00:43:32 +00:00
ancientmarinerdev
20ca34233c
Merge pull request 'Respawn Anchor Cleanup & Fixes' ( #3129 ) from FossFanatic/MineClone2:more_respawn_anchor_changes into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3129
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2022-12-18 23:17:53 +00:00
Michieal
1861d7d30d
Conversation Fix. (Removed extra IF statement.)
2022-12-17 01:23:48 +00:00
Wbjitscool
49fb36bac2
Upload files to 'mods/ITEMS/mcl_crimson/textures'
...
the png files for thoes changes
2022-12-16 05:27:23 +00:00
Michieal
c09ed02801
A more elegant solution for slabs
...
After a good bit of trial and error, and asking questions... I have rewritten the override code and it works. (tested, slabs can now be used to make composters and barrels with this method.)
2022-12-16 05:24:54 +00:00
Michieal
da4e359df0
Merge branch 'master' into mcl_bamboo_new
2022-12-16 04:09:56 +00:00
Michieal
4da20f5e73
Main - Fixed Bamboo Sign Errors.
...
Fixed Stripped Bamboo Block Description.
Added in Bamboo Plank Recipe that uses Stripped Bamboo Blocks.
Removed double translation of "Bamboo Sign" in sign registration. (Caused the Bamboo Sign Errors.)
Added bamboo plank slabs to the group "wood_slabs" so that the barrel recipe works oob.
2022-12-15 22:35:10 -05:00
kabou
4e282df905
Mangrove roots are not leaves and some trivia.
...
* Remove `leaves` group from mangrove roots node registration. Mangrove
roots should not decay like leaves do.
* Fix some formatting weirdness.
* Add a "fixme" comment to some duplicated code that causes luacheck to
complain.
2022-12-15 22:42:09 +00:00
kabou
1b0b2b8b04
Add compostability
group to mangrove leaves.
2022-12-15 22:42:09 +00:00
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
Michieal
773c760727
Added Bamboo Mosaic.
...
Added Tiki Lamp (extras) - Requires mcl_lanterns to be fixed to allow API to be called from other mods.
Moved Side Scaffolding to bambootoo.lua
2022-12-14 23:02:08 -05: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
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
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
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
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
ancientmarinerdev
9d87dcf611
Fix right click on copper crash
2022-12-07 18:27:11 +01:00
Johannes Fritz
7c87ed2d6c
Add rightclick support to pplates
2022-12-05 14:25:11 -06:00
Johannes Fritz
d8c16b1f31
Add 1 sec deactivation delay to pplates
2022-12-05 14:25:10 -06:00
Johannes Fritz
ba292aeb5d
Pressure plates check for entity contact
2022-12-05 14:25:10 -06:00
AFCMS
18cfb88ae5
Replace lighting rod nodebox by 3d model
2022-12-04 11:13:36 -06:00
chmodsayshello
7dacfe2cba
make recovery compass spin randomly in other dimensions
2022-12-02 18:52:31 +01:00
chmodsayshello
7d57e73ae4
fix recovery compass overwriting every other item
2022-12-02 15:43:08 +01:00
chmodsayshello
7f59611914
add crafting recipie
2022-12-02 15:40:18 +01:00
chmodsayshello
927fd60786
translation stuff
2022-12-01 21:20:39 +01:00
chmodsayshello
ab031daa5a
recovery compass
2022-12-01 21:13:41 +01:00
cora
25d0f2b0c4
Fix twisted vines breaking block when growing
2022-11-29 12:21:33 +01:00
cora
d395c82183
Fix bonemeal creative for sweet berries and nether vines
2022-11-29 12:20:39 +01:00
cora
34a558ced9
Sweetberry, nethervines: Fix placing in protected area
2022-11-29 12:20:39 +01:00
cora
69c64a2c24
Fix wrong self ref with mcl_mobs.spawn_child
2022-11-28 03:26:51 +01:00
Michieal
c45e4d292a
Added in Author Info to the conf file.
2022-11-28 03:03:42 +01:00
Michieal
f1ae86ede5
Add in the Translation files for the base languages.
2022-11-28 03:03:42 +01:00
Michieal
c63533c753
Updated the readme.txt to reflect the changes.
2022-11-28 03:03:42 +01:00
Michieal
81fa7cf74c
Removed outdated translate files.
...
made new translation template.
Changed _alt image.
Updated the readme.txt to reflect the changes.
Added a secondary crafting recipe for the Hamburger.
2022-11-28 03:03:42 +01:00
Michieal
5378aae09e
Add in achievement.
2022-11-28 03:03:42 +01:00
Michieal
aec16ee62e
Textures redo.
2022-11-28 03:03:42 +01:00
cora
0cdf84ab47
Fix translation warning
2022-11-28 03:03:42 +01:00
cora
31395a8830
make setting just hide the hamburger, not disable it
2022-11-28 03:03:42 +01:00
cora
8e74a5a56a
some basic burger cleanup
2022-11-28 03:03:42 +01:00
Michieal
2149ca1147
Fixed the name in mod.conf.
...
updated the mod.conf so that it reflects the coding to come.
2022-11-28 03:03:42 +01:00
Michieal
de7696ce69
Changed calling function.
2022-11-28 03:03:42 +01:00
Michieal
4b777b1d9c
Fixed Indentation.
2022-11-28 03:03:42 +01:00
Michieal
dadb8f9287
fix indentation.
2022-11-28 03:03:42 +01:00
Michieal
83b40f8cff
add flavor text, code clean up
...
Changed to have the flavor text to give it character.
Fixed misspellings.
Cleaned up the code from the initial commit.
Changed from API to single item.
Fixed the mod name, so that it matches "mcl_" format.
Added comments.
2022-11-28 03:03:42 +01:00
cora
ce95f034b4
Add setting to turn hamburgers on and off
2022-11-28 03:03:39 +01:00
Michieal
2b3ec8d944
remove .idea files
2022-11-28 03:02:51 +01:00
Michieal
972e9ea0f8
Fix initial commit.
2022-11-28 03:02:51 +01:00
Michieal
df62a3aac1
Initial code comit
2022-11-28 03:02:51 +01:00
cora
96d697c5cd
Split off pathfinding, use metatables
2022-11-27 14:53:16 +01:00
cora
19dc86c951
Merge pull request 'Cocoa Pods Cleanup' ( #2974 ) from FossFanatic/MineClone2:cocoa_pod_fixes into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2974
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-11-27 13:49:24 +00:00
PrairieWind
8d5aea9743
Fix New Button Names
2022-11-27 03:36:38 +00:00
cora
fa2a2bb8ac
Remove mcl_copper screenshot
2022-11-27 03:36:38 +00:00
cora
ee808e8f84
optimize excessively large mcl_shield_hud.png texture
2022-11-27 03:36:38 +00:00
cora
53d11ec71b
Add new wood types buttons
2022-11-27 03:36:38 +00:00
cora
927eff691c
Fix node on_rightclick with fishbucket
2022-11-27 04:02:34 +01:00
cora
efdd22d69f
Fix fishbuckets placing water in the nether
2022-11-27 00:17:13 +01:00
cora
f14bfdc0cd
Clear item meta when turning fishbucket to empty bucket
...
before it simply set a different itemstring, now it creates a
whole new itemstack
2022-11-26 22:18:46 +01:00
cora
66322a873b
Fix infinite fishbucket placement in survival/creative
2022-11-26 22:18:46 +01:00
cora
e134cc5e65
make it possible to place fishbucket in flowing riverwater
2022-11-26 22:18:46 +01:00
cora
1fcedd1375
Fix fishbucket _on_dispense
2022-11-26 22:18:46 +01:00
cora
bb73e5f1cd
Make it possible to pick up fish with river water bucket
2022-11-26 22:18:46 +01:00
cora
ebf4678e54
mcl_buckets whitespace fixes
2022-11-26 22:18:46 +01:00
cora
b4971b298d
Move fish bucket code to separate file
2022-11-26 22:18:46 +01:00
cora
99db678a44
Fish buckets set properties from bucket item meta
2022-11-26 22:18:46 +01:00
cora
dd58bed5d1
refactor fish bucket code to not use bucket api
...
it was clearly not made for this
2022-11-26 22:18:46 +01:00
cora
c6fc388597
Add _harmless option for rocket arrows
...
so event fireworks dont grief things
2022-11-26 17:06:04 +01:00