FANDOM


The following fixes and workarounds can be used in corsixth.

Issue 336, Patients only look for benches in their vicinity Edit

The following patch causes patients to use benches all around the hospital: For Linux:


Edit the /usr/games/CorsixTH/Lua/humanoid_actions/queue.lua file, and locate the code that performs the search for benches as follows:

   -- Try to find a bench
   local bench_max_distance
   if action:isStanding() then
     bench_max_distance = 10
   else
     bench_max_distance = action.current_bench_distance / 2
   end
   local

Change the code to read as follows:

   -- Try to find a bench
   local bench_max_distance
   if action:isStanding() then
     bench_max_distance = 30
   else
     bench_max_distance = action.current_bench_distance / 2
   end
   local

Issue 693, Consultants do not develop their skills in the training room Edit

If you want to make your consultants develop their skills in the training room, the following code change is available:

For linux:

Edit the /usr/games/CorsixTH/Lua/entities/staff.lua file, and locate the code that provides the tick event for the consultant as follows:

   -- tick event for consultant?
   if room.staff_member == self then
     -- TODO: Should the consultant's skills increase at all?
   else
     -- increase skills based upon what the consultant knows

Revise the code to read as follows:

   -- tick event for consultant?
   if room.staff_member == self then
     -- TODO: Should the consultant's skills increase at all?
     room.staff_member.profile.is_surgeon = 1
     room.staff_member.profile.is_psychiatrist = 1
   else
     -- increase skills based upon what the consultant knows


Now, when a consultant is placed in the training room, he will instantly become a surgeon and a psychiatrist no matter what he was before.


What is the point of such a change when you can already amend the SAM files and employ only consultants if that is your wish. You can also pay them as little as you like, again by editing the SAM files. All the above is doing is making the training room an instant trainer, pop them in the take them out again fully qualified, again I ask, what is the point of such a change?

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.