Go to file
2024-07-02 15:03:49 +02:00
dev Adds debugging example 2024-06-12 22:43:35 +02:00
.luacheckrc Implements on_timer 2024-07-02 15:03:49 +02:00
api.lua Implements on_timer 2024-07-02 15:03:49 +02:00
config.lua Adds debugging example 2024-06-12 22:43:35 +02:00
information.lua Adds debugging example 2024-06-12 22:43:35 +02:00
init.lua Removes all unneccessary files 2024-06-12 17:59:01 +02:00
internal.lua Implements on_timer 2024-07-02 15:03:49 +02:00
LICENSE-CC0 Initial commit 2024-06-12 15:42:01 +00:00
LICENSE-MIT Initial commit 2024-06-12 15:42:01 +00:00
LICENSE.md Prepares readme and configs 2024-06-12 18:25:20 +02:00
mod.conf Adds debugging example 2024-06-12 22:43:35 +02:00
README.md Prepares readme and configs 2024-06-12 18:25:20 +02:00
screenshot.png Initial commit 2024-06-12 15:42:01 +00:00
settingtypes.txt Prepares readme and configs 2024-06-12 18:25:20 +02:00
texts.lua Implements on_timer 2024-07-02 15:03:49 +02:00

yl_api_food

Purpose

This mod is a library which brings various food-related functions.

Download

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

Installation

  1. Copy the "yl_api_food" folder to your mod directory.
  2. Enable the mod in your world.mt file.

Configuration

yl_api_food.debug = false

Set to true to enable debug mode

yl_api_food.maximum_stages

Set this to the maximum stages your food can have.

Usage

This mod can be used in singleplayer and multiplayer. It comes with no direct content but exposes functions you can use in your mod.

Modmakers

Use the following public functions related to food.

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

This is in parts a rewrite of canned_food

Supported versions

If you use yl_api_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.

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
  • Screenshot CC0 Styxcolor

Thank you