🌱
The Insurgent's Forge
  • Home
  • Getting Started
    • Setup
    • Resources
  • Overview
    • Configuration
      • Formulas
      • Functions
      • Classes
      • Helpers
      • Assemblies
      • Middlewares
      • Dependencies
      • Options
      • Errors
    • Improvements & Additions
    • Structures & Parameters
    • Formula Workflow
      • Combo
      • Counter
      • Area of Effect
      • Reserve Party Member
      • Reflect
      • Mist
      • Trap
      • Chain Benefit
      • Summon
      • Spawn
      • Gambit
    • Limitations
      • Animations
      • Status Effects & Augments
    • Notes
      • Flags
      • Loops
      • Function in a Function
    • Helpers
      • Add Augment
      • Add Status Effect
      • Apply Knockback
      • Get Active Party Member
      • Get Action Status Effects
      • Get Augment Duration
      • Get Battle Unit Keep
      • Get Battle Unit Keep By Focus
      • Get Battle Unit Work
      • Get Character Max Hp
      • Get Character Max Mp
      • Get Character Type
      • Get Elemental Affinities Match
      • Get Equipment Status Effects
      • Get Forced Poach Rarity
      • Get Forced Steal Rarity
      • Get Formula Proc Keep
      • Get Knockback Range
      • Get Location Mist Strength
      • Get Model Evade Types
      • Get One Hit Kill State
      • Get Random Number
      • Get Reflect Target
      • Get Remedy Status Effects
      • Get Status Effect Duration
      • Get Status Effect Tick Duration
      • Get Status Effects Match
      • Get Terrain Type
      • Get Weather
      • Is Interactable
      • Modify Content
      • Modify Gil
      • Modify Hp
      • Modify Mist Charges
      • Modify Mp
      • Modify Sky Pirates Den Stats
      • Refresh Stats
      • Remove Augment
      • Remove Status Effect
      • Set Level
      • Shift Elements
      • Show Combat Log
      • Show Number Text
      • Teleport Location
  • Support & Updates
    • Changelogs
      • Version 1.0.3
      • Version 1.0.2
      • Version 1.0.1
      • Version 1.0.0
    • Known Issues
    • FAQ
Powered by GitBook
On this page
  • Description
  • Notes
  1. Overview
  2. Configuration

Options

Description

All of the previously mentioned configuration files are by default only loaded once the game is started.

To assist you in testing your work without having to restart the game every time you make a change, there are several options available that allow you to refresh your modified configuration files while the game is open.

These options are all loaded from the {game}/x64/scripts/TheInsurgentsForge/options.lua file when opening the game.

The following configuration is the default:

local configStates = {
  refreshFormulas = false,
  refreshFunctions = false,
  refreshClasses = false,
  refreshHelpers = false,
  refreshAssemblies = false,
  refreshMiddlewares = false
}

return configStates

Below is a list of all configurable options and what they are used for:

Option
Description

Refresh Formulas

Reload formulas.lua if modified.

Refresh Functions

Reload functions/{id}.lua if modified.

Refresh Classes

Reload classes.lua and classes/{name}.lua if modified.

Refresh Helpers

Reload helpers.lua and helpers/{name}.lua if modified.

Refresh Assemblies

Reload assemblies.lua and assemblies/{name}.lua if modified.

Refresh Middlewares

Reload middlewares.lua if modified.

To enable an option, set their state to true, and to disable it, set it to false.

Notes

If a formula function, helper, etc. is reloaded, the references to it in other files are not automatically updated as the dependencies are unknown at that point. To ensure these files use the updated reference, they must be also be reloaded, for example by refreshing the file name list.

If a formula function, helper, etc. in the configuration files couldn't be loaded (e.g. due to syntax errors), the last one that could be will be used instead. If there never was one, the one in the main files will be used instead. If there never was one again, the formula function, helper, etc. will be removed completely unless the file is still listed in the related file name list in which case an error will be shown instead.

Files are checked every second and only loaded if their modification date is different.

PreviousDependenciesNextErrors

Last updated 11 months ago