Module CorsixTH.CorsixTH.Lua.research_department

Manages all things related to research for one hospital.

Functions

ResearchDepartment:addResearchPoints (points) Add some more research points to research progress.
ResearchDepartment:addResearchPointsForAutopsy (target_room_id) This function will give research points to the treatment of the illness of an autopsied patient.
ResearchDepartment:redistributeResearchPoints () Function that redistributes research points from a finished category to all the other categories.
ResearchDepartment:setResearchConcentration () Find a disease (if it exists) on which research can be concentrated and concentrate on it.


Functions

ResearchDepartment:addResearchPoints (points)
Add some more research points to research progress. It will be divided according to the research policy into the different research areas.

Parameters:

  • points (integer) The total amount of points before applying any level specific divisors to add to research.
ResearchDepartment:addResearchPointsForAutopsy (target_room_id)
This function will give research points to the treatment of the illness of an autopsied patient.

Parameters:

  • target_room_id (string) The name of the room
ResearchDepartment:redistributeResearchPoints ()
Function that redistributes research points from a finished category to all the other categories.
ResearchDepartment:setResearchConcentration ()
Find a disease (if it exists) on which research can be concentrated and concentrate on it.
generated by LDoc TESTING Last updated 2015-01-01 12:00:00