Skip to content

Commit

Permalink
fucking
Browse files Browse the repository at this point in the history
  • Loading branch information
rye-rice committed Nov 21, 2023
1 parent 83a36cb commit 698bba4
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions code/modules/mob/living/carbon/human/species_types/IPC.dm
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@
if(!ishuman(owner))
return
var/mob/living/carbon/human/H = owner
var/datum/species/ipc/species_datum = H.dna.species
if(!species_datum)
return
if(!species_datum.has_screen)
return
H.dna.features["ipc_screen"] = screen_choice
H.eye_color = sanitize_hexcolor(color_choice)
H.update_body()
Expand Down Expand Up @@ -220,14 +225,17 @@


/datum/species/ipc/spec_revival(mob/living/carbon/human/H)
H.dna.features["ipc_screen"] = "BSOD"
H.update_body()
if(has_screen)
H.dna.features["ipc_screen"] = "BSOD"
H.update_body()
H.say("Reactivating [pick("core systems", "central subroutines", "key functions")]...")
addtimer(CALLBACK(src, PROC_REF(post_revival), H), 6 SECONDS)

/datum/species/ipc/proc/post_revival(mob/living/carbon/human/H)
if(H.stat == DEAD)
return
if(!has_screen)
return
H.dna.features["ipc_screen"] = saved_screen
H.update_body()

Expand All @@ -238,7 +246,7 @@

if(chassis_of_choice.use_eyes)
LAZYREMOVE(species_traits, NOEYESPRITES)
LAZYADD(species_traits, EYECOLOR)
LAZYADD(species_traits, NOEYESPRITES)
C.update_body()

if(!chassis_of_choice.has_screen)
Expand Down

0 comments on commit 698bba4

Please sign in to comment.