Fixes synths and sets null post-load prefs

Fixes digestion button missing, and synths overheating in a belly, and synth custom species
This commit is contained in:
Arokha Sieyes
2016-05-18 01:36:14 -04:00
parent 0294c858da
commit 3cd660d79d
6 changed files with 14 additions and 7 deletions
@@ -41,7 +41,10 @@
var/is_synth = isSynthetic()
if(!(skipjumpsuit && skipface))
if(is_synth)
if(src.custom_species)
msg += ", a <b>[src.custom_species]</b>"
else if(is_synth)
var/use_gender = "a synthetic"
if(gender == MALE)
use_gender = "an android"
@@ -50,8 +53,6 @@
msg += ", <b><font color='#555555'>[use_gender]!</font></b>"
else if(src.custom_species)
msg += ", a <b>[src.custom_species]</b>"
else if(species.name != "Human")
msg += ", <b><font color='[species.get_flesh_colour(src)]'>\a [species.get_examine_name()]!</font></b>"
@@ -563,7 +563,6 @@
/mob/living/carbon/human/handle_environment(datum/gas_mixture/environment)
if(!environment)
return
if(isliving(loc)) return //VOREStation Code - Ignore environments inside people
//Stuff like the xenomorph's plasma regen happens here.
species.handle_environment_special(src)
+1 -2
View File
@@ -6,8 +6,7 @@ var/datum/robolimb/basic_robolimb
basic_robolimb = new()
for(var/limb_type in typesof(/datum/robolimb))
var/datum/robolimb/R = new limb_type()
if(!R.unavailable_to_produce) //VOREStation Edit
all_robolimbs[R.company] = R
all_robolimbs[R.company] = R
if(!R.unavailable_at_chargen)
chargen_robolimbs[R.company] = R
+1 -1
View File
@@ -8,4 +8,4 @@
icon = 'icons/mob/human_races/cyberlimbs/kitsuhana.dmi'
includes_tail = 1
unavailable_to_produce = 1
//unavailable_at_chargen = 1
unavailable_at_chargen = 1
+3
View File
@@ -360,6 +360,9 @@
// Magical pred-air breathing for inside preds
// overrides a proc defined on atom called by breathe.dm
//
/mob/living/return_air()
return return_air_for_internal_lifeform()
/mob/living/return_air_for_internal_lifeform()
//Free air until someone wants to code processing it for reals from predbreaths
var/datum/gas_mixture/belly_air/air = new(1000)
+5
View File
@@ -102,6 +102,11 @@ V::::::V V::::::VO:::::::OOO:::::::ORR:::::R R:::::REE::::::EEEEEE
S["digestable"] >> digestable
S["belly_prefs"] >> belly_prefs
if(isnull(digestable))
digestable = 1
if(isnull(belly_prefs))
belly_prefs = list()
return 1
/datum/vore_preferences/proc/save_vore()