Vaurca Update

Vaurca for ne code, now with better sprites
This commit is contained in:
Lord Lag
2016-01-20 19:50:19 +00:00
parent ec73203bd5
commit ee583b913d
16 changed files with 212 additions and 9 deletions
+28
View File
@@ -379,3 +379,31 @@
/obj/item/organ/external/head/slime
cannot_break = 1
dislocated = -1
//VAURCA ORGANS
/obj/item/organ/vaurca/neuralsocket
name = "neural socket"
organ_tag = "neural socket"
icon = 'icons/mob/alien.dmi'
icon_state = "neural_socket"
/obj/item/organ/vaurca/neuralsocket/removed()
return
/obj/item/organ/vaurca/breathingapparatus
name = "breathing apparatus"
organ_tag = "breathing apparatus"
icon = 'icons/mob/alien.dmi'
icon_state = "breathing_app"
/obj/item/organ/vaurca/breathingapparatus/removed()
return
/obj/item/organ/vaurca/tracheae
name = "tracheae"
organ_tag = "tracheae"
icon = 'icons/mob/alien.dmi'
icon_state = "tracheae"
/obj/item/organ/vaurca/tracheae/removed()
return
+9 -3
View File
@@ -258,7 +258,7 @@
createwound(BURN, min(burn,can_inflict))
//How much burn damage is left to inflict
spillover += max(0, burn - can_inflict)
//If there are still hurties to dispense
if (spillover)
owner.shock_stage += spillover * config.organ_damage_spillover_multiplier
@@ -275,7 +275,7 @@
//2. If the damage amount dealt exceeds the disintegrate threshold, the organ is completely obliterated.
//3. If the organ has already reached or would be put over it's max damage amount (currently redundant),
// and the brute damage dealt exceeds the tearoff threshold, the organ is torn off.
//Check edge eligibility
var/edge_eligible = 0
if(edge)
@@ -557,7 +557,7 @@ Note that amputating the affected organ does in fact remove the infection from t
//Updating wounds. Handles wound natural I had some free spachealing, internal bleedings and infections
/obj/item/organ/external/proc/update_wounds()
if((status & ORGAN_ROBOT)) //Robotic limbs don't heal or get worse.
if((status & ORGAN_ROBOT) || (status & ORGAN_ADV_ROBOT)) //Robotic limbs don't heal or get worse.
return
for(var/datum/wound/W in wounds)
@@ -890,6 +890,12 @@ Note that amputating the affected organ does in fact remove the infection from t
if(T)
T.robotize()
/obj/item/organ/external/proc/robotize_advanced()
status |= ORGAN_ADV_ROBOT
for (var/obj/item/organ/external/T in children)
if (T)
T.robotize_advanced()
/obj/item/organ/external/proc/mutate()
if(src.status & ORGAN_ROBOT)
return
+16
View File
@@ -165,3 +165,19 @@
icon_state = "appendixinflamed"
name = "inflamed appendix"
..()
//VAURCA ORGANS
/obj/item/organ/vaurca/neuralsocket
name = "neural socket"
parent_organ = "head"
robotic = 2
/obj/item/organ/vaurca/breathingapparatus
name = "breathing apparatus"
parent_organ = "chest"
robotic = 2
/obj/item/organ/internal/vaurca/process()
return