The Epic Construction Update (#5976)

How to build machine blueprints!

Use steel sheets like normal, then rotate the frame how you like it using the directional arrow. From here use a Multitool to finalize it and then wire it up like you would before.
This commit is contained in:
Lady Fowl
2019-09-10 12:07:46 -07:00
committed by Erki
parent abd926b14a
commit d6ff38ef96
164 changed files with 2571 additions and 1055 deletions
+13 -5
View File
@@ -71,11 +71,19 @@ var/const/BLOOD_VOLUME_SURVIVE = 122
//The heartfix to end all heartfixes
if(species && species.has_organ["heart"])
var/obj/item/organ/heart/heart = internal_organs_by_name["heart"]
if(!heart)
blood_volume = 0
else if (heart.is_damaged())
blood_volume = min(BLOOD_VOLUME_SAFE - 1,blood_volume)
blood_volume = (BLOOD_VOLUME_SURVIVE + (BLOOD_VOLUME_NORMAL-BLOOD_VOLUME_SURVIVE) * max(1 - heart.damage/heart.min_broken_damage,0)) * (blood_volume/BLOOD_VOLUME_NORMAL)
// Before we do that, we check for lifesupport.
var/onlifesupport = 0
if (buckled && istype(buckled, /obj/machinery/optable/lifesupport))
var/obj/machinery/optable/lifesupport/A = buckled
onlifesupport = A.onlifesupport()
if (!onlifesupport)
if(!heart)
blood_volume = 0
else if (heart.is_damaged())
blood_volume = min(BLOOD_VOLUME_SAFE - 1,blood_volume)
blood_volume = (BLOOD_VOLUME_SURVIVE + (BLOOD_VOLUME_NORMAL-BLOOD_VOLUME_SURVIVE) * max(1 - heart.damage/heart.min_broken_damage,0)) * (blood_volume/BLOOD_VOLUME_NORMAL)
//Effects of bloodloss
if(blood_volume < BLOOD_VOLUME_SAFE && oxyloss < 100 * (1 - blood_volume/BLOOD_VOLUME_NORMAL))
+4 -1
View File
@@ -319,7 +319,7 @@
if(3.0)
take_damage(rand(3) * emp_coeff * organ_fragility)
/obj/item/organ/proc/removed(var/mob/living/user)
/obj/item/organ/proc/removed(var/mob/living/carbon/human/target,var/mob/living/user)
if(!istype(owner))
return
@@ -354,6 +354,9 @@
owner.update_action_buttons()
owner = null
if(!owner.isonlifesupport())
owner.death()
/obj/item/organ/proc/replaced(var/mob/living/carbon/human/target,var/obj/item/organ/external/affected)
if(!istype(target)) return
+8
View File
@@ -15,6 +15,14 @@
robotic_name = "circulatory pump"
robotic_sprite = "heart-prosthetic"
/obj/item/organ/heart/process()
//Check if we're on lifesupport, and whether or not organs should be processing.
if(owner && owner.isonlifesupport())
return 1
else
return 0
/obj/item/organ/lungs
name = "lungs"
icon_state = "lungs"