Debian Codegraph @

CorsixTH/Lua/base_config.lua

raw
1 --[[ Copyright (c) 2010 Edvin "Lego3" Linge
2
3 Permission is hereby granted, free of charge, to any person obtaining a copy of
4 this software and associated documentation files (the "Software"), to deal in
5 the Software without restriction, including without limitation the rights to
6 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7 of the Software, and to permit persons to whom the Software is furnished to do
8 so, subject to the following conditions:
9
10 The above copyright notice and this permission notice shall be included in all
11 copies or substantial portions of the Software.
12
13 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 SOFTWARE. --]]
20
21 -- To keep in line with the original, tables start their indexing at 0.
22 -- NOTE: This makes index iterations over tables omit the first element!
23 local configuration = {
24
25 -----------------------------------------------------------
26 -- New configuration values added in CorsixTH --
27 -----------------------------------------------------------
28 -- Interest rate and overdraft interest rate differential values will
29 -- be divided by 10,000
30 town = {
31 InterestRate = 100,
32 StartCash = 40000,
33 StartRep = 500,
34 OverdraftDiff = 200,
35 },
36
37 -- New value, but should only be defined if starting staff is included.
38 --start_staff = {
39 -- {Doctor = 0, Shrink = 0, Skill = 0},
40 --},
41
42 -- Maximum salary value, staff will no longer become unhappy at this stage
43 payroll = {
44 MaxSalary = 2000,
45 },
46
47 -----------------------------------------------------------
48 -- Original configuration values --
49 -----------------------------------------------------------
50 staff = {
51 [0] = {MinSalary = 60}, -- Nurse
52 {MinSalary = 75}, -- Doctor
53 {MinSalary = 25}, -- Handyman
54 {MinSalary = 20}, -- Receptionist
55 },
56 gbv = {
57 SalaryAdd = {
58 {},
59 {},
60 -30, -- Junior
61 30, -- Doctor
62 40, -- Surgeon
63 30, -- Psychiatrist
64 100, -- Consultant
65 20, -- Research
66 },
67 -- Divides ability to find an extra salary addition. must be > 0
68 SalaryAbilityDivisor = 10,
69 -- Divides research input to arrive at research points. must be > 0
70 ResearchPointsDivisor = 5,
71 -- When a drug is researched what rating does it have
72 StartRating = 100,
73 -- When a drug is researched how much does it cost
74 StartCost = 100,
75 -- Minimum Drug Cost
76 MinDrugCost = 50,
77 -- If contagious how much - rand up to this figure. higher = more contagious. must be > 0
78 HowContagious = 25,
79 -- 0-100 Higher equals more chance of spreading.
80 ContagiousSpreadFactor = 25,
81 -- Reduce cont illnesses until X months have passed
82 ReduceContMonths = 14,
83 -- Reduce cont illnesses until X peep have arrived
84 ReduceContPeepCount = 20,
85 -- Rate to reduce cont illneses to - 0 means do not produce contagious illnesses at all
86 ReduceContRate = 0,
87 -- Hold all visual illnesses until x months. 0 never hold
88 HoldVisualMonths = 2,
89 -- Hold all visual illnesses until x peeps have arrived. 0 never hold
90 HoldVisualPeepCount = 6,
91 -- Maximum strength value an object can be improved to (by research)
92 MaxObjectStrength = 20,
93 -- Increase object strength by this amount when researching
94 ResearchIncrement = 2,
95 -- x Start Score for level = ceiling for normal score increases (2 dp)
96 ScoreMaxInc = 300,
97 -- Cost per vaccination
98 VacCost = 50,
99 -- If epidemic coverup fails - how much per person you are fined max 20000
100 EpidemicFine = 2000,
101 -- If an epidemic coverup succeeds how much compensation is received - lo value
102 EpidemicCompLo = 1000,
103 -- If an epidemic coverup succeeds how much compensation is received - hi value max 20000
104 EpidemicCompHi = 15000,
105 -- How many patients still infected cause a reputation loss as well as a fine if less than EpidemicEvacMinimum then ignored
106 EpidemicRepLossMinimum = 5,
107 -- How many patients still infected and not-cured cause the hospital to be evacuated
108 EpidemicEvacMinimum = 10,
109 --How many epidemics can exists at the same time - both active and quietly in the background
110 EpidemicConcurrentLimit = 1,
111 -- % of research completed for an autopsy
112 AutopsyRschPercent = 33,
113 -- % rep hit for discovered autopsy
114 AutopsyRepHitPercent = 25,
115 -- Frequency of Mayor visits. Lower is more frequent.
116 MayorLaunch = 150,
117 -- Add to student doctor's ability when being taught MIN 1 MAX 255
118 TrainingRate = 40,
119 -- MIN 1 MAX 100 (Percentage)
120 DrugImproveRate = 5,
121 -- How many months until population allocation is done for real
122 AllocDelay = 3,
123
124 AbilityThreshold = {
125 [0] = {Value = 75}, -- SURGEON
126 {Value = 60}, -- PSYCHIATRIST
127 {Value = 45}, -- RESEARCHER
128 },
129 TrainingValue = {
130 [0] = {Value = 10}, -- Projector
131 {Value = 15}, -- Skeleton
132 {Value = 20}, -- Bookcase
133 },
134 -- >This value gives doctor
135 DoctorThreshold = 250,
136 -- >This value gives consultant
137 ConsultantThreshold = 750,
138 -- % of original rsch cost required to improve
139 RschImproveCostPercent = 10,
140 -- %-point increase in improve cost per improvement
141 RschImproveIncrementPercent = 10,
142 -- Per mille point of attribute fatigue to be just tired (hospital policy "go to staffroom")
143 Tired = 600,
144 -- Per mille point of attribute fatigue to be very tired
145 VeryTired = 700,
146 -- Per mille point of attribute fatigue to be crack up (extremely) tired
147 CrackUpTired = 800,
148 -- How much soda costs at a drinks machine
149 SodaPrice = 20,
150 },
151
152 towns = {
153 {StartCash = 40000, InterestRate = 100, StartRep = 500, OverdraftDiff = 200}, -- Level 1
154 {StartCash = 40000, InterestRate = 200, StartRep = 500, OverdraftDiff = 200}, -- Level 2
155 {StartCash = 50000, InterestRate = 300, StartRep = 500, OverdraftDiff = 200}, -- Level 3
156 {StartCash = 50000, InterestRate = 400, StartRep = 500, OverdraftDiff = 200}, -- Level 4
157 {StartCash = 50000, InterestRate = 500, StartRep = 500, OverdraftDiff = 200}, -- Level 5
158 {StartCash = 50000, InterestRate = 600, StartRep = 500, OverdraftDiff = 200}, -- Level 6
159 {StartCash = 50000, InterestRate = 700, StartRep = 500, OverdraftDiff = 200}, -- Level 7
160 {StartCash = 60000, InterestRate = 700, StartRep = 500, OverdraftDiff = 200}, -- Level 8
161 {StartCash = 60000, InterestRate = 800, StartRep = 500, OverdraftDiff = 200}, -- Level 9
162 {StartCash = 60000, InterestRate = 800, StartRep = 500, OverdraftDiff = 200}, -- Level 10
163 {StartCash = 70000, InterestRate = 900, StartRep = 500, OverdraftDiff = 200}, -- Level 11
164 {StartCash = 70000, InterestRate = 900, StartRep = 500, OverdraftDiff = 200}, -- Level 12
165 {StartCash = 70000, InterestRate = 900, StartRep = 500, OverdraftDiff = 200}, -- Level 12
166 },
167 popn = {
168 [0] = {Month = 0, Change = 4}, -- Standard: 4 patients the first month.
169 [1] = {Month = 1, Change = 1}, -- Then increase by one per month.
170 [2] = {Month = 27, Change = 0}, -- Cap at 30, or population will go crazy.
171 },
172 expertise = {
173 {StartPrice = 100, Known = 1, RschReqd = 0}, -- GENERAL_PRACTICE
174 {StartPrice = 850, Known = 0, RschReqd = 40000, MaxDiagDiff = 700}, -- BLOATY_HEAD
175 {StartPrice = 1150, Known = 0, RschReqd = 40000, MaxDiagDiff = 250}, -- HAIRYITUS
176 {StartPrice = 1600, Known = 0, RschReqd = 60000, MaxDiagDiff = 250}, -- ELVIS
177 {StartPrice = 1400, Known = 0, RschReqd = 60000, MaxDiagDiff = 250}, -- INVIS
178 {StartPrice = 1800, Known = 0, RschReqd = 60000, MaxDiagDiff = 250}, -- RADIATION
179 {StartPrice = 900, Known = 0, RschReqd = 40000, MaxDiagDiff = 250}, -- SLACK_TONGUE
180 {StartPrice = 2000, Known = 0, RschReqd = 60000, MaxDiagDiff = 350}, -- ALIEN
181 {StartPrice = 450, Known = 0, RschReqd = 20000, MaxDiagDiff = 250}, -- BROKEN_BONES
182 {StartPrice = 950, Known = 0, RschReqd = 40000, MaxDiagDiff = 250}, -- BALDNESS
183 {StartPrice = 700, Known = 0, RschReqd = 40000, MaxDiagDiff = 700}, -- DISCRETE_ITCHING
184 {StartPrice = 1000, Known = 0, RschReqd = 40000, MaxDiagDiff = 1000}, -- JELLYITUS
185 {StartPrice = 750, Known = 0, RschReqd = 40000, MaxDiagDiff = 700}, -- SLEEPING_ILLNESS
186 {StartPrice = 0, Known = 0, RschReqd = 5000, MaxDiagDiff = 400}, -- PREGNANT
187 {StartPrice = 800, Known = 0, RschReqd = 40000, MaxDiagDiff = 350}, -- TRANSPARENCY
188 {StartPrice = 300, Known = 0, RschReqd = 20000, MaxDiagDiff = 350}, -- UNCOMMON_COLD
189 {StartPrice = 1300, Known = 0, RschReqd = 60000, MaxDiagDiff = 1000}, -- BROKEN_WIND
190 {StartPrice = 1100, Known = 0, RschReqd = 20000, MaxDiagDiff = 350}, -- SPARE_RIBS
191 {StartPrice = 1050, Known = 0, RschReqd = 20000, MaxDiagDiff = 700}, -- KIDNEY_BEANS
192 {StartPrice = 1900, Known = 0, RschReqd = 20000, MaxDiagDiff = 700}, -- BROKEN_HEART
193 {StartPrice = 1600, Known = 0, RschReqd = 20000, MaxDiagDiff = 700}, -- RUPTURED_NODULES
194 {StartPrice = 800, Known = 0, RschReqd = 40000, MaxDiagDiff = 350}, -- MULTIPLE_TV_PERSONALITIES
195 {StartPrice = 1500, Known = 0, RschReqd = 60000, MaxDiagDiff = 350}, -- INFECTIOUS_LAUGHTER
196 {StartPrice = 800, Known = 0, RschReqd = 40000, MaxDiagDiff = 700}, -- CORRUGATED_ANKLES
197 {StartPrice = 800, Known = 0, RschReqd = 40000, MaxDiagDiff = 700}, -- CHRONIC_NOSEHAIR
198 {StartPrice = 550, Known = 0, RschReqd = 40000, MaxDiagDiff = 700}, -- 3RD_DEGREE_SIDEBURNS
199 {StartPrice = 800, Known = 0, RschReqd = 40000, MaxDiagDiff = 350}, -- FAKE_BLOOD
200 {StartPrice = 650, Known = 0, RschReqd = 40000, MaxDiagDiff = 700}, -- GASTRIC_EJECTIONS
201 {StartPrice = 400, Known = 0, RschReqd = 20000, MaxDiagDiff = 1000}, -- THE_SQUITS
202 {StartPrice = 1700, Known = 0, RschReqd = 20000, MaxDiagDiff = 700}, -- IRON_LUNGS
203 {StartPrice = 600, Known = 0, RschReqd = 40000, MaxDiagDiff = 1000}, -- SWEATY_PALMS
204 {StartPrice = 400, Known = 0, RschReqd = 20000, MaxDiagDiff = 700}, -- HEAPED_PILES
205 {StartPrice = 350, Known = 0, RschReqd = 20000, MaxDiagDiff = 1000}, -- GUT_ROT
206 {StartPrice = 1600, Known = 0, RschReqd = 20000, MaxDiagDiff = 700}, -- GOLF_STONES
207 {StartPrice = 500, Known = 0, RschReqd = 20000, MaxDiagDiff = 700}, -- UNEXPECTED_SWELLING
208 {StartPrice = 300, Known = 0, RschReqd = 40000}, -- I_D_SCANNER
209 {StartPrice = 250, Known = 0, RschReqd = 50000}, -- I_D_BLOOD_MACHINE DIAGNOSIS
210 {StartPrice = 150, Known = 0, RschReqd = 20000}, -- I_D_CARDIO DIAGNOSIS
211 {StartPrice = 200, Known = 0, RschReqd = 30000}, -- I_D_XRAY DIAGNOSIS
212 {StartPrice = 250, Known = 0, RschReqd = 60000}, -- I_D_ULTRASCAN DIAGNOSIS
213 {StartPrice = 150, Known = 0, RschReqd = 20000}, -- I_D_STANDARD DIAGNOSIS
214 {StartPrice = 100, Known = 0, RschReqd = 20000}, -- I_D_WARD DIAGNOSIS
215 {StartPrice = 200, Known = 0, RschReqd = 20000}, -- I_D_SHRINK DIAGNOSIS
216 {StartPrice = 500, Known = 0, RschReqd = 15000}, -- I_X_RESEARCH virtual treatment,auto autopsy
217 {StartPrice = 500, Known = 0, RschReqd = 30000}, -- I_X_MIXER virtual treatment,atom analyser
218 {StartPrice = 500, Known = 0, RschReqd = 30000}, -- I_X_COMPUTER virtual treatment,research computer
219 },
220 objects = {
221 {StartCost = 100, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 1 Desk
222 {StartCost = 100, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 2 Cabinet
223 {StartCost = 0, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 3 Door
224 {StartCost = 40, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 4 Bench
225 {StartCost = 60, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 5 Table
226 {StartCost = 20, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 6 Chair
227 {StartCost = 500, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 7 Drinks
228 {StartCost = 200, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 8 Bed
229 {StartCost = 2500, StartAvail = 0, WhenAvail = 0, StartStrength = 8, AvailableForLevel = 0}, -- 9 Inflator Machine
230 {StartCost = 150, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 10 Snooker Table
231 {StartCost = 150, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 11 New Receptionists Station
232 {StartCost = 5, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 12 Build Room Trestle Table
233 {StartCost = 1000, StartAvail = 0, WhenAvail = 0, StartStrength = 13, AvailableForLevel = 0}, -- 13 Cardiogram
234 {StartCost = 5000, StartAvail = 0, WhenAvail = 0, StartStrength = 12, AvailableForLevel = 0}, -- 14 Scanner
235 {StartCost = 3000, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 15 Scanner Console
236 {StartCost = 30, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 16 Screen
237 {StartCost = 5000, StartAvail = 0, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 0}, -- 17 Jukebox
238 {StartCost = 100, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 18 Couch
239 {StartCost = 150, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 19 Sofa
240 {StartCost = 250, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 20 Crash Trolley
241 {StartCost = 50, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 21 TV set
242 {StartCost = 6000, StartAvail = 0, WhenAvail = 0, StartStrength = 9, AvailableForLevel = 0}, -- 22 Ultrascan
243 {StartCost = 10000, StartAvail = 0, WhenAvail = 0, StartStrength = 7, AvailableForLevel = 0}, -- 23 DNA Restorer
244 {StartCost = 2000, StartAvail = 0, WhenAvail = 0, StartStrength = 11, AvailableForLevel = 0}, -- 24 Cast Remover
245 {StartCost = 1000, StartAvail = 0, WhenAvail = 0, StartStrength = 8, AvailableForLevel = 0}, -- 25 Hair restorer
246 {StartCost = 1500, StartAvail = 0, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 0}, -- 26 Slicer for slack tongues
247 {StartCost = 4000, StartAvail = 0, WhenAvail = 0, StartStrength = 12, AvailableForLevel = 0}, -- 27 X-Ray
248 {StartCost = 2000, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 28 Radiation Shield
249 {StartCost = 500, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 29 X-Ray Viewer
250 {StartCost = 5000, StartAvail = 0, WhenAvail = 0, StartStrength = 12, AvailableForLevel = 0}, -- 30 Operating Table
251 {StartCost = 2000, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 31 Lamp
252 {StartCost = 30, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 32 Bathroom Sink
253 {StartCost = 50, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 33 Op Sink 1
254 {StartCost = 50, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 34 Op Sink 2
255 {StartCost = 200, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 35 Surgeon Screen
256 {StartCost = 50, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 36 Lecture Chair
257 {StartCost = 100, StartAvail = 0, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 0}, -- 37 Projector
258 {StartCost = 200, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 38 Bed Screen Open
259 {StartCost = 1000, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 39 Pharmacy Cabinet
260 {StartCost = 5000, StartAvail = 0, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 0}, -- 40 Research Computer
261 {StartCost = 10000, StartAvail = 0, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 0}, -- 41 Chemical Mixer
262 {StartCost = 3000, StartAvail = 0, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 0}, -- 42 Blood Machine
263 {StartCost = 25, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 43 Fire Extinguisher
264 {StartCost = 20, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 44 Radiator
265 {StartCost = 5, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 45 Plant1
266 {StartCost = 3500, StartAvail = 0, WhenAvail = 0, StartStrength = 8, AvailableForLevel = 0}, -- 46 Electrolysis Machine
267 {StartCost = 6500, StartAvail = 0, WhenAvail = 0, StartStrength = 7, AvailableForLevel = 0}, -- 47 Jellyitus Moulding Machine
268 {StartCost = 0, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 48 Gates to Hell
269 {StartCost = 200, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 49 Bed Screen Closed
270 {StartCost = 5, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 50 Bin
271 {StartCost = 300, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 51 Toilet
272 {StartCost = 0, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 52 Double Door Part #1
273 {StartCost = 0, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 53 Double Door Part #2
274 {StartCost = 6500, StartAvail = 0, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 0}, -- 54 Decontamination Shower
275 {StartCost = 4000, StartAvail = 0, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 0}, -- 55 Autopsy Research Machine
276 {StartCost = 350, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 56 Bookcase
277 {StartCost = 200, StartAvail = 0, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 0}, -- 57 Video Game
278 {StartCost = 0, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 58 Entrance Left Door
279 {StartCost = 0, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 59 Entrance Right Door
280 {StartCost = 450, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 60 Skeleton
281 {StartCost = 100, StartAvail = 1, WhenAvail = 0, StartStrength = 10, AvailableForLevel = 1}, -- 61 Comfy Chair
282 },
283 -- Cost for the room itself without any objects.
284 -- For some reason it starts at 7,
285 -- but that must be retained in order to work with the original.
286 rooms = {
287 [7] = {Cost = 2280}, -- GP_OFFICE
288 [8] = {Cost = 2270}, -- PSYCHO
289 [9] = {Cost = 1700}, -- WARD
290 [10] = {Cost = 2250}, -- OP_THEATRE
291 [11] = {Cost = 500}, -- PHARMACY
292 [12] = {Cost = 470}, -- CARDIO
293 [13] = {Cost = 3970}, -- SCANNER
294 [14] = {Cost = 2000}, -- ULTRASCAN
295 [15] = {Cost = 3000}, -- BLOOD_MACHINE
296 [16] = {Cost = 2000}, -- XRAY
297 [17] = {Cost = 1500}, -- INFLATOR
298 [18] = {Cost = 7000}, -- ALIEN
299 [19] = {Cost = 500}, -- HAIR_RESTORER
300 [20] = {Cost = 1500}, -- SLACK_TONGUE
301 [21] = {Cost = 500}, -- FRACTURE
302 [22] = {Cost = 1850}, -- TRAINING
303 [23] = {Cost = 500}, -- ELECTRO
304 [24] = {Cost = 4500}, -- JELLY_VAT
305 [25] = {Cost = 1350}, -- STAFF ROOM
306 [26] = {Cost = 5}, -- TV ??
307 [27] = {Cost = 720}, -- GENERAL_DIAG
308 [28] = {Cost = 800}, -- RESEARCH
309 [29] = {Cost = 1170}, -- TOILETS
310 [30] = {Cost = 5500}, -- DECON_SHOWER
311 },
312 visuals = {
313 [0] = {Value = 0}, -- I_BLOATY_HEAD
314 {Value = 0}, -- I_HAIRYITUS
315 {Value = 0}, -- I_ELVIS
316 {Value = 0}, -- I_INVIS
317 {Value = 0}, -- I_RADIATION
318 {Value = 0}, -- I_SLACK_TONGUE
319 {Value = 0}, -- I_ALIEN
320 {Value = 0}, -- I_BROKEN_BONES
321 {Value = 0}, -- I_BALDNESS
322 {Value = 0}, -- I_DISCRETE_ITCHING
323 {Value = 0}, -- I_JELLYITUS
324 {Value = 0}, -- I_SLEEPING_ILLNESS
325 {Value = 0}, -- I_PREGNANT
326 {Value = 0}, -- I_TRANSPARENCY
327 },
328 non_visuals = {
329 [0] = {Value = 0}, -- I_UNCOMMON_COLD
330 {Value = 0}, -- I_BROKEN_WIND
331 {Value = 0}, -- I_SPARE_RIBS
332 {Value = 0}, -- I_KIDNEY_BEANS
333 {Value = 0}, -- I_BROKEN_HEART
334 {Value = 0}, -- I_RUPTURED_NODULES
335 {Value = 0}, -- I_MULTIPLE_TV_PERSONALITIES
336 {Value = 0}, -- I_INFECTIOUS_LAUGHTER
337 {Value = 0}, -- I_CORRUGATED_ANKLES
338 {Value = 0}, -- I_CHRONIC_NOSEHAIR
339 {Value = 0}, -- I_3RD_DEGREE_SIDEBURNS
340 {Value = 0}, -- I_FAKE_BLOOD
341 {Value = 0}, -- I_GASTRIC_EJECTIONS
342 {Value = 0}, -- I_THE_SQUITS
343 {Value = 0}, -- I_IRON_LUNGS
344 {Value = 0}, -- I_SWEATY_PALMS
345 {Value = 0}, -- I_HEAPED_PILES
346 {Value = 0}, -- I_GUT_ROT
347 {Value = 0}, -- I_GOLF_STONES
348 {Value = 0}, -- I_UNEXPECTED_SWELLING
349 },
350 visuals_available = {
351 [0] = {Value = 0}, -- I_BLOATY_HEAD
352 {Value = 12}, -- I_HAIRYITUS
353 {Value = 3}, -- I_ELVIS
354 {Value = 12}, -- I_INVIS
355 {Value = 18}, -- I_RADIATION
356 {Value = 6}, -- I_SLACK_TONGUE
357 {Value = 0}, -- I_ALIEN
358 {Value = 6}, -- I_BROKEN_BONES
359 {Value = 12}, -- I_BALDNESS
360 {Value = 0}, -- I_DISCRETE_ITCHING
361 {Value = 18}, -- I_JELLYITUS
362 {Value = 0}, -- I_SLEEPING_ILLNESS
363 {Value = 0}, -- I_PREGNANT
364 {Value = 6}, -- I_TRANSPARENCY
365 },
366 -- New feature, by default non-visual illnesses were always available
367 -- at the start
368 non_visuals_available = {
369 [0] = {Value = 0}, -- I_UNCOMMON_COLD
370 {Value = 0}, -- I_BROKEN_WIND
371 {Value = 0}, -- I_SPARE_RIBS
372 {Value = 0}, -- I_KIDNEY_BEANS
373 {Value = 0}, -- I_BROKEN_HEART
374 {Value = 0}, -- I_RUPTURED_NODULES
375 {Value = 0}, -- I_MULTIPLE_TV_PERSONALITIES
376 {Value = 0}, -- I_INFECTIOUS_LAUGHTER
377 {Value = 0}, -- I_CORRUGATED_ANKLES
378 {Value = 0}, -- I_CHRONIC_NOSEHAIR
379 {Value = 0}, -- I_3RD_DEGREE_SIDEBURNS
380 {Value = 0}, -- I_FAKE_BLOOD
381 {Value = 0}, -- I_GASTRIC_EJECTIONS
382 {Value = 0}, -- I_THE_SQUITS
383 {Value = 0}, -- I_IRON_LUNGS
384 {Value = 0}, -- I_SWEATY_PALMS
385 {Value = 0}, -- I_HEAPED_PILES
386 {Value = 0}, -- I_GUT_ROT
387 {Value = 0}, -- I_GOLF_STONES
388 {Value = 0}, -- I_UNEXPECTED_SWELLING
389 },
390
391 win_criteria = {
392 [0] = {Criteria = 0, MaxMin = 0, Value = 0, Group = 0, Bound = 0},
393 {Criteria = 0, MaxMin = 0, Value = 0, Group = 0, Bound = 0},
394 {Criteria = 0, MaxMin = 0, Value = 0, Group = 0, Bound = 0},
395 {Criteria = 0, MaxMin = 0, Value = 0, Group = 0, Bound = 0},
396 {Criteria = 0, MaxMin = 0, Value = 0, Group = 0, Bound = 0},
397 {Criteria = 0, MaxMin = 0, Value = 0, Group = 0, Bound = 0},
398 },
399 lose_criteria = {
400 [0] = {Criteria = 0, MaxMin = 0, Value = 0, Group = 0, Bound = 0},
401 {Criteria = 0, MaxMin = 0, Value = 0, Group = 0, Bound = 0},
402 {Criteria = 0, MaxMin = 0, Value = 0, Group = 0, Bound = 0},
403 {Criteria = 0, MaxMin = 0, Value = 0, Group = 0, Bound = 0},
404 {Criteria = 0, MaxMin = 0, Value = 0, Group = 0, Bound = 0},
405 {Criteria = 0, MaxMin = 0, Value = 0, Group = 0, Bound = 0},
406 },
407
408 staff_levels = {
409 [0] = {Month = 0, Nurses = 8, Doctors = 8, Handymen = 3, Receptionists = 2,
410 ShrkRate = 10, SurgRate = 10, RschRate = 10, ConsRate = 10, JrRate = 5},
411 },
412
413 emergency_control = {
414 [0] = {StartMonth = 0, EndMonth = 0, Min = 0, Max = 0, Illness = 0, PercWin = 0, Bonus = 0},
415 },
416 computer = {
417 [0] = {Playing = 0, Name = "ORAC"},
418 {Playing = 0, Name = "COLOSSUS"},
419 {Playing = 0, Name = "HAL"},
420 {Playing = 0, Name = "MULTIVAC"},
421 {Playing = 0, Name = "HOLLY"},
422 {Playing = 0, Name = "DEEP THOUGHT"},
423 {Playing = 0, Name = "ZEN"},
424 {Playing = 0, Name = "SKYNET"},
425 {Playing = 0, Name = "MARVIN"},
426 {Playing = 0, Name = "CEREBRO"},
427 {Playing = 0, Name = "MOTHER"},
428 {Playing = 0, Name = "JAYNE"},
429 {Playing = 0, Name = "CORSIX"},
430 {Playing = 0, Name = "ROUJIN"},
431 {Playing = 0, Name = "EDVIN"},
432 },
433 awards_trophies = {
434
435 -- Trophy win conditions
436 -- Kill more than this number of rats in a year to win this award
437 -- MIN 0
438 RatKillsAbsolute = 25,
439 -- Sell more than this number of cans to win the award MIN 0
440 CansofCoke = 100,
441 -- If player's reputation is >x all through the year then win trophy MIN 0 MAX 1000
442 Reputation = 400,
443 -- Percentage - keep your plants >x or more watered MIN 0 MAX 100
444 Plant = 80,
445 -- Percentage - keep mean staff happiness >x throughout the year to win the trophy
446 -- MIN 0 MAX 100
447 TrophyStaffHappiness = 85,
448 -- Percentage - Rats shot:Rats killed - only valid if player kills at least
449 -- half the number of rats needed to win the other rats trophy
450 RatKillsPercentage = 11,
451 -- TODO: this one is hard to understand! percentage of what exactly?
452 -- Percentage (0-100) low is good needs at 2 mayor visits to be triggered
453 -- So for now, it is super visits that will trigger this prize
454 -- Please all of the VIPs that visit your hospital during the year
455 -- you will have to get a super feedback for each visit
456 -- TrophyMayor = 25,
457
458 -- Trophy win bonuses
459
460 -- Bonus - MIN 0 MAX 255 (REP BONUS) REP BONUSES ARE NOW PERCENTAGES
461 RatKillsAbsoluteBonus = 5,
462 -- Bonus - MIN 0 MAX 65535 (MONEY BONUS)
463 RatKillsPercentageBonus = 5000,
464 -- Bonus - MIN 0 (MONEY BONUS)
465 CansofCokeBonus = 1000,
466 -- Bonus - MIN 0 (MONEY BONUS)
467 TrophyReputationBonus = 2000,
468 -- Bonus - MIN 0 MAX 255 (REP BONUS)
469 PlantBonus = 5,
470 -- Bonus - MIN 0 MAX 255 (REP BONUS)
471 TrophyStaffHappinessBonus = 5,
472 -- Bonus to money for curing every patient, no deaths or send-homes (MONEY BONUS)
473 TrophyAllCuredBonus = 20000,
474 -- Bonus to money for NO DEATHS in the year (MONEY BONUS)
475 TrophyDeathBonus = 10000,
476 -- Bonus to money for over 90% Cure Rate in the year (MONEY BONUS)
477 TrophyCuresBonus = 6000,
478 -- Bonus to reputation for pleasing VIPs in the year (REPUTATION BONUS)
479 TrophyMayorBonus = 5,
480
481
482 ------------------- Award win/loss criteria -------------------
483
484
485 -- >x to win the award MIN 0 MAX 255
486 CuresAward = 50,
487 -- <x to win this award MIN 0 MAX 255
488 CuresPoor = 10,
489 -- <x to win this award MIN 0 MAX 255
490 DeathsAward = 10,
491 -- >x to win the award MIN 0 MAX 255
492 DeathsPoor = 25,
493 -- >x Percentage - to win the award MIN 0 MAX 100
494 PopulationPercentageAward = 50,
495 -- <x Percentage - to win the award MIN 0 MAX 100
496 PopulationPercentagePoor = 15,
497 -- >x to win the award MIN 0 MAX 100
498 CuresVDeathsAward = 5,
499 -- <x to win this award MIN 0 MAX 100
500 CuresVDeathsPoor = 1,
501 -- >x to win the award MIN 0 MAX 1000
502 ReputationAward = 500,
503 -- <x to win the award MIN 0 MAX 1000
504 ReputationPoor = 200,
505 -- >x to win the award MIN 0 MAX 2000000
506 HospValueAward = 150000,
507 -- <x to win the award MIN 0 MAX 2000000
508 HospValuePoor = 50000,
509 -- <x Percentage - to win the award MIN 0 MAX 100 - low is good (ie low amount of litter per square)
510 CleanlinessAward = 5,
511 -- >x Percentage - to win the award MIN 0 MAX 100 - high is bad (ie high amount of litter per square)
512 CleanlinessPoor = 40,
513 -- >x Percentage - to win the award MIN 0 MAX 100 - percentage of peeps saved in emergencies - at least two emergencies per year to qualify
514 EmergencyAward = 90,
515 -- <x Percentage - to win the award MIN 0 MAX 100
516 EmergencyPoor = 50,
517 -- >x Percentage - to win the award MIN 0 MAX 100 - staff mean happiness throughout the year
518 StaffHappinessAward = 75,
519 -- <x Percentage - to win the award MIN 0 MAX 100
520 StaffHappinessPoor = 25,
521 -- >x Percentage - to win the award MIN 0 MAX 100 - peeps mean happiness throughout the year
522 PeepHappinessAward = 75,
523 -- <x Percentage - to win the award MIN 0 MAX 100
524 PeepHappinessPoor = 25,
525 -- >x Percentage - to win the award MIN 0 MAX 100 - percentage of BAL_LC_LEAVE - gbv.LeaveMax - high is bad, low is good
526 WaitingTimesAward = 25,
527 -- <x Percentage - to win the award MIN 0 MAX 100
528 WaitingTimesPoor = 75,
529 -- Percentages - low is well looked after, high is bad
530 WellKeptTechAward = 20,
531 WellKeptTechPoor = 70,
532
533
534 ---------------- Award bonuses and penalties --------------------
535
536
537 -- MIN -32000 MAX +32000 - MONEY
538 CuresBonus = 2000,
539 -- MIN -32000 MAX +32000 - MONEY
540 CuresPenalty = -3000,
541 -- MIN -32000 MAX +32000 - MONEY
542 AllCuresBonus = 5000,
543 -- MIN -32000 MAX +32000 - MONEY
544 DeathsBonus = 3000,
545 -- MIN -32000 MAX +32000 - MONEY
546 DeathsPenalty = -5000,
547 -- MIN -127 MAX +127 - REP - REP BONUSES ARE NOW PERCENTAGES
548 PopulationPercentageBonus = 4,
549 -- MIN -127 MAX +127 - REP
550 PopulationPercentagePenalty = -5,
551 -- MIN -32000 MAX +32000 - MONEY
552 CuresVDeathsBonus = 4000,
553 -- MIN -32000 MAX +32000 - MONEY
554 CuresVDeathsPenalty = -4000,
555 -- MIN -32000 MAX +32000 - MONEY
556 AwardReputationBonus = 2000,
557 -- MIN -32000 MAX +32000 - MONEY
558 AwardReputationPenalty = -3000,
559 -- MIN -127 MAX +127 - REP
560 HospValueBonus = 3,
561 -- MIN -127 MAX +127 - REP
562 HospValuePenalty = -6,
563 -- MIN -127 MAX +127 - REP
564 CleanlinessBonus = 6,
565 -- MIN -127 MAX +127 - REP
566 CleanlinessPenalty = -12,
567 -- MIN -127 MAX +127 - REP
568 EmergencyBonus = 7,
569 -- MIN -127 MAX +127 - REP
570 EmergencyPenalty = -11,
571 -- MIN -127 MAX +127 - REP
572 AwardStaffHappinessBonus = 4,
573 -- MIN -127 MAX +127 - REP
574 AwardStaffHappinessPenalty = -10,
575 -- MIN -127 MAX +127 - REP
576 PeepHappinessBonus = 4,
577 -- MIN -127 MAX +127 - REP
578 PeepHappinessPenalty = -9,
579 -- MIN -127 MAX +127 - REP
580 WaitingTimesBonus = 2,
581 -- MIN -127 MAX +127 - REP
582 WaitingTimesPenalty = -6,
583 -- MIN -127 MAX +127 - REP
584 WellKeptTechBonus = 7,
585 -- MIN -127 MAX +127 - REP
586 WellKeptTechPenalty = -5,
587 -- 0-4,000,000
588 NewTechAward = 2000,
589 -- 0-4,000,000
590 NewTechPoor = 0,
591 -- MIN -127 MAX +127 reputation bonus
592 ResearchBonus = 5,
593 -- MIN -127 MAX +127 reputation penalty
594 ResearchPenalty = -6,
595 },
596 }
597
598 return configuration