Go to file
malfal 43377500e1 Update texts.lua
After fixing the all_good warning message in yl_api_nodestages, there were two new warning messages introduced at startup from internal.lua:

WARNING[ServerStart]: key settings_dont_match does not exist
WARNING[ServerStart]: key get_filepath does not exist

Plus there was this error when playing without one or more of the optional dependencies ethereal, farming redo, and mobs_animals:

WARNING[ServerStart]: key recipe_not_good does not exist
WARNING[ServerStart]: recipe_not_good

So I added three lines to the bottom of texts.lua to fix or improve these warnings (although I am not 100% sure of the wording for the get_filepath message that appears to only show up when the debug checkbox is checked? I did my best to apply context to the warnings, but edit messages as you see fit.)
2025-03-08 04:47:52 +01:00
dev Minor fixes to the recipes 2024-07-17 01:06:35 +02:00
textures Replaces unified_inventory crafting icon 2024-07-16 02:21:40 +02:00
.luacheckrc Adds all necessary files 2024-07-13 22:34:52 +02:00
config.lua Splits data into legacy, default and json 2024-07-16 01:55:04 +02:00
data_json.lua Splits data into legacy, default and json 2024-07-16 01:55:04 +02:00
data_legacy.lua Minor fixes to the recipes 2024-07-17 01:06:35 +02:00
data_recipes.lua Minor fixes to the recipes 2024-07-17 01:06:35 +02:00
data.lua Splits data into legacy, default and json 2024-07-16 01:55:04 +02:00
feature_eat.lua Splits data into legacy, default and json 2024-07-16 01:55:04 +02:00
feature_recipes.lua Splits data into legacy, default and json 2024-07-16 01:55:04 +02:00
feature_unified_inventory.lua Splits data into legacy, default and json 2024-07-16 01:55:04 +02:00
features.lua Adds all necessary files 2024-07-13 22:34:52 +02:00
information.lua Version 1.0.1 2024-07-20 04:38:14 +02:00
init.lua Version 1.0.1 2024-07-20 04:38:14 +02:00
initialize.lua Splits data into legacy, default and json 2024-07-16 01:55:04 +02:00
internal.lua Removes debug statements 2024-07-16 02:26:01 +02:00
LICENSE-CC0 Initial commit 2024-07-13 19:21:36 +00:00
LICENSE-MIT Initial commit 2024-07-13 19:21:36 +00:00
LICENSE.md Fix broken links 2024-07-18 05:24:52 +02:00
mod.conf your-land/yl_canned_food_mtg#1 Adds forgotten dependency to yl_canned_food 2024-07-20 04:10:03 +02:00
README.md Fixes broken link in readme 2024-07-20 04:19:19 +02:00
screenshot.png Version 1.0.0 2024-07-18 04:25:19 +02:00
settingtypes.txt Version 1.0.0 2024-07-18 04:25:19 +02:00
setup.lua Splits data into legacy, default and json 2024-07-16 01:55:04 +02:00
texts.lua Update texts.lua 2025-03-08 04:47:52 +01:00

yl_canned_food_mtg

Purpose

This mod brings crafting recipes, nutritional values and unified inventory integration for yl_canned_food

Download

Get it from https://gitea.your-land.de/your-land/yl_canned_food_mtg

Dependencies

See mod.conf

Installation

  1. Copy the "yl_canned_food_mtg" folder to your mod directory.
  2. Make sure the dependencies are satisfied, if any.
  3. Enable the mod in your world.mt file.

Configuration

yl_canned_food_mtg.debug = false

Set to true to enable debug mode

yl_canned_food_mtg.enable_recipes = true

Set this to true if you want to enable recipes. Set this to false if you create recipes of your own in a different mod.

yl_canned_food_mtg.enable_eat = true

Set this to true if you want to enable eating. Set this to false if you create item_eat integration of your own in a different mod.

yl_canned_food_mtg.enable_unified_inventory = true

Set this to true if you want to enable unified_inventory integration

yl_canned_food_mtg.data_source = "default"

Set this to where the data shall be loaded from. Use "default" for a new world, "legacy" for a world where this mod replaces canned_food and "json" where you decide the data for yourself. Here is an example json: yl_canned_food_mtg.json

yl_canned_food_mtg.save_path

Set this to where in the worldfolder you want the JSON files stored.

Usage

This mod can be used in singleplayer and multiplayer. It adds crafting recipes, nutritional values and unified inventory integration for minetest_game. If your game is a different one, use their canned_food integration instead.

Limitations

  • No integrations for other games than those which are based on minetest_game

Alternatives

Supported versions

If you use yl_canned_food_mtg, but something is wrong, please file a bug. PRs also welcome.

There is no reason to believe it doesn't work anywhere, but you never know.

Allied projects

If you know a project that uses this mod tell us and we will add it to the list.

Uninstall

Remove it from your mod folder or deactivate it in your world.mt

Mods that depend on it will cease to work, if the mod is removed without proper replacement.

License

See LICENSE.md

  • Code MIT AliasAlreadyTaken
  • Textures CC0 Styxcolor
  • Screenshot CC0 Styxcolor

Thank you

  • Styxcolor
  • tour