mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-22 11:06:48 +01:00
## About The Pull Request Working on some generic templates and starting to cut down on the planet specific turfs which are in use. ## Why It's Good For The Game More POI's and more content! ## Changelog 🆑 add: New generic POI's tweak: Turf pathing /🆑 --------- Co-authored-by: LordME <58342752+TheLordME@users.noreply.github.com>
12 lines
338 B
Plaintext
12 lines
338 B
Plaintext
/datum/unit_test/access_datums/Run()
|
|
var/list/lookup_ids = list()
|
|
for(var/path in subtypesof(/datum/access))
|
|
var/datum/access/A = path
|
|
if(initial(A.abstract_type) == path)
|
|
continue
|
|
var/id = num2text(initial(A.access_value))
|
|
if(lookup_ids[id])
|
|
Fail("Collision on [A] and [lookup_ids[id]]")
|
|
continue
|
|
lookup_ids[id] = A
|