function Doctor:tick() Staff.tick(self) -- don't do anything if they're fired or picked up or have no hospital if self.fired or self.pickup or not self.hospital or self.dead then return end
-- if doctor is in a room and they're using an object -- then their skill level will increase _slowly_ over time if self:isLearningOnTheJob() then self:updateSkill(self.humanoid_class, "skill", 0.000003) endend
只要一个医生在房间里并且使用一个物品,那么他们的技能就会得到缓慢增长
以前在游戏中就发现把一个医生丢进房间又没病人,疲劳还是降得比在外面闲逛快。看来“使用物品”本身就是一个动作,这个动作伴随的就是技能增长和疲劳下降。。
-- if doctor is in a room and they're using an object -- then their skill level will increase _slowly_ over time if self:isLearningOnTheJob() then self:updateSkill(self.humanoid_class, "skill", 0.000003) endend
只要一个医生在房间里并且使用一个物品,那么他们的技能就会得到缓慢增长
以前在游戏中就发现把一个医生丢进房间又没病人,疲劳还是降得比在外面闲逛快。看来“使用物品”本身就是一个动作,这个动作伴随的就是技能增长和疲劳下降。。