* Update .luacheckrc
add "ukrainian" language file to ignore warnings
* Update config_finder.lua
* Update config_template.txt
add Ukrainian to lang list
* Update ukrainian.lua
* Translated all missing strings
* Changed translation of humanoid names
Use left side buttons for choosing sections, with keys laid out on the
right. Allow sections to take up full width unless there is reason for
side by side - currently only used for store and recall keys.
Also this change adds a treatPatient function for removing the effect
and restores the afterLoad function to support loading saves with this
disease assuming the style based on cured.
* Set effect on disease data type to be applied when patient has disease.
* Persist animation patient_effect.
Also adds fallback code for old savegames to infer whether to apply the
effect based on the cured state, which will be correct most of the time.
* Apply jelly effect for Jellyitus.
Even though this doesn't have any visual effect, this will ensure the
effect in savegame version 158 is set correctly.
* Track game_ticks and use to drive patient animation effects.
* Calculate the serious radiation sine angle based on the cycle length
By taking the remainder after dividing by the cycle length we can ensure
that no precision is lost when converting large values of game_ticks to
the desired angle.
* Bump lua api_version.
Co-authored-by: Luís Duarte <lduarte@luisduarte.net>
* Added Greek language file
For some newspaper titles that can't be directly translated into Greek, I've tried to create new humorous titles in the same spirit as the originals. There's a couple I have yet to alter.
* Create PlayerHospital, move AIHospital
* Construct a PlayerHospital for the player, move hospital creation code to a single spot.
* Change player hospital instance to the PlayerHospital class.
* Refactor cheats
* Cheats Refactor using UI
* Reintoroduce Roujin's Challenge
Re-adds the lost Roujin's challenge.
This cheat triggers the cheats used flag.
* Bump savegame version
* Add afterload and travis fixes
* Update cheats.lua
* Missing a passthrough afterload
* Some updates
Removes user message on afterload
Changes a print to a gamelog
Added Cheats to luacheckrc
* Coding convention compliance
Camel case needed changing to snake case for the cheats list
* Changes requested
* Travis fix
Moves our custom require like function which handles persistence
to a new corsixth scope to avoid confusion with the built in method.
The require name is closer to the actual behaviour of the corsixth
version.
Refactors adding doors.
Adds the idea of shared passable tiles, e.g. in front of a bench, which allows
another passable tile to occupy the same spot, but not an object.
Fixes issue where doors could be blocked in some circumstances