Page 1 of 1

mod settings prototypes in the json docs

Posted: Wed Sep 11, 2024 1:48 am
by sparr
The Factorio Modding Toolkit can't type check mod settings like this:

Code: Select all

{
      type          = "int-setting",
      name          = "my-mod-setting",
      setting_type  = "runtime-per-user",
      default_value = -1,
      minimum_value = -1,
      maximum_value = 7,
}
Seemingly because prototype-api.json doesn't have a type description for this table. Requesting these be added.