Go to file
2024-07-11 20:02:16 +02:00
dev Creates all necessary textures 2024-07-11 20:02:16 +02:00
textures Creates all necessary textures 2024-07-11 20:02:16 +02:00
.luacheckrc Rename yl_api_food to yl_api_nodestages 2024-07-02 15:32:06 +02:00
config.lua Adds configuration for duration and legacy mode 2024-07-11 02:30:37 +02:00
information.lua Implements a first attempt 2024-06-12 19:45:24 +02:00
init.lua Adds example 2024-06-12 22:42:34 +02:00
internal.lua Moves food registration into a function 2024-07-11 02:52:41 +02:00
item_foods.lua Creates all necessary textures 2024-07-11 20:02:16 +02:00
item_legacy.lua Creates all necessary textures 2024-07-11 20:02:16 +02:00
items.lua Implements legacy and demo for new items 2024-07-11 03:55:56 +02:00
LICENSE-CC0 Initial commit 2024-06-12 17:37:53 +00:00
LICENSE-MIT Initial commit 2024-06-12 17:37:53 +00:00
LICENSE.md Implements a first attempt 2024-06-12 19:45:24 +02:00
mod.conf Rename yl_api_food to yl_api_nodestages 2024-07-02 15:32:06 +02:00
README.md Adds configuration for duration and legacy mode 2024-07-11 02:30:37 +02:00
screenshot.png Initial commit 2024-06-12 17:37:53 +00:00
settingtypes.txt Adds configuration for duration and legacy mode 2024-07-11 02:30:37 +02:00
texts.lua Implements a first attempt 2024-06-12 19:45:24 +02:00

yl_canned_food

Purpose

This mod is a contentlevel reimplementation of canned_food. yl_canned_food intends to be as extensible as possible.

Download

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

Dependencies

See mod.conf

Installation

  1. Copy the "yl_canned_food" 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.debug = false

Set to true to enable debug mode

yl_canned_food.legacy = false

Set to true if you need drop-in replacement for canned_food. Set to false if you want uniform naming

yl_canned_food.duration = 600

Set this to a time in seconds. This time is necessary to go from the first to the second stage.

Usage

This mod can be used in singleplayer and multiplayer. It comes with the canned food items, but no crafting recipes. To get those, install the integration mod for your game. The minetest_game integration is here: TODO

Modmakers

Add to this mod or make your own based on yl_api_nodestages

Limitations

Although this mod intends to achieve everything and more the canned_food mod brings with it, there is no guarantee it will look and feel entirely the same.

Alternatives

Supported versions

If you use yl_canned_food, 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 Developername
  • Textures CC0 Styxcolor
  • Screenshot CC0 Styxcolor

Thank you