AIHospital Class
Method Index
- addPatient(patient) (inherited from Hospital)
- addStaff(staff) (inherited from Hospital)
- afterLoad(old, new) (inherited from Hospital)
- changeReputation(reason) (inherited from Hospital)
- createEmergency() (inherited from Hospital)
- getAveragePatientAttribute(attribute) (inherited from Hospital)
- getDebugPatient() (inherited from Hospital)
- getHeliportPosition() (inherited from Hospital)
- getHeliportSpawnPosition() (inherited from Hospital)
- getPlayerIndex() (inherited from Hospital)
- hasStaffOfCategory(category) (inherited from Hospital)
- isInHospital(x, y) (inherited from Hospital)
- logTransaction() (overrides Hospital:logTransaction)
- makeDebugPatient() (inherited from Hospital)
- onEndMonth() (inherited from Hospital)
- receiveMoney(amount, reason, changeValue) (inherited from Hospital)
- receiveMoneyForProduct(patient, amount, reason) (inherited from Hospital)
- receiveMoneyForTreatment(patient) (inherited from Hospital)
- removeDebugPatient(patient) (inherited from Hospital)
- removePatient(patient) (inherited from Hospital)
- removeStaff(staff) (inherited from Hospital)
- resolveEmergency() (inherited from Hospital)
- setCrazyDoctors(crazy) (inherited from Hospital)
- spawnPatient() (overrides Hospital:spawnPatient)
- spendMoney(amount, reason, changeValue) (inherited from Hospital)
- tick() (inherited from Hospital)
- updatePercentages() (inherited from Hospital)
Member Index
- balance (*)
- crazy_doctors (*)
- debug_patients (*)
- discovered_diseases (*)
- discovered_rooms (*)
- disease_casebook (*)
- emergency (*)
- emergency_patients (*)
- inflation_rate (*)
- insurance (*)
- interest_rate (*)
- is_in_world
- loan (*)
- name
- not_cured (*)
- num_cured (*)
- num_deaths (*)
- opened (*)
- patients (*)
- percentage_cured (*)
- percentage_killed (*)
- policies (*)
- population (*)
- radiator_heat (*)
- reputation (*)
- reputation_max (*)
- reputation_min (*)
- spawn_rate_cheat (*)
- staff (*)
- transactions (*)
- value (*)
- world (*)
function AIHospital:AIHospital(competitor, ...)
Parameters:
Name | Type | Description |
---|---|---|
competitor | ? | ? |
... | ? | ? |
Declared on: line 496 of Lua/hospital.lua.
function AIHospital:logTransaction()
Overrides: Hospital:logTransaction.
Declared on: line 510 of Lua/hospital.lua.
function AIHospital:spawnPatient()
Overrides: Hospital:spawnPatient.
Declared on: line 506 of Lua/hospital.lua.