/
githubmirror
/
vgstation13
Обзор
Документация
Войти
/
githubmirror
/
vgstation13
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
Bleeding-Edge
code/datums/gamemode/objectives/custom.dm
15 строк
517 B
Dimitar Dihanov
added logs, generate objective fix, announce fix, custom obj fix,
02 май 2019, 23:50
02 май 2019, 23:50
71da671
Код
Авторство
О чём код?
/datum/objective/custom name = "Custom objective" explanation_text = "Just be yourself" force_success = TRUE //if user passed - means that this will be called as an explicit custom objective and will require user input /datum/objective/custom/New(var/mob/user, var/datum/faction/faction) if (!user) return if (faction) src.faction = faction var/txt = input(user, "What should be the text of this objective?","Custom objective", "Just be yourself") explanation_text = txt // Fullfilled as per admin wishes