/
githubmirror
/
vgstation13
Обзор
Документация
Войти
/
githubmirror
/
vgstation13
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
Bleeding-Edge
code/datums/gamemode/objectives/ramble.dm
18 строк
500 B
kane-f
Changes z-level defines to map datum vars (#31268)
13 ноя 2021, 17:53
Не верифицирован
13 ноя 2021, 17:53
0a808ec
Код
Авторство
О чём код?
/datum/objective/ramble explanation_text = "Escape to a different Z-level at the end. Life is optional, but you must remain intact." name = "Ramble Forth" /datum/objective/ramble/IsFulfilled() if (..()) return TRUE //Unlike an escape objective, we are okay with being dead, arrested, siliconed, MMI'd, etc. if(!owner.current) return FALSE var/turf/location = get_turf(owner.current.loc) if(!location) return FALSE if(location.z == map.zMainStation) return FALSE else return TRUE