Synthetic Reagent Processing and Synth Drugs

This commit is contained in:
FalseIncarnate
2015-06-23 04:17:01 -04:00
parent bf2c6f7927
commit acf1e268f1
18 changed files with 380 additions and 53 deletions
+2 -5
View File
@@ -744,11 +744,8 @@ var/global/list/brutefireloss_overlays = list("1" = image("icon" = 'icons/mob/sc
proc/handle_chemicals_in_body()
if(reagents) //Synths don't process reagents. // fuck you they do now - Iamgoofball
var/alien = 0
if(species && species.reagent_tag)
alien = species.reagent_tag
reagents.metabolize(src,alien)
if(reagents)
reagents.metabolize(src)
if(status_flags & GODMODE) return 0 //godmode
@@ -37,6 +37,7 @@
flags = IS_WHITELISTED | HAS_LIPS | HAS_UNDERWEAR | NO_BREATHE | HAS_SKIN_COLOR | NO_SCAN | NO_SCAN | HIVEMIND
dietflags = DIET_HERB //bees feed off nectar, so bee people feed off plants too
reagent_tag = PROCESS_ORG
base_color = "#704300"
flesh_color = "#704300"
blood_color = "#FFFF99"
@@ -90,6 +91,7 @@
flags = IS_WHITELISTED | NO_BREATHE | NO_BLOOD | NO_PAIN | HAS_LIPS | NO_SCAN
dietflags = DIET_OMNI //still human at their core, so they maintain their eating habits and diet
reagent_tag = PROCESS_ORG
has_organ = list(
"heart" = /obj/item/organ/heart,
"crystalized brain" = /obj/item/organ/brain/crystal,
@@ -7,6 +7,7 @@
default_language = "Galactic Common"
flags = NO_BREATHE | NO_PAIN | NO_BLOOD | NO_SCAN
dietflags = DIET_OMNI //golems can eat anything because they are magic or something
reagent_tag = PROCESS_DUO //golems only process a select few chems like acid and hellwater because magic?
blood_color = "#515573"
flesh_color = "#137E8F"
@@ -19,6 +19,7 @@
tail = "chimptail"
bodyflags = FEET_PADDED | HAS_TAIL
reagent_tag = PROCESS_ORG
//unarmed_types = list(/datum/unarmed_attack/bite, /datum/unarmed_attack/claws)
//inherent_verbs = list(/mob/living/proc/ventcrawl)
@@ -60,6 +61,7 @@ datum/species/monkey/get_random_name(var/gender)
flesh_color = "#AFA59E"
base_color = "#333333"
tail = "farwatail"
reagent_tag = PROCESS_ORG
/datum/species/monkey/vulpkanin
@@ -73,6 +75,7 @@ datum/species/monkey/get_random_name(var/gender)
flesh_color = "#966464"
base_color = "#BE8264"
tail = "wolpintail"
reagent_tag = PROCESS_ORG
/datum/species/monkey/skrell
@@ -85,7 +88,7 @@ datum/species/monkey/get_random_name(var/gender)
default_language = "Neara"
flesh_color = "#8CD7A3"
blood_color = "#1D2CBF"
reagent_tag = IS_SKRELL
reagent_tag = PROCESS_ORG
tail = null
bodyflags = FEET_PADDED
@@ -102,6 +105,6 @@ datum/species/monkey/get_random_name(var/gender)
default_language = "Stok"
flesh_color = "#34AF10"
base_color = "#066000"
reagent_tag = IS_UNATHI
reagent_tag = PROCESS_ORG
bodyflags = FEET_CLAWS | HAS_TAIL
@@ -7,6 +7,7 @@
flags = IS_WHITELISTED | NO_BLOOD
dietflags = DIET_OMNI
reagent_tag = PROCESS_ORG
//default_mutations=list(SKELETON) // This screws things up
@@ -19,6 +19,7 @@
flags = NO_BLOOD | NO_BREATHE | NO_SCAN
bodyflags = FEET_NOSLIP
dietflags = DIET_OMNI //the mutation process allowed you to now digest all foods regardless of initial race
reagent_tag = PROCESS_ORG
/datum/species/shadow/handle_death(var/mob/living/carbon/human/H)
H.dust()
@@ -15,6 +15,8 @@
interests, rampant cyber and bio-augmentation and secretive factions make life on most human \
worlds tumultous at best."
reagent_tag = PROCESS_ORG
/datum/species/unathi
name = "Unathi"
icobase = 'icons/mob/human_races/r_lizard.dmi'
@@ -48,7 +50,7 @@
flesh_color = "#34AF10"
reagent_tag = IS_UNATHI
reagent_tag = PROCESS_ORG
base_color = "#066000"
/datum/species/unathi/handle_death(var/mob/living/carbon/human/H)
@@ -87,6 +89,7 @@
bodyflags = FEET_PADDED | HAS_TAIL | HAS_SKIN_COLOR | TAIL_WAGGING
dietflags = DIET_OMNI
reagent_tag = PROCESS_ORG
flesh_color = "#AFA59E"
base_color = "#333333"
@@ -116,6 +119,7 @@
bodyflags = FEET_PADDED | HAS_TAIL | HAS_SKIN_COLOR | TAIL_WAGGING
dietflags = DIET_OMNI
reagent_tag = PROCESS_ORG
flesh_color = "#966464"
base_color = "#BE8264"
@@ -145,7 +149,7 @@
flesh_color = "#8CD7A3"
blood_color = "#1D2CBF"
reagent_tag = IS_SKRELL
reagent_tag = PROCESS_ORG
/datum/species/vox
name = "Vox"
@@ -185,7 +189,7 @@
blood_color = "#2299FC"
flesh_color = "#808D11"
reagent_tag = IS_VOX
reagent_tag = PROCESS_ORG
makeName(var/gender,var/mob/living/carbon/human/H=null)
var/sounds = rand(2,8)
@@ -239,7 +243,7 @@
blood_color = "#2299FC"
flesh_color = "#808D11"
reagent_tag = IS_VOX
reagent_tag = PROCESS_ORG
tail = "armalis_tail"
icon_template = 'icons/mob/human_races/r_armalis.dmi'
@@ -270,7 +274,7 @@
dietflags = DIET_HERB
blood_color = "#FB9800"
reagent_tag = PROCESS_ORG
/datum/species/slime
name = "Slime People"
@@ -286,6 +290,7 @@
bloodflags = BLOOD_SLIME
dietflags = DIET_CARN
reagent_tag = PROCESS_ORG
//ventcrawler = 1 //ventcrawling commented out
has_organ = list(
@@ -310,6 +315,7 @@
flags = IS_WHITELISTED | HAS_LIPS | HAS_UNDERWEAR | CAN_BE_FAT
dietflags = DIET_HERB
reagent_tag = PROCESS_ORG
blood_color = "#A200FF"
/datum/species/grey/handle_dna(var/mob/living/carbon/C, var/remove)
@@ -363,7 +369,7 @@
blood_color = "#004400"
flesh_color = "#907E4A"
reagent_tag = IS_DIONA
reagent_tag = PROCESS_ORG
has_organ = list(
"nutrient channel" = /obj/item/organ/diona/nutrients,
@@ -445,6 +451,7 @@
dietflags = 0 //IPCs can't eat, so no diet
blood_color = "#1F181F"
flesh_color = "#AAAAAA"
reagent_tag = PROCESS_SYN
/datum/species/machine/handle_death(var/mob/living/carbon/human/H)
H.emote("deathgasp")
@@ -202,9 +202,15 @@
user.visible_message("<span class='notice'> [user] has analyzed [M]'s components.","<span class='notice'> You have analyzed [M]'s components.")
var/BU = M.getFireLoss() > 50 ? "<b>[M.getFireLoss()]</b>" : M.getFireLoss()
var/BR = M.getBruteLoss() > 50 ? "<b>[M.getBruteLoss()]</b>" : M.getBruteLoss()
var/TX = M.getToxLoss() > 50 ? "<b>[M.getToxLoss()]</b>" : M.getToxLoss()
user.show_message("\blue Analyzing Results for [M]:\n\t Overall Status: [M.stat > 1 ? "fully disabled" : "[M.health - M.halloss]% functional"]")
user.show_message("\t Key: <font color='#FFA500'>Electronics</font>/<font color='red'>Brute</font>", 1)
user.show_message("\t Damage Specifics: <font color='#FFA500'>[BU]</font> - <font color='red'>[BR]</font>")
if (ishuman(M) && (M:species.flags & IS_SYNTHETIC))
user.show_message("\t Key: <font color='#FFA500'>Electronics</font>/<font color='red'>Brute</font>/<font color='green'>Residue</font>", 1)
user.show_message("\t Damage Specifics: <font color='#FFA500'>[BU]</font> - <font color='red'>[BR]</font> - <font color='green'>[TX]</font>")
else
user.show_message("\t Key: <font color='#FFA500'>Electronics</font>/<font color='red'>Brute</font>", 1)
user.show_message("\t Damage Specifics: <font color='#FFA500'>[BU]</font> - <font color='red'>[BR]</font>")
if(M.tod && M.stat == DEAD)
user.show_message("\blue Time of Disable: [M.tod]")
@@ -238,6 +244,12 @@
(org.burn_dam > 0) ? "<font color='#FFA500'>[org.burn_dam]</font>" :0),1)
else
user.show_message("\blue \t Components are OK.",1)
if (M.getBrainLoss() >= 100 || istype(M, /mob/living/carbon/human) && M:brain_op_stage == 4.0)
user.show_message("\red Subject posibrain is unresponsive. System shutdown imminent.")
else if (M.getBrainLoss() >= 60)
user.show_message("\red Severe posibrain damage detected. Heavy corrosion present.")
else if (M.getBrainLoss() >= 10)
user.show_message("\red Significant posibrain damage detected. Moderate corrosion present.")
user.show_message("\blue Operating Temperature: [M.bodytemperature-T0C]&deg;C ([M.bodytemperature*1.8-459.67]&deg;F)", 1)