Toby
Toby
I've made `Map:_drawDebugTiles` but added a todo for the scanline. I'll learn what screenX/Y do before attempting that.
 This is as far as I've got. The flags coverage depends on what area of the map you're looking at. What's missing?
Refactored.a bit more, and removed my scanline attempt.
https://github.com/CorsixTH/CorsixTH/blob/master/CorsixTH/Lua/entities/humanoids/staff.lua#L43 Staff (and doctor) have their parent class run tickday first, and staff:tick runs entity:tick first, so they don't need extra handling. Good point, I'll experiment with world:onendday.
With the limitations of Lua and the need to run entity tick functions in numerical order, I think this is the right way to do it.
Gamelog > Error in timer handler: -- ...eme Hospital\CorsixTH\Lua\humanoid_actions\queue.lua:71: Proper idle not in action_queue stack traceback: [C]: in function 'error' ...eme Hospital\CorsixTH\Lua\humanoid_actions\queue.lua:71: in function 'action_queue_find_idle' ...eme Hospital\CorsixTH\Lua\humanoid_actions\queue.lua:225: in function 'onChangeQueuePosition'...
[This is a Windows build](https://github.com/tobylane/CorsixTH/suites/18106203745/artifacts/1043709072) of the changes for comparisons with TH97, from [Github Actions](https://github.com/tobylane/CorsixTH/actions/runs/6834436806/job/18587193207).
Paused for the time being, as GitHub Actions put macOS 11 back into private preview, so I can't use it. A macOS 10.15 workflow can be done, but won't tell...
https://www.macsourceports.com/sourceport/corsixth MacSourcePorts have signed builds. We could link to this in the release, or ask if we can reupload the file.
You should be able to make what you want, by editing one of the custom maps you've found ([e.g. Biggen](http://forums.corsixth.com/index.php/topic,4986.0.html)) with [increased staff](https://github.com/CorsixTH/CorsixTH/wiki/Custom-Levels#staff_levels), expertise, popn in its levels file. I...