mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-23 03:56:27 +01:00
Adds transparency toggle
T = Transparent O = Opaque T Human: https://i.imgur.com/n22nM0s.png O Human: https://i.imgur.com/G4vquj3.png Blue O Human: https://i.imgur.com/C7Awtiu.png Blue T Human: https://i.imgur.com/CP2c8cl.png T Teshari: https://i.imgur.com/F44S64A.png O Teshari: https://i.imgur.com/lehB1KE.png T Unathi: https://i.imgur.com/SI41ghz.png O Unathi: https://i.imgur.com/d1gxWJW.png T Nevrean: https://i.imgur.com/a60UL1V.png O Nevrean: https://i.imgur.com/9ttWrJK.png O Sergal: https://i.imgur.com/MXk8crF.png T Sergal: https://i.imgur.com/uRtSg2n.png
This commit is contained in:
committed by
noah the goodra
parent
19f75ac308
commit
281fe55dcd
@@ -1,6 +1,7 @@
|
||||
//Sideways override for nanoform limbs (ugh)
|
||||
/obj/item/organ/external/robotize(var/company, var/skip_prosthetics = FALSE, var/keep_organs = FALSE)
|
||||
var/original_robotic = robotic
|
||||
var/transparent = 0 //For better slime limbs
|
||||
if(original_robotic >= ORGAN_NANOFORM)
|
||||
var/o_encased = encased
|
||||
var/o_max_damage = max_damage
|
||||
|
||||
@@ -190,7 +190,7 @@ var/global/list/limb_icon_cache = list()
|
||||
|
||||
/obj/item/organ/external/proc/apply_colouration(var/icon/applying)
|
||||
|
||||
if(nonsolid)
|
||||
if(transparent) //VOREStation Edit
|
||||
applying.MapColors("#4D4D4D","#969696","#1C1C1C", "#000000")
|
||||
if(species && species.get_bodytype(owner) != SPECIES_HUMAN)
|
||||
applying.SetIntensity(1) // Unathi, Taj and Skrell have -very- dark base icons. VOREStation edit fixes this and brings the number back to 1
|
||||
@@ -212,14 +212,14 @@ var/global/list/limb_icon_cache = list()
|
||||
//VOREStation Edit - Support for species.color_mult
|
||||
if(species && species.color_mult)
|
||||
applying.Blend(rgb(s_col[1], s_col[2], s_col[3]), ICON_MULTIPLY)
|
||||
icon_cache_key += "_color_[s_col[1]]_[s_col[2]]_[s_col[3]]_[ICON_MULTIPLY]"
|
||||
icon_cache_key += "_color_[s_col[1]]_[s_col[2]]_[s_col[3]]_[transparent]_[ICON_MULTIPLY]"
|
||||
else
|
||||
applying.Blend(rgb(s_col[1], s_col[2], s_col[3]), ICON_ADD)
|
||||
icon_cache_key += "_color_[s_col[1]]_[s_col[2]]_[s_col[3]]_[ICON_ADD]"
|
||||
icon_cache_key += "_color_[s_col[1]]_[s_col[2]]_[s_col[3]]_[transparent]_[ICON_ADD]"
|
||||
//VOREStation Edit End
|
||||
|
||||
// Translucency.
|
||||
if(nonsolid) applying += rgb(,,,180) // SO INTUITIVE TY BYOND
|
||||
if(transparent) applying += rgb(,,,180) // SO INTUITIVE TY BYOND //VOREStation Edit
|
||||
|
||||
return applying
|
||||
|
||||
|
||||
@@ -1,22 +1,43 @@
|
||||
/obj/item/organ/external/chest/unbreakable/slime
|
||||
transparent = 1
|
||||
max_damage = 50
|
||||
|
||||
/obj/item/organ/external/groin/unbreakable/slime
|
||||
transparent = 1
|
||||
max_damage = 30
|
||||
|
||||
/obj/item/organ/external/arm/unbreakable/slime
|
||||
transparent = 1
|
||||
max_damage = 8
|
||||
|
||||
/obj/item/organ/external/arm/right/unbreakable/slime
|
||||
transparent = 1
|
||||
max_damage = 8
|
||||
|
||||
/obj/item/organ/external/leg/unbreakable/slime
|
||||
transparent = 1
|
||||
max_damage = 8
|
||||
|
||||
/obj/item/organ/external/leg/right/unbreakable/slime
|
||||
transparent = 1
|
||||
max_damage = 8
|
||||
|
||||
/obj/item/organ/external/foot/unbreakable/slime
|
||||
transparent = 1
|
||||
max_damage = 8
|
||||
|
||||
/obj/item/organ/external/foot/right/unbreakable/slime
|
||||
transparent = 1
|
||||
max_damage = 8
|
||||
|
||||
/obj/item/organ/external/hand/unbreakable/slime
|
||||
transparent = 1
|
||||
max_damage = 8
|
||||
|
||||
/obj/item/organ/external/hand/right/unbreakable/slime
|
||||
transparent = 1
|
||||
max_damage = 8
|
||||
|
||||
/obj/item/organ/external/head/unbreakable/slime
|
||||
transparent = 1
|
||||
max_damage = 8
|
||||
|
||||
Reference in New Issue
Block a user