- add setting 'enable_tag_support';
- add setting 'pipeworks_item_tag_name_limit' (default 30)
- add functions for get and set tag into item stack.
- add tags cleanup while item dropped in a world or placed in some inventory.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* 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
* check if target is protected before trying to break/place a node, so as not to trigger protection violations
* check whether the machine is protected, not the target
* Store teleport tube DB in mod storage
* Prevent overwriting of tube DB backup file
* Remove backup code
* Slightly improve storage reading code
* Log DB migration to mod storage
* Add migration note in README
* Improve pipeworks.logger
* Add configurable globalstep interval
* Add warning for high globalstep interval
* Lower maximum globalstep interval
With no accelerator tubes, 0.8 can handle item movement speeds even
with lag.