mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 21:19:00 +01:00
Ghost bar (#22368)
* Ghost bar initial changes * more changes * we ball again brothers * we are (once again) SO back * Update code/modules/admin/verbs/debug.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * Update code/_onclick/hud/alert.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * Update code/_onclick/hud/alert.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * Update code/modules/ruins/ghost_bar.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * Update code/modules/ruins/ghost_bar.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * Update code/modules/ruins/ghost_bar.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * Update code/modules/ruins/ghost_bar.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * Update code/modules/ruins/ghost_bar.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * Update code/game/objects/items/weapons/cards_ids.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * deck of cards and shittt * global placement * Update code/modules/ruins/ghost_bar.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * readded * hotfix * zamn * fixes * greyfix * last of the fixes * can't stop me baby * bam --------- Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
This commit is contained in:
@@ -666,6 +666,7 @@ structure_check() searches for nearby cultist structures required for the invoca
|
||||
message_admins("[key_name_admin(C)] has taken control of ([key_name_admin(mob_to_revive)]) to replace an AFK player.")
|
||||
mob_to_revive.ghostize(FALSE)
|
||||
mob_to_revive.key = C.key
|
||||
dust_if_respawnable(C)
|
||||
else
|
||||
fail_invoke()
|
||||
return
|
||||
|
||||
@@ -416,6 +416,7 @@
|
||||
message_admins("[key_name_admin(theghost)] has taken control of ([key_name_admin(M)]) to replace a jobbanned player.")
|
||||
M.ghostize()
|
||||
M.key = theghost.key
|
||||
dust_if_respawnable(theghost)
|
||||
else
|
||||
message_admins("[M] ([M.key] has been converted into [role_type] with an active antagonist jobban for said role since no ghost has volunteered to take [M.p_their()] place.")
|
||||
to_chat(M, "<span class='biggerdanger'>You have been converted into [role_type] with an active jobban. Any further violations of the rules on your part are likely to result in a permanent ban.</span>")
|
||||
|
||||
@@ -144,6 +144,7 @@
|
||||
var/client/C = M.client
|
||||
|
||||
S.key = C.key
|
||||
dust_if_respawnable(M)
|
||||
S.mind.assigned_role = "Harbinger of the Slaughter"
|
||||
S.mind.special_role = "Harbinger of the Slaughter"
|
||||
to_chat(S, playstyle_string)
|
||||
|
||||
@@ -310,6 +310,7 @@
|
||||
to_chat(user, "You already have a [mob_name]!")
|
||||
used = FALSE
|
||||
return
|
||||
dust_if_respawnable(theghost)
|
||||
spawn_guardian(user, theghost.key, guardian_type)
|
||||
else
|
||||
to_chat(user, "[failure_message]")
|
||||
|
||||
@@ -99,6 +99,7 @@
|
||||
message_admins("[key_name_admin(new_stand)] has taken control of ([key_name_admin(guardian)])")
|
||||
guardian.ghostize()
|
||||
guardian.key = new_stand.key
|
||||
dust_if_respawnable(new_stand)
|
||||
qdel(src)
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
var/mob/living/simple_animal/hostile/morph/S = new /mob/living/simple_animal/hostile/morph(pick(GLOB.xeno_spawn))
|
||||
player_mind.transfer_to(S)
|
||||
S.make_morph_antag()
|
||||
dust_if_respawnable(C)
|
||||
message_admins("[key_of_morph] has been made into morph by an event.")
|
||||
log_game("[key_of_morph] was spawned as a morph by an event.")
|
||||
|
||||
|
||||
@@ -34,5 +34,6 @@
|
||||
player_mind.active = TRUE
|
||||
player_mind.transfer_to(new_morph)
|
||||
new_morph.make_morph_antag()
|
||||
dust_if_respawnable(C)
|
||||
user.create_log(MISC_LOG, "Made a new morph using [src]", new_morph)
|
||||
user.ventcrawler = initial(user.ventcrawler) // re enable the crawling
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
|
||||
var/mob/C = pick(candidates)
|
||||
key_of_pulsedemon = C.key
|
||||
|
||||
dust_if_respawnable(C)
|
||||
|
||||
if(!key_of_pulsedemon)
|
||||
kill()
|
||||
return
|
||||
|
||||
@@ -168,6 +168,7 @@
|
||||
key = theghost.key
|
||||
giveObjectivesandGoals()
|
||||
giveSpells()
|
||||
dust_if_respawnable(theghost)
|
||||
else
|
||||
message_admins("No ghost was willing to take control of a mindless revenant. Deleting...")
|
||||
qdel(src)
|
||||
@@ -397,7 +398,7 @@
|
||||
else if(reforming)
|
||||
. += "<span class='revenwarning'>It is shifting and distorted. It would be wise to destroy this.</span>"
|
||||
|
||||
/obj/item/ectoplasm/revenant/proc/reform()
|
||||
/obj/item/ectoplasm/revenant/proc/reform() // Unused proc, production doesn't have revenants revive
|
||||
if(inert || !src)
|
||||
return
|
||||
var/key_of_revenant
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
return
|
||||
var/mob/living/simple_animal/revenant/revvie = new /mob/living/simple_animal/revenant/(pick(spawn_locs))
|
||||
player_mind.transfer_to(revvie)
|
||||
dust_if_respawnable(C)
|
||||
player_mind.assigned_role = SPECIAL_ROLE_REVENANT
|
||||
player_mind.special_role = SPECIAL_ROLE_REVENANT
|
||||
SSticker.mode.traitors |= player_mind
|
||||
|
||||
@@ -88,6 +88,7 @@
|
||||
SSticker.mode.apprentices += M.mind
|
||||
M.mind.special_role = SPECIAL_ROLE_WIZARD_APPRENTICE
|
||||
SSticker.mode.update_wiz_icons_added(M.mind)
|
||||
dust_if_respawnable(C)
|
||||
M.faction = list("wizard")
|
||||
SStgui.close_uis(src)
|
||||
else
|
||||
@@ -369,6 +370,7 @@ GLOBAL_LIST_EMPTY(multiverse)
|
||||
var/mob/C = pick(candidates)
|
||||
spawn_copy(C.client, get_turf(user.loc), user)
|
||||
to_chat(user, "<span class='warning'><B>The sword flashes, and you find yourself face to face with...you!</B></span>")
|
||||
dust_if_respawnable(C)
|
||||
|
||||
else
|
||||
to_chat(user, "You fail to summon any copies of yourself. Perhaps you should try again in a bit.")
|
||||
|
||||
@@ -120,6 +120,7 @@
|
||||
var/mob/living/carbon/human/new_character= makeBody(harry)
|
||||
new_character.mind.make_Wizard() // This puts them at the wizard spawn, worry not
|
||||
mages_made++
|
||||
dust_if_respawnable(harry)
|
||||
return TRUE
|
||||
else
|
||||
. = FALSE
|
||||
|
||||
@@ -505,5 +505,6 @@
|
||||
if(length(contents)) //If they used the soulstone on someone else in the meantime
|
||||
return FALSE
|
||||
M.ckey = chosen_ghost.ckey
|
||||
dust_if_respawnable(chosen_ghost)
|
||||
init_shade(M, user)
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user