mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 01:24:21 +01:00
Grep for space indentation (#54850)
#54604 atomizing Since a lot of the space indents are in lists ill atomize those later
This commit is contained in:
@@ -6,13 +6,13 @@
|
||||
#define INTERVIEW_PENDING "interview_pending"
|
||||
|
||||
/**
|
||||
* Represents a new-player interview form
|
||||
*
|
||||
* Represents a new-player interview form, enabled by configuration to require
|
||||
* players with low playtime to request access to the server. To do so, they will
|
||||
* out a brief questionnaire, and are otherwise unable to do anything while they
|
||||
* wait for a response.
|
||||
*/
|
||||
* Represents a new-player interview form
|
||||
*
|
||||
* Represents a new-player interview form, enabled by configuration to require
|
||||
* players with low playtime to request access to the server. To do so, they will
|
||||
* out a brief questionnaire, and are otherwise unable to do anything while they
|
||||
* wait for a response.
|
||||
*/
|
||||
/datum/interview
|
||||
/// Unique ID of the interview
|
||||
var/id
|
||||
@@ -47,13 +47,13 @@
|
||||
welcome_message = CONFIG_GET(string/interview_welcome_msg)
|
||||
|
||||
/**
|
||||
* Approves the interview, forces reconnect of owner if relevant.
|
||||
*
|
||||
* Approves the interview, and if relevant will force the owner to reconnect so that they have the proper
|
||||
* verbs returned to them.
|
||||
* Arguments:
|
||||
* * approved_by - The user who approved the interview, used for logging
|
||||
*/
|
||||
* Approves the interview, forces reconnect of owner if relevant.
|
||||
*
|
||||
* Approves the interview, and if relevant will force the owner to reconnect so that they have the proper
|
||||
* verbs returned to them.
|
||||
* Arguments:
|
||||
* * approved_by - The user who approved the interview, used for logging
|
||||
*/
|
||||
/datum/interview/proc/approve(client/approved_by)
|
||||
status = INTERVIEW_APPROVED
|
||||
read_only = TRUE
|
||||
@@ -68,11 +68,11 @@
|
||||
addtimer(CALLBACK(src, .proc/reconnect_owner), 50)
|
||||
|
||||
/**
|
||||
* Denies the interview and adds the owner to the cooldown for new interviews.
|
||||
*
|
||||
* Arguments:
|
||||
* * denied_by - The user who denied the interview, used for logging
|
||||
*/
|
||||
* Denies the interview and adds the owner to the cooldown for new interviews.
|
||||
*
|
||||
* Arguments:
|
||||
* * denied_by - The user who denied the interview, used for logging
|
||||
*/
|
||||
/datum/interview/proc/deny(client/denied_by)
|
||||
status = INTERVIEW_DENIED
|
||||
read_only = TRUE
|
||||
@@ -88,16 +88,16 @@
|
||||
+ " You may do this in three minutes.</span>", confidential = TRUE)
|
||||
|
||||
/**
|
||||
* Forces client to reconnect, used in the callback from approval
|
||||
*/
|
||||
* Forces client to reconnect, used in the callback from approval
|
||||
*/
|
||||
/datum/interview/proc/reconnect_owner()
|
||||
if (!owner)
|
||||
return
|
||||
winset(owner, null, "command=.reconnect")
|
||||
|
||||
/**
|
||||
* Verb for opening the existing interview, or if relevant creating a new interview if possible.
|
||||
*/
|
||||
* Verb for opening the existing interview, or if relevant creating a new interview if possible.
|
||||
*/
|
||||
/mob/dead/new_player/proc/open_interview()
|
||||
set name = "Open Interview"
|
||||
set category = "Interview"
|
||||
|
||||
Reference in New Issue
Block a user