Craftels API

Craftels API

This mod is an API for Project zomboid like "Craftels" (Moodles)

29 downloads
1 followers

Craftels is an API for Craftels They are simple to understand little Moodle like things (Project zomboid) This mod is a API that lets you define, add, remove, set the level of, detect the level of them. The mod itself does not add anything new, its main goal is to create a easy to use platform for statuses, these could be anything really, such as:

  • Broken bones
  • The curse of Ra
  • Ilness
  • Being soaked with water.
  • And more!

And for those who are datapack makers, we have stuff for you too! This mod supports datapack usage, allowing you to define your own Craftels using the JSON format.

Here is an example:

{
  "order": 100,
  "persist_through_death": false,
  "levels": [
    {
      "name": "Chilly",
      "description": "You are starting to get cold.",
      "icon": "craftels:screens/chilly"
    },
    {
      "name": "Cold",
      "description": "The cold is creeping into your body.",
      "icon": "craftels:screens/cold"
    },
    {
      "name": "Freezing",
      "description": "Your body is freezing over.",
      "icon": "craftels:screens/freezing"
    },
    {
      "name": "Permafrost",
      "description": "You have become one with the frost.",
      "icon": "craftels:screens/permafrost"
    }
  ]
}

For developers, documentation is here: https://docs.google.com/document/d/1oM0Q5EtMGI4bMfwfkeuM5qrM4tWpCTkSfktRg18-_yM/edit?usp=sharing

No gallery available for this project.