* Fixes Issue #64
Uses a simple boolean setting in default_settings.lua to decide which digiline rules to use in common.lua
* Reviewer Suggestion
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
* Changed Code Comment per Reviewer Suggestion
* Removed trailing whitespace from 2 comment lines.
* Modified settings comment per reviewer suggestion
* Changed variable name per reviewer suggestion.
Variable changed from use_default_digilines_rules to enable_vertical_digilines_connectivity.
---------
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
* rewrite compat-chests.lua
add pipeworks.override_chest() to make a existing chest connecting to pipeworks
* move pipeworks.override_chest() to a new file
fix crash with after_place_node() there
let mcl_barrels make use of the new function
* some comments
* check for non-zero group value
in theory groups can have negative values too.
* fix #114 multi group recipe items
Fix the bug that prevented crafting with recipes
that had ingredients that need to match multiple
groups.
* comments and whitespace changes
* fix faulty empty table check
* Add support for recipes with groups to autocrafter
* fix autocrafter replacements
* remove unnecessary check and move some code
* reorder and change back var name
* only whitespace changes
* reuse hash that is asigned to variable anyway
* add get_matching_craft
function that looks for the best matching recipe according to what user
put in recipe inventory
some crafts use groups in multiple recipes
* return right away if there is a chached craft
gives us more horizontal space to work with
* indentation adjusting
* use get_matching_craft to get best craft
this line was buggy anyhow
* new craft format: decremented_input
craft.decremented_input now only holds the items. Extra parameters are
dropped
* bugfix: when item has no groups
"" and unknown items have no def and thus no groups
* add function has_room_for_output
moving the output space calculation into its own function
helps keep autocraft() short and overseeable
* use has_room_for_output
* remove double-check of available materials
* add warning to ensure double-check was not needed
* rebuild cache whenever recipe inv changes
no need to check if still current, this only happens when user is
interacting and can only be better to do so.
Otherwise we would have to check groups etc. again just to check, so
might as well reset cache.
* remove unused line
* use minetest.get_item_group()
* whitespace cleanup
make code easier to read and give it a more
"thoughtthrough" look than the "smash it in to make it work" look it has
had.
(I'm holding back, there would be more to do overall through this mod)
* add .editorconfig
this should also help keep consistency throughout this mod
* changelog updated
at least the most recent more important ones
* whitespace changelog (trailing spaces)
---------
Co-authored-by: rubenwardy <rw@rubenwardy.com>
Co-authored-by: OgelGames <olliverdc28@gmail.com>
Co-authored-by: wsor4035 <24964441+wsor4035@users.noreply.github.com>
It was possible to drag items from broken sorting-/mese-tubes.
2023-11-11 23:06:43 +01:00
Github is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. See: https://forgefed.org
Github is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. See: https://forgefed.org
Github is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. See: https://forgefed.org
Github is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. See: https://forgefed.org
* mcl_barrels compat
* open barrel is not in creative inv
* fix barrel drop content after dig
* fix barrel local var
* mcl_furnaces compat
* optional depends mcl_barrels and mcl_furnaces
* fixing luacheck
* .luacheckrc update
* renamed files to use _
* renamed files to init.lua
* format improvement
2023-09-02 15:17:14 -04:00
Github is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. See: https://forgefed.org
* mineclone dig times balanced
* fix pickaxey dupe
2023-09-01 15:00:50 +02:00
Github is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. See: https://forgefed.org
* allow setting can_receive flag by digilines
basically also allows sending tables to change
both or either the tp-channel and receive toggle
* apply suggestions
Co-authored-by: OgelGames <olliverdc28@gmail.com>
---------
Co-authored-by: OgelGames <olliverdc28@gmail.com>
- i3.settings.hotbar_len and i3.settings.inv_size were removed
in commit 75fddf7 because they are now per-player settings
- This just uses sane defaults when the settings are not
present to avoid a few nils and allow the game to continue