Egg transformation. A few bug fixes (#76)

* This compiles, has a debug in a few areas

But doesn't actually work in game

* This didn't go with the first sync. booo.

* Actually gets egg TF to work. Fixes spacesuit sprites

* Makes the borgs stomach show up

* More  bugfixes!
This commit is contained in:
Cameron653
2016-05-16 19:16:35 -04:00
committed by Arokha Sieyes
parent a223c7c6b7
commit d199552fa0
9 changed files with 721 additions and 1448 deletions
@@ -5,4 +5,9 @@
//This is for overriding tail rendering with a specific icon in icobase, for static
//tails only, since tails would wag when dead if you used this
var/icobase_tail = 0
var/icobase_tail = 0
//This is used for egg TF. It decides what type of egg the person will lay when they TF.
//Default to the normal and bland "egg" just in case a race isn't defined.
var/egg_type = "egg"
@@ -15,6 +15,7 @@
secondary_langs = list("Sagaru")
name_language = "Sagaru"
color_mult = 1
egg_type = "Sergal"
min_age = 17
max_age = 80
@@ -61,6 +62,7 @@
secondary_langs = list("Skrellian")
name_language = "Skrellian"
color_mult = 1
egg_type = "Akula"
min_age = 17
max_age = 80
@@ -100,6 +102,7 @@
secondary_langs = list("Birdsong")
name_language = "Birdsong"
color_mult = 1
egg_type = "Nevrean"
min_age = 17
max_age = 80
@@ -120,4 +123,22 @@
"Your fur prickles in the heat.",
"You feel uncomfortably warm.",
"Your overheated skin itches."
)
)
/datum/species/unathi
egg_type = "Unathi"
/datum/species/tajaran
egg_type = "Tajaran"
/datum/species/skrell
egg_type = "Skrell"
/datum/species/shapeshifter/promethean
egg_type = "Slime"
/datum/species/human
egg_type = "Human"
@@ -27,6 +27,7 @@
R.hands.icon = 'icons/mob/screen1_robot_vr.dmi'
R.icon_state = "k9"
R.pixel_x = -16
R.old_x = -16
..()
/obj/item/weapon/robot_module/knine/respawn_consumable(var/mob/living/silicon/robot/R, var/amount)
@@ -67,5 +68,6 @@
R.icon = 'icons/mob/widerobot_vr.dmi'
R.hands.icon = 'icons/mob/screen1_robot_vr.dmi'
R.icon_state = "medihound"
R.pixel_x = -16
R.pixel_x = -16
R.old_x = -16
..()
@@ -0,0 +1,32 @@
/mob/living/silicon/robot/updateicon()
overlays.Cut()
if(stat == CONSCIOUS)
overlays += "eyes-[module_sprites[icontype]]"
if(sleeper_g == 1)
overlays += "sleeper_g"
if(sleeper_r == 1)
overlays += "sleeper_r"
if(opened)
var/panelprefix = custom_sprite ? src.ckey : "ov"
if(wiresexposed)
overlays += "[panelprefix]-openpanel +w"
else if(cell)
overlays += "[panelprefix]-openpanel +c"
else
overlays += "[panelprefix]-openpanel -c"
if(module_active && istype(module_active,/obj/item/borg/combat/shield))
overlays += "[module_sprites[icontype]]-shield"
if(modtype == "Combat")
if(module_active && istype(module_active,/obj/item/borg/combat/mobility))
icon_state = "[module_sprites[icontype]]-roll"
else
icon_state = module_sprites[icontype]
return
if(stat == 0)
if(sleeper_g == 1)
overlays += "sleeper_g"
if(sleeper_r == 1)
overlays += "sleeper_r"
File diff suppressed because it is too large Load Diff