generated from your-land/yl_template
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
43377500e1 | |||
|
5fbda3589f | ||
|
231bed60f8 | ||
|
bf5cafdbfe | ||
|
8bd07b048f | ||
|
b885684bc8 |
@ -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
|
@ -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
|
||||
|
@ -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")
|
||||
|
4
init.lua
4
init.lua
@ -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")
|
||||
|
1
mod.conf
1
mod.conf
@ -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
|
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 1.7 MiB |
@ -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
|
||||
|
@ -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"
|
Loading…
Reference in New Issue
Block a user