Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PORT] Adds a unit test for typepaths that are required to be mapped …
…onto each station map (#2346) * [MDB Ignore] Adds a unit test for typepaths that are required to be mapped onto each station map (#74985) Inspired by #74967 and #68459 , and the fact that Tramstation regresses very often - Adds a unit test, `required_map_items`, which ensures that certain typepaths which should definitely be mapped onto every map is mapped onto every map It can also be used to ensure that items which should not be mapped in multiple times are not, among other things. I included a few examples - - Min 1, max inf of each head of staff stamps - Min 1, max 1 departmental order consoles - Min 1, max inf comms console - Min 1, max 1 Pun Pun - Min 1, max 1 Poly - Min 1, max 1 Ian If, in the future, a mapper decides they (for some reason) do not want a certain previously-required item on their map, the test can be adjusted such that it allows excluding or something, but currently it should be for items which require conscious thought about. I attempted to make this a linter before realizing two things 1. Someone might make a spawner which spawns the items, or they might get placed in a locker, in any case this accounts for everything on init 2. Linters run on every map, non-station maps included So I went with a test Why is it always the CMO stamp? Not necessary (unless I find a map missing something, then this will be updated) * byeah * bwoh * fixup * Bweh * Add CMO stamp to Tram * Add holomaps * AAAAAAAAAAAAAAAAAAAA * guh * me when * Update stamps on Blueshift, shoddily map missing stuff into Kilo * Directional ATMs, re-add holomaps * Whoopsie daisy * Wait shit * Add a generous amount of holomaps to blueshift --------- Co-authored-by: MrMelbert <[email protected]>
- Loading branch information