AIHospital Class
Method Index
- addHandymanTask(object, taskType, priority, x, y, call) (inherited from Hospital)
- addInsuranceMoney(company, amount) (inherited from Hospital)
- addPatient(patient) (inherited from Hospital)
- addStaff(staff) (inherited from Hospital)
- afterLoad(old, new) (inherited from Hospital)
- assignHandymanToTask(handyman, taskIndex, taskType) (inherited from Hospital)
- boilerBreakdown() (inherited from Hospital)
- boilerFixed() (inherited from Hospital)
- canConcentrateResearch(disease) (inherited from Hospital)
- cashLow() (inherited from Hospital)
- changeReputation(reason, disease, valueChange) (inherited from Hospital)
- checkDiseaseRequirements(disease) (inherited from Hospital)
- checkFacilities() (inherited from Hospital)
- coldWarning() (inherited from Hospital)
- countPatients() (inherited from Hospital)
- createEmergency(emergency) (inherited from Hospital)
- createVip() (inherited from Hospital)
- findHandymanTaskSubtable(taskType) (inherited from Hospital)
- getAveragePatientAttribute(attribute) (inherited from Hospital)
- getDebugPatient() (inherited from Hospital)
- getHeliportPosition() (inherited from Hospital)
- getHeliportSpawnPosition() (inherited from Hospital)
- getIndexOfTask(x, y, taskType) (inherited from Hospital)
- getObjectBuildCost(name) (inherited from Hospital)
- getPlayerIndex() (inherited from Hospital)
- getTaskObject(taskIndex, taskType) (inherited from Hospital)
- getTreatmentPrice(disease) (inherited from Hospital)
- hasRoomOfType(type) (inherited from Hospital)
- hasStaffOfCategory(category) (inherited from Hospital)
- hasStaffedDesk() (inherited from Hospital)
- hotWarning() (inherited from Hospital)
- humanoidDeath(humanoid) (inherited from Hospital)
- initOwnedPlots() (inherited from Hospital)
- isInHospital(x, y) (inherited from Hospital)
- isPlayerHospital() (inherited from Hospital)
- logTransaction() (overrides Hospital:logTransaction)
- modifyHandymanTaskPriority(taskIndex, newPriority, taskType) (inherited from Hospital)
- msgCured() (inherited from Hospital)
- msgKilled() (inherited from Hospital)
- noStaffroom_msg() (inherited from Hospital)
- noToilet_msg() (inherited from Hospital)
- onEndDay() (inherited from Hospital)
- onEndMonth() (inherited from Hospital)
- onEndYear() (inherited from Hospital)
- praiseBench() (inherited from Hospital)
- purchasePlot(plot_number) (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)
- removeHandymanTask(taskIndex, taskType) (inherited from Hospital)
- removePatient(patient) (inherited from Hospital)
- removeStaff(staff) (inherited from Hospital)
- resolveEmergency() (inherited from Hospital)
- roomNotYetResearched(disease) (inherited from Hospital)
- searchForHandymanTask(handyman, taskType) (inherited from Hospital)
- spawnPatient() (overrides Hospital:spawnPatient)
- spendMoney(amount, reason, changeValue) (inherited from Hospital)
- tick() (inherited from Hospital)
- updatePercentages() (inherited from Hospital)
- warningBench() (inherited from Hospital)
- warningThirst() (inherited from Hospital)
- warningTooCold() (inherited from Hospital)
- warningTooHot() (inherited from Hospital)
Member Index
- _initResearch (*)
- acc_heating (*)
- acc_loan_interest (*)
- acc_overdraft (*)
- acc_research_cost (*)
- announce_vip (*)
- balance (*)
- bench_msg (*)
- boiler_can_break (*)
- boiler_countdown (*)
- cash_ms (*)
- cash_msg (*)
- curr_setting (*)
- debug_patients (*)
- discover_autopsy_risk (*)
- discovered_diseases (*)
- discovered_rooms (*)
- disease_casebook (*)
- emergency (*)
- emergency_patients (*)
- handymanTasks (*)
- heating_broke (*)
- hospital (*)
- inflation_rate (*)
- initial_grace (*)
- insurance (*)
- insurance_balance (*)
- interest_rate (*)
- is_in_world
- loan (*)
- money_in (*)
- money_out (*)
- msg_counter (*)
- name
- not_cured (*)
- not_cured_ty (*)
- num_cured (*)
- num_cured_ty (*)
- num_deaths (*)
- num_deaths_this_year (*)
- num_explosions (*)
- num_vips (*)
- num_vips_ty (*)
- num_visitors (*)
- num_visitors_ty (*)
- opened (*)
- ownedPlots (*)
- patientcount (*)
- patients (*)
- percentage_cured (*)
- percentage_killed (*)
- player_salary (*)
- pleased_vips_ty (*)
- policies (*)
- population (*)
- radiator_heat (*)
- reception_desks (*)
- receptionist_count (*)
- receptionist_msg (*)
- reputation (*)
- reputation_above_threshold (*)
- reputation_max (*)
- reputation_min (*)
- research (*)
- research_dep_built (*)
- research_rooms (*)
- sal_min (*)
- salary_incr (*)
- salary_offer (*)
- seating_warning (*)
- show_progress_screen_warnings (*)
- sodas_sold (*)
- staff (*)
- staff_room_msg (*)
- statistics (*)
- thirst_msg (*)
- toilet_msg (*)
- transactions (*)
- undiscovered_rooms (*)
- value (*)
- visitors (*)
- warmth_msg (*)
- win_awards (*)
- world (*)
function AIHospital:AIHospital(competitor, ...)
Parameters:
Name | Type | Description |
---|---|---|
competitor | ? | ? |
... | ? | ? |
Declared on: line 1564 of Lua/hospital.lua.
function AIHospital:logTransaction()
Overrides: Hospital:logTransaction.
Declared on: line 1578 of Lua/hospital.lua.
function AIHospital:spawnPatient()
Overrides: Hospital:spawnPatient.
Declared on: line 1574 of Lua/hospital.lua.