mod settings prototypes in the json docs

Place to report issues and suggest improvements to the API documentation.
Post Reply
sparr
Smart Inserter
Smart Inserter
Posts: 1360
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

mod settings prototypes in the json docs

Post 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.

Post Reply

Return to “Documentation Improvement Requests”