Adds two new event species

This commit is contained in:
ZomgPonies
2015-05-14 22:30:38 -04:00
parent ec5acc5e57
commit 95b1c1d87c
28 changed files with 927 additions and 142 deletions
+20
View File
@@ -326,6 +326,26 @@
key = "0"
syllables = list ("honk","squeak","bonk","toot","narf","zub","wee","wub","norf")
/datum/language/wryn
name = "Wryn Hivemind"
desc = "Wryn have the strange ability to commune over a psychic hivemind."
speech_verb = "chitters"
ask_verb = "chitters"
exclaim_verb = "chitters"
colour = "alien"
key = "y"
flags = RESTRICTED | HIVEMIND
/datum/language/wryn/check_special_condition(var/mob/other)
var/mob/living/carbon/M = other
if(!istype(M))
return 1
if(locate(/obj/item/organ/wryn/hivenode) in M.internal_organs)
return 1
return 0
/datum/language/xenocommon
name = "Xenomorph"
colour = "alien"
@@ -22,6 +22,9 @@
var/obj/mecha = null//This does not appear to be used outside of reference in mecha.dm.
attackby(var/obj/item/O as obj, var/mob/user as mob, params)
if(istype(O, /obj/item/organ/brain/crystal ))
user << "\red This brain is too malformed to be able to use with the [src]."
return
if(istype(O,/obj/item/organ/brain) && !brainmob) //Time to stick a brain in it --NEO
if(!O:brainmob)
user << "\red You aren't sure where this brain came from, but you're pretty sure it's a useless brain."
@@ -110,6 +110,14 @@
h_style = "Bald"
..(new_loc, "Golem")
/mob/living/carbon/human/wryn/New(var/new_loc)
h_style = "Antennae"
..(new_loc, "Wryn")
/mob/living/carbon/human/nucleation/New(var/new_loc)
h_style = "Nucleation Crystals"
..(new_loc, "Nucleation")
/mob/living/carbon/human/Bump(atom/movable/AM as mob|obj, yes)
if ((!( yes ) || now_pushing))
return
@@ -117,6 +117,30 @@
return
//end vampire codes
if(src.species.name == "Wryn")
if(src.handcuffed)
if(!(locate(src.internal_organs_by_name["antennae"]) in src.internal_organs)) return
var/turf/p_loc = M.loc
var/turf/p_loc_m = src.loc
M.visible_message("\blue [M] begins to violently pull off [src]'s antennae.")
src << "\red <B>[M] grips your antennae and starts violently pulling!<B>"
do_after(src, 250)
if(p_loc == M.loc && p_loc_m == src.loc)
del(src.internal_organs_by_name["antennae"])
src.remove_language("Wryn Hivemind")
new /obj/item/organ/wryn/hivenode(M.loc)
M << "\blue You hear a loud crunch as you mercilessly pull off [src]'s antennae."
src << "\red <B>You hear a loud crunch as your antennae is ripped off your head by [M].</B>"
src << "\red <B>Its so quiet...</B>"
src.h_style = "Bald"
src.update_hair()
M.attack_log += text("\[[time_stamp()]\] <font color='red'>removed antennae [src.name] ([src.ckey])</font>")
src.attack_log += text("\[[time_stamp()]\] <font color='orange'>Has had their antennae removed by [M.name] ([M.ckey])</font>")
msg_admin_attack("[key_name(M)] removed [key_name(src)]'s antennae")
return 0
M.do_attack_animation(src)
add_logs(src, M, "[pick(attack.attack_verb)]ed")
@@ -6,7 +6,29 @@
tally -= 2
if(species.slowdown)
tally = species.slowdown
if(src.species.name == "Wryn") //handles Wryn specific movement
if(!istype(get_turf(src), /turf/space)) //Space is 20c whut..
var/loc_temp = T0C
var/datum/gas_mixture/environment = loc.return_air()
if(istype(src.loc, /obj/mecha))
var/obj/mecha/M = src.loc
loc_temp = M.return_temperature()
else
loc_temp = environment.temperature
switch(loc_temp) //messy switch statement to assign the proper speed
if(0 to 213.15) tally = -6 //you deserve this, god speed to you
if(213.15 to 250.15) tally = -5 //must get colder..
if(260.15 to 273.15) tally = -4
if(273.15 to 283.15) tally = -3 //pretty fast, though will likely never happen
if(283.15 to 300.15) tally = 2 //slower than humans at normal room temperatures
if(300.15 to 310.15) tally = 5
if(317.15 to 400) tally = 8
else tally = 12 //Stop running into fire you stupid bug
else
tally = -7
else
tally = species.slowdown
if (istype(loc, /turf/space)) return -1 // It's hard to be slowed down in space by... anything
+10 -1
View File
@@ -264,6 +264,16 @@ var/global/list/brutefireloss_overlays = list("1" = image("icon" = 'icons/mob/sc
gene.OnMobLife(src)
if (radiation)
if((locate(src.internal_organs_by_name["resonant crystal"]) in src.internal_organs))
var/rads = radiation/25
radiation -= rads
radiation -= 0.1
reagents.add_reagent("radium", rads/10)
if( prob(10) )
src << "\blue You feel relaxed."
return
if (radiation > 100)
radiation = 100
if(!(species.flags & RAD_ABSORB))
@@ -276,7 +286,6 @@ var/global/list/brutefireloss_overlays = list("1" = image("icon" = 'icons/mob/sc
radiation = 0
else
if(species.flags & RAD_ABSORB)
var/rads = radiation/25
radiation -= rads
@@ -0,0 +1,87 @@
/datum/species/wryn
name = "Wryn"
icobase = 'icons/mob/human_races/r_wryn.dmi'
deform = 'icons/mob/human_races/r_wryn.dmi'
language = "Wryn Hivemind"
tail = "wryntail"
unarmed_type = /datum/unarmed_attack/punch/weak
primitive = /mob/living/carbon/monkey/wryn
darksight = 3
slowdown = 1
warning_low_pressure = -300
hazard_low_pressure = 1
blurb = "The wryn (r-in, singular r-in) are a humanoid race that possess many bee-like features. Originating from Alveare they \
have adapted extremely well to cold environments though have lost most of their muscles over generations.\
In order to communicate and work with multi-species crew Wryn were forced to take on names. Wryn have tended towards using only \
first names, these names are generally simplistic and easy to pronounce. Wryn have rarely had to communicate using their mouths, \
so in order to integrate with the multi-species crew they have been taught broken sol?."
cold_level_1 = 200 //Default 260 - Lower is better
cold_level_2 = 150 //Default 200
cold_level_3 = 115 //Default 120
heat_level_1 = 300 //Default 360 - Higher is better
heat_level_2 = 310 //Default 400
heat_level_3 = 317 //Default 1000
body_temperature = 286
has_organ = list(
"heart" = /obj/item/organ/heart,
"brain" = /obj/item/organ/brain,
"eyes" = /obj/item/organ/eyes,
"appendix" = /obj/item/organ/appendix,
"antennae" = /obj/item/organ/wryn/hivenode
)
flags = IS_WHITELISTED | HAS_LIPS | HAS_UNDERWEAR | NO_BREATHE | HAS_SKIN_COLOR | NO_SCAN | NO_SCAN | HIVEMIND
base_color = "#704300"
flesh_color = "#704300"
blood_color = "#FFFF99"
/datum/species/wryn/handle_death(var/mob/living/carbon/human/H)
for(var/mob/living/carbon/C in world)
if(locate(/obj/item/organ/wryn/hivenode) in C.internal_organs)
C << "\red <B>Your antennae tingle as you are overcome with pain...</B>"
C << "\red It feels like part of you has died."
/datum/species/nucleation
name = "Nucleation"
icobase = 'icons/mob/human_races/r_nucleation.dmi'
unarmed_type = /datum/unarmed_attack/punch
blurb = "A sub-race of unforunates who have been exposed to too much supermatter radiation. As a result, \
supermatter crystal clusters have begun to grow across their bodies. Research to find a cure for this ailment \
has been slow, and so this is a common fate for veteran engineers. The supermatter crystals produce oxygen, \
negating the need for the individual to breath. Their massive change in biology, however, renders most medicines \
obselete. Ionizing radiation seems to cause resonance in some of their crystals, which seems to encourage regeneration \
and produces a calming effect on the individual. Nucleations are highly stigmatized, and are treated much in the same \
way as lepers were back on Earth."
language = "Sol Common"
burn_mod = 4 // holy shite, poor guys wont survive half a second cooking smores
brute_mod = 2 // damn, double wham, double dam
flags = IS_WHITELISTED | NO_BREATHE | NO_BLOOD | NO_PAIN | HAS_LIPS | NO_SCAN
has_organ = list(
"heart" = /obj/item/organ/heart,
"crystalized brain" = /obj/item/organ/brain/crystal,
"eyes" = /obj/item/organ/eyes/luminescent_crystal,
"strange crystal" = /obj/item/organ/nucleation/strange_crystal,
"resonant crystal" = /obj/item/organ/nucleation/resonant_crystal
)
/datum/species/nucleation/handle_post_spawn(var/mob/living/carbon/human/H)
H.light_color = "#1C1C00"
H.set_light(2)
return ..()
/datum/species/nucleation/handle_death(var/mob/living/carbon/human/H)
var/turf/T = get_turf(H)
H.visible_message("\red[H]'s body explodes, leaving behind a pile of microscopic crystals!")
supermatter_delamination(T, 2, 0, 0) // Create a small supermatter burst upon death
new /obj/item/weapon/shard/supermatter( T )
del(H)
@@ -38,6 +38,13 @@
icon_state = "stokkey1"
uni_append = list(0x044,0xC5D) // 044C5D
/mob/living/carbon/monkey/wryn
name = "lajavi"
voice_name = "lajavi"
speak_emote = list("hisses")
icon_state = "wrynkey1"
uni_append = list(0x022,0xF5D) // 022F5D
/mob/living/carbon/monkey/New()
var/datum/reagents/R = new/datum/reagents(330)
reagents = R
@@ -745,6 +745,10 @@
/datum/unarmed_attack/punch
attack_verb = list("punch")
/datum/unarmed_attack/punch/weak
attack_verb = list("flail")
damage = 1
/datum/unarmed_attack/diona
attack_verb = list("lash", "bludgeon")
@@ -689,6 +689,51 @@
icon_state = "vox_keetquills"
species_allowed = list("Vox")
// Apollo-specific
//Wryn antennae
wry_antennae_default
name = "Antennae"
icon_state = "wryn_antennae"
species_allowed = list("Wryn")
//Nucleation "hairstyles"
nuc_crystals
name = "Nucleation Crystals"
icon_state = "nuc_crystal"
species_allowed = list("Nucleation")
nuc_betaburns
name = "Nucleation Beta Burns"
icon_state = "nuc_betaburns"
species_allowed = list("Nucleation")
nuc_fallout
name = "Nucleation Fallout"
icon_state = "nuc_fallout"
species_allowed = list("Nucleation")
nuc_frission
name = "Nucleation Frission"
icon_state = "nuc_frission"
species_allowed = list("Nucleation")
nuc_radical
name = "Nucleation Free Radical"
icon_state = "nuc_radical"
species_allowed = list("Nucleation")
nuc_gammaray
name = "Nucleation Gamma Ray"
icon_state = "nuc_gammaray"
species_allowed = list("Nucleation")
nuc_neutron
name = "Nucleation Neutron Bomb"
icon_state = "nuc_neutron"
species_allowed = list("Nucleation")
/datum/sprite_accessory/facial_hair