mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
* Explosive implant * Package wrapper * Venus human trap sprites * Vine damage * Wisp vision * Display case * Storage viewing * Ghost poll nullspacing * Inflatable barrier piercing * Pneumatic cannon * Cow grammar * Centcom jaunting * Consistency Not actually a lazy list, as far as I can tell * Review 1 Co-Authored-By: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> * Review 2 Co-Authored-By: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> * length() Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
@@ -74,7 +74,7 @@ GLOBAL_LIST_EMPTY(antagonists)
|
||||
set waitfor = FALSE
|
||||
|
||||
var/list/mob/dead/observer/candidates = SSghost_spawns.poll_candidates("Do you want to play as a [name]?", job_rank, TRUE, 5 SECONDS)
|
||||
if(LAZYLEN(candidates))
|
||||
if(length(candidates))
|
||||
var/mob/dead/observer/C = pick(candidates)
|
||||
to_chat(owner, "Your mob has been taken over by a ghost! Appeal your job ban if you want to avoid this in the future!")
|
||||
message_admins("[key_name_admin(C)] has taken control of ([key_name_admin(owner.current)]) to replace a jobbaned player.")
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
to_chat(user, "<span class='notice'>You activate [src] and wait for confirmation.</span>")
|
||||
var/image/I = new('icons/mob/simple_human.dmi', "syndicate_space_sword")
|
||||
var/list/nuke_candidates = SSghost_spawns.poll_candidates("Do you want to play as a [rolename]?", ROLE_OPERATIVE, TRUE, 15 SECONDS, source = I)
|
||||
if(LAZYLEN(nuke_candidates))
|
||||
if(length(nuke_candidates))
|
||||
checking = FALSE
|
||||
if(QDELETED(src) || !check_usability(user))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user