@@ -21,6 +21,7 @@ print("Loading data tables..")
2121
2222-- p denotes probability, always.
2323local O = 0
24+ -- luacheck:global
2425job_distributions = {
2526 Thresholds = { 7 , 14 , 21 , 28 , 30 , 35 , 42 , 49 , 56 , 63 , 70 , 77 , 80 , 110 , 1000 }, -- Don't touch unless you wanna recalculate the distributions,
2627 _Grunt = { O , 1 , 2 , O , O , 1 , 2 , O , 4 , 1 , 1 , 4 , O , 10 , 880 ; cur = 0 ; max = nil },
@@ -74,6 +75,7 @@ Stat Rolling:
7475
7576
7677-- probability is used for generating all dwarf stats, some jobs include dorf_types which will upgrade particular stats
78+ -- luacheck:global
7779attrib_levels = { -- prob, avg, std deviation
7880 incompetent = {p = 0.01 , 100 , 20 },
7981 verybad = {p = 0.02 , 250 , 25 },
@@ -98,6 +100,7 @@ dorf_jobs = {
98100 and also the probability that the profession will be applied during the algorithm's execution.
99101}
100102--]]
103+ -- luacheck:global
101104jobs = {
102105 _Grunt = {
103106 req = {' RECRUIT' }, max = {1988 },
@@ -183,6 +186,7 @@ jobs = {
183186 types = {' genius3' ,' intuitive2' ,' leader' }}
184187}
185188
189+ -- luacheck:global
186190professions = {
187191-- Basic Dwarfing
188192 MINER = { skills = {MINING = 3 } },
@@ -288,6 +292,7 @@ professions = {
288292}
289293
290294-- probability is used for randomly applying types to any and all dwarves
295+ -- luacheck:global
291296types = {
292297 resilient1 = {
293298 p = 0.2 ,
0 commit comments