PAGE 03 OF 06 · INSTALLATION → CONFIGURATION → EXAMPLESdocs.glitchstudios.dev
Browse docs
Everything is in config.lua, which is open in the escrow and safe to edit. config.generic.example.lua holds neutral starting values and is not loaded by the resource.
Resources whose payouts count as legal pay. Payouts through glitch-abstraction are matched on the resource named in their reason.
Config.TaxedReasons
Reason patterns that are always taxed. Default { '^paycheck' }.
Config.UntaxedReasons
Reason patterns that are never taxed. Keep state%-industry in this list: the lever bonus the treasury pays itself goes through AddMoney again and would be taxed in a loop.
Config.PublicJobs
Jobs whose paychecks are government wages. All other jobs are treated as business pay and subsidised.
Set a name to false to turn that integration off. dealer needs an export GetPlayerPrice(model). rentals needs a SQL table glitch_rentals with a plate column. businessTablet needs an export CreditGrant(job, citizenid, amount, why, orderNumber).
Config.Meta holds the standalone values for the glitch-gov data: industry, pay, bankruptFloor (default 0) and bankruptPay (default 100, the percentage of public wages paid while bankrupt).