hunger_ng/interoperability
2025-08-22 02:04:48 +02:00
..
bushes.lua init 2025-08-22 02:04:48 +02:00
default.lua init 2025-08-22 02:04:48 +02:00
ethereal.lua init 2025-08-22 02:04:48 +02:00
farming.lua init 2025-08-22 02:04:48 +02:00
ferns.lua init 2025-08-22 02:04:48 +02:00
flowers.lua init 2025-08-22 02:04:48 +02:00
hudbars.lua init 2025-08-22 02:04:48 +02:00
icecream.lua init 2025-08-22 02:04:48 +02:00
mobs.lua init 2025-08-22 02:04:48 +02:00
moretrees.lua init 2025-08-22 02:04:48 +02:00
README.md init 2025-08-22 02:04:48 +02:00
waffles.lua init 2025-08-22 02:04:48 +02:00

Interoperability

The interoperability files (short i14n files) are supposed to be used as fallback created within Hunger NG when a mod author can not or will not add support for Hunger NG in their mod for whatever reason.

Hunger NG is meant to be used as library/API by other mods. The i14n files should not be seen as the first solution if in is desirable that another mod in some way interacts with Hunger NG (hunger definition in food items, for example).

Before an i14y file will be added the following things have to be checked/done.

  1. Maybe informally contact the original mod author in the mods forum thread and point them to the Hunger NG API definition and ask them to look at this and if they want to add support.
  2. Formally file an issue/ticket in the mods VCS or issue-tracker or proactively create a pull request at the mods VCS adding support for Hunger NG there.
  3. If you are a server owner the easiest would be creating an interoperability mod depending on both the original mod and hunger_ng and incorporate the Hunger NG API on your own. Its actually quite simple. The i14y files to exactly the same. See the i14y section of the API) for more details on API things dedicated to the i14y functionality in addition to the regular API calls.
  4. Create a pull request on Hunger NG adding the desired support. Important note: The i14y code has to be self-contained within the corresponding i14y file. No code, files, or configuration outside the i14y file will be added. Hunger NG is a library/API providing hunger functionality. Interoperability with other mods is just an additional fallback solution if original mod authors wont add support to their mods.
  5. Start a discussion in the CDB requesting interoperability with a specific mods giving as much information as possible (name, author, link to forum and VCS, optimally the item ID to add support for) and not just the mods name and “please add” 😊

Go through the list from 1 to 5. Advance by 1 step if the previous step did not result in anything\ or is not desirable.