Artem Argus
Artem Argus
One more teleportation case in same place [patient_teleport_2.sav.zip](https://github.com/user-attachments/files/18468865/patient_teleport_2.sav.zip) https://github.com/user-attachments/assets/433e38e5-21ae-4621-b9ac-467adbb1a623
How to get stable reproduction for `vomiting`+`drink_machine` teleportation case (as videos above): 1. Take this branch https://github.com/ARGAMX/CorsixTH/tree/vomit-storm (you can take only `patient.lua` as it modified to enlarge the vomit probability)...
> How to get stable reproduction for `vomiting`+`drink_machine` teleportation case (as videos above): > It seems that the culprit of what is happening is the `self:interruptAndRequeueAction(current, 2)` call. If just...
> > It seems that the culprit of what is happening is the `self:interruptAndRequeueAction(current, 2)` call. If just remove it then the bug disappears. > @mugmuggy have you ever encounter...
Bench teleportation case. Follow the guy in the brown jacket. [Teleportation-Brown-Guy.zip](https://github.com/user-attachments/files/21666351/Teleportation-Brown-Guy.zip) v0.69.0 https://github.com/user-attachments/assets/3f801857-bc81-4fad-a308-63e17cd81fe3
https://github.com/user-attachments/assets/aed1e702-e40d-4b49-997e-c4273f9e1400 [bloaty head slide.sav.zip](https://github.com/user-attachments/files/21949291/bloaty.head.slide.sav.zip) v0.69.1
Vomit issues moved to #1614
> https://github.com/CorsixTH/CorsixTH/blob/ac6b361605c2a3a86f2b625f853c97ec6d32b0c3/CorsixTH/Lua/entities/humanoids/patient.lua#L298-L306 > Looks like the possibility of 'AgreesToPay' in case of `is_over_priced` does not depends on the overprice size? > `return not (is_over_priced and math.random(1, 5) == 1) `...
I have made more research on this and found that: 1. In original TH patients do AgreesToPay check on routing to the room. (as in CTH) 2. After AgreesToPay is...
> How about an additional check in knock_door.lua? > > ```lua > function KnockDoorAction:update() > > if not self.humanoid:agreesToPay(self.humanoid.disease.id) then > self.humanoid:goHome("over_priced", self.humanoid.disease.id) > return > end > ``` By...