Changes how ipc resurrection works (#4472)

This prs removes the old method of ipc resurrection, which was just removing and placing the mmi/heart back into the body, which was really lazy and caused a lot of bugs.

Now, robotics can create a ipcs frames using the different brands in the robotics frabricator, based on the torso's brand. The law manager can disable by using a multitool on the head which is the diffence between creating a cyborg or an ipc. Also; it allows you to customize your snowflakness after your new body is created.

Changes: you can't print all torso types from robotics anymore, but there are torsos that come with their own brand, that you should be able to buy from cargo, that will allow someone to create another type of ipc.

Feedback Topic: https://forums.aurorastation.org/viewtopic.php?f=18&t=10705
This commit is contained in:
Alberyk
2018-04-07 21:12:49 +03:00
committed by Erki
parent 59f1d4f3ec
commit d7951fbd9f
6 changed files with 198 additions and 44 deletions
@@ -104,6 +104,9 @@ INITIALIZE_IMMEDIATE(/mob/living/carbon/human/dummy/mannequin)
/mob/living/carbon/human/industrial_bishop/Initialize(mapload)
. = ..(mapload, "Bishop Accessory Frame")
/mob/living/carbon/human/unbranded_frame/Initialize(mapload)
. = ..(mapload, "Unbranded Frame")
/mob/living/carbon/human/terminator/Initialize(mapload)
. = ..(mapload, "Hunter-Killer")
add_language(LANGUAGE_SOL_COMMON, 1)
@@ -267,7 +267,7 @@
icobase = 'icons/mob/human_races/r_ind_xion.dmi'
deform = 'icons/mob/human_races/r_ind_xion.dmi'
eyes = "xion_eyes"
flags = IS_IPC
passive_temp_gain = 5
@@ -367,3 +367,37 @@
/datum/species/machine/bishop/get_light_color(mob/living/carbon/human/H)
if (istype(H))
return rgb(H.r_eyes, H.g_eyes, H.b_eyes)
/datum/species/machine/unbranded
name = "Unbranded Frame"
short_name = "unbran"
name_plural = "Unbranded Frames"
blurb = "A simple and archaic robotic frame, used mostly as a temporary body before posibrains are transferred to any specialized chassis."
icobase = 'icons/mob/human_races/robotic.dmi'
deform = 'icons/mob/human_races/robotic.dmi'
eyes = "eyes_s"
bald = 1
appearance_flags = HAS_EYE_COLOR
spawn_flags = IS_RESTRICTED
has_limbs = list(
"chest" = list("path" = /obj/item/organ/external/chest/unbranded),
"groin" = list("path" = /obj/item/organ/external/groin/unbranded),
"head" = list("path" = /obj/item/organ/external/head/unbranded),
"l_arm" = list("path" = /obj/item/organ/external/arm/unbranded),
"r_arm" = list("path" = /obj/item/organ/external/arm/right/unbranded),
"l_leg" = list("path" = /obj/item/organ/external/leg/unbranded),
"r_leg" = list("path" = /obj/item/organ/external/leg/right/unbranded),
"l_hand" = list("path" = /obj/item/organ/external/hand/unbranded),
"r_hand" = list("path" = /obj/item/organ/external/hand/right/unbranded),
"l_foot" = list("path" = /obj/item/organ/external/foot/unbranded),
"r_foot" = list("path" = /obj/item/organ/external/foot/right/unbranded)
)
/datum/species/machine/unbranded/get_light_color(mob/living/carbon/human/H)
if (istype(H))
return rgb(H.r_eyes, H.g_eyes, H.b_eyes)