Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# About the pull request Cleans up some duplicate, unused, and/or obsolete (due to native DM implementation) code in `unsorted.dm`. Removed (unused): - `is_hot` - `sign` - `rename_self` - `get_sorted_mobs` (`sortmobs` is the one you're thinking of) - `getxenos` - `getpreds` - `gethumans` - `getsurvivors` - `getertmembers` - `get_holograms` - `sortxenos` - `sortpreds` - `sorthumans` - `sortsurvivors` - `sortertmembers` - `blockhollow` - `get_random_zero_sum_variances` - `IsValidSrc` - `convert_to_json_text` Replaced (functionally identical): - `InRange` to `ISINRANGE` - `between`, `dd_range` to `clamp` (only difference was argument order) - `check_bitflag` to `HAS_FLAG` Replaced (special): - `getsynths`, `sortsynths` were only used once for MOOC, which only really needed `GLOB.human_mob_list` filtered by `issynth()` <!-- Remove this text and explain what the purpose of your PR is. Mention if you have tested your changes. If you changed a map, make sure you used the mapmerge tool. If this is an Issue Correction, you can type "Fixes Issue #169420" to link the PR to the corresponding Issue number #169420. Remember: something that is self-evident to you might not be to others. Explain your rationale fully, even if you feel it goes without saying. --> # Explain why it's good for the game Less duplication leads to greater maintainability. # Testing Photographs and Procedure Boots without issue. # Changelog No player-facing changes.
- Loading branch information