StaffProfile Class
Declared on: line 21 of Lua/staff_profile.lua.
Method Index
- drawFace(canvas, x, y, parts_bitmap)
- getFairWage()
- init(skill)
- initDoctor(psychiatrist, surgeon, researcher, junior, consultant, skill)
- parseSkillLevel()
- randomise(month)
- randomiseOrganical()
- setDoctorAbilities(psychiatrist, surgeon, researcher, junior, consultant)
- setSkill(skill)
Member Index
- attention_to_detail
- chin_index
- desc
- face_index
- hair_index
- humanoid_class
- is_black
- is_consultant
- is_junior
- is_psychiatrist
- is_researcher
- is_surgeon
- layer5
- name
- profession
- skill
- wage
- world
function StaffProfile:StaffProfile(world, humanoid_class, local_string)
Parameters:
Name | Type | Description |
---|---|---|
world | ? | ? |
humanoid_class | ? | ? |
local_string | ? | ? |
Declared on: line 23 of Lua/staff_profile.lua.
function StaffProfile:drawFace(canvas, x, y, parts_bitmap)
Parameters:
Name | Type | Description |
---|---|---|
canvas | ? | ? |
x | ? | ? |
y | ? | ? |
parts_bitmap | ? | ? |
Declared on: line 190 of Lua/staff_profile.lua.
function StaffProfile:init(skill)
Parameters:
Name | Type | Description |
---|---|---|
skill | ? | ? |
Declared on: line 47 of Lua/staff_profile.lua.
function StaffProfile:initDoctor(psychiatrist, surgeon, researcher, junior, consultant, skill)
Parameters:
Name | Type | Description |
---|---|---|
psychiatrist | ? | ? |
surgeon | ? | ? |
researcher | ? | ? |
junior | ? | ? |
consultant | ? | ? |
skill | ? | ? |
Declared on: line 42 of Lua/staff_profile.lua.
function StaffProfile:parseSkillLevel()
Update junior and consultant status
Declared on: line 196 of Lua/staff_profile.lua.
function StaffProfile:randomise(month)
Parameters:
Name | Type | Description |
---|---|---|
month | ? | ? |
Declared on: line 83 of Lua/staff_profile.lua.
function StaffProfile:setDoctorAbilities(psychiatrist, surgeon, researcher, junior, consultant)
Parameters:
Name | Type | Description |
---|---|---|
psychiatrist | ? | ? |
surgeon | ? | ? |
researcher | ? | ? |
junior | ? | ? |
consultant | ? | ? |
Declared on: line 34 of Lua/staff_profile.lua.
function StaffProfile:setSkill(skill)
Parameters:
Name | Type | Description |
---|---|---|
skill | ? | ? |
Declared on: line 53 of Lua/staff_profile.lua.