Compare commits

...

6 Commits

Author SHA1 Message Date
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
AliasAlreadyTaken
5fbda3589f Version 1.0.1 2024-07-20 04:38:14 +02:00
AliasAlreadyTaken
231bed60f8 Fixes broken link in readme 2024-07-20 04:19:19 +02:00
AliasAlreadyTaken
bf5cafdbfe your-land/yl_canned_food_mtg#1 Adds forgotten dependency to yl_canned_food 2024-07-20 04:10:03 +02:00
AliasAlreadyTaken
8bd07b048f Fix broken links 2024-07-18 05:24:52 +02:00
AliasAlreadyTaken
b885684bc8 Version 1.0.0 2024-07-18 04:25:19 +02:00
8 changed files with 15 additions and 7 deletions

View File

@ -10,3 +10,4 @@ Code:
Media:
* screenshot.png [CC0](https://gitea.your-land.de/your-land/yl_canned_food_mtg/src/LICENSE-CC0) Styxcolor
* yl_canned_food_mtg_unified_inventory_craft.png [CC0](https://gitea.your-land.de/your-land/yl_canned_food_mtg/src/LICENSE-CC0) Styxcolor

View File

@ -11,14 +11,14 @@ Get it from https://gitea.your-land.de/your-land/yl_canned_food_mtg
## Dependencies
See [mod.conf](mod.conf)
See [mod.conf](https://gitea.your-land.de/your-land/yl_canned_food_mtg/src/branch/master/mod.conf)
* [yl_canned_food](https://gitea.your-land.de/your-land/yl_canned_food)
## Installation
1. Copy the "yl_canned_food_mtg" folder to your mod directory.
2. Make sure the [dependencies](#dependencies) are satisfied, if any.
2. Make sure the [dependencies](https://gitea.your-land.de/your-land/yl_canned_food_mtg#dependencies) are satisfied, if any.
3. Enable the mod in your world.mt file.
## Configuration
@ -46,7 +46,7 @@ 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](dev/yl_canned_food_mtg.json)
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](https://gitea.your-land.de/your-land/yl_canned_food_mtg/src/branch/master/dev/yl_canned_food_mtg.json)
```
yl_canned_food_mtg.save_path

View File

@ -1,7 +1,7 @@
yl_canned_food_mtg.information = {}
yl_canned_food_mtg.information.version = "0.0.1"
yl_canned_food_mtg.information.version = "1.0.1"
yl_canned_food_mtg.information.author = "AliasAlreadyTaken"
yl_canned_food_mtg.information.license = "MIT"
yl_canned_food_mtg.information.name = "yl_canned_food_mtg" -- Name of the mod
yl_canned_food_mtg.information.name = "yl_canned_food_mtg"
yl_canned_food_mtg.information.source = "https://gitea.your-land.de/your-land/yl_canned_food_mtg"
yl_canned_food_mtg.information.additional = yl_canned_food_mtg.t("information_additional")

View File

@ -1,8 +1,10 @@
-- Version 0.0.1
-- Version 1.0.1
-- Author AliasAlreadyTaken
-- License MIT
-- Changelog
-- 1.0.0 Release
-- 1.0.1 Bugfix dependency
local mod_start_time = minetest.get_us_time()
minetest.log("action", "[MOD] yl_canned_food_mtg loading")

View File

@ -1,5 +1,6 @@
name = yl_canned_food_mtg
description = Craft and eat yl_canned_food in mtg
depends = yl_canned_food
optional_depends = default, unified_inventory, vessels, bushes, ethereal, flowers, farming, mobs_animal
author = AliasAlreadyTaken
title = Canned Food MTG

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 1.7 MiB

View File

@ -1,4 +1,4 @@
[category]
[yl_canned_food_mtg]
# Debug
# Set this to true to enable debug mode, it will output some more values to log

View File

@ -52,3 +52,7 @@ texts["error_cannot_read_file"] = "Error reading file: @1"
texts["error_name_not_found"] = "Name not found: @1"
texts["error_priv_not_found"] = "Priv not found: @1"
texts["settings_dont_match"] = "\"Legacy naming mode\" and \"Data source\" settings don't match between yl_canned_food and yl_canned_food_mtg"
texts["get_filepath"] = "User supplied JSON file for @1 is @2"
texts["recipe_not_good"] = "Missing optional dependency to add a recipe for @1"