Skip to content

Commit

Permalink
Add Skrell blood types
Browse files Browse the repository at this point in the history
  • Loading branch information
MarinaGryphon committed Dec 4, 2021
1 parent 2df37ed commit e831385
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 1 deletion.
1 change: 1 addition & 0 deletions mods/species/skrell/_skrell.dme
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define MODPACK_SKRELL
#include "_skrell.dm"
#include "datum/accessory.dm"
#include "datum/blood.dm"
#include "datum/culture.dm"
#include "datum/descriptor.dm"
#include "datum/emotes.dm"
Expand Down
58 changes: 58 additions & 0 deletions mods/species/skrell/datum/blood.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
/decl/blood_type/skrell
abstract_type = /decl/blood_type/skrell
splatter_colour = "#1d2cbf"
antigens = list("Y", "Z", "Ph")

/decl/blood_type/skrell/yplus
name = "Y+"
antigens = list("Y", "Ph")
random_weighting = 28

/decl/blood_type/skrell/yminus
name = "Y-"
antigens = list("Y")
random_weighting = 3

/decl/blood_type/skrell/zplus
name = "Z+"
antigens = list("Z", "Ph")
random_weighting = 20

/decl/blood_type/skrell/zminus
name = "Z-"
antigens = list("Z")

/decl/blood_type/skrell/yzplus
name = "YZ+"
antigens = list("Y", "Z", "Ph")
random_weighting = 5

/decl/blood_type/skrell/yzminus
name = "YZ-"
antigens = list("Y", "Z")

/decl/blood_type/skrell/noplus
name = "No+"
antigens = list("Ph")
random_weighting = 36

/decl/blood_type/skrell/nominus
name = "No-"
random_weighting = 4

/obj/item/chems/ivbag/blood/skrell_yplus
blood_type = "Y+"
/obj/item/chems/ivbag/blood/skrell_yminus
blood_type = "Y-"
/obj/item/chems/ivbag/blood/skrell_zplus
blood_type = "Z+"
/obj/item/chems/ivbag/blood/skrell_zminus
blood_type = "Z-"
/obj/item/chems/ivbag/blood/skrell_yzplus
blood_type = "YZ+"
/obj/item/chems/ivbag/blood/skrell_yzminus
blood_type = "YZ-"
/obj/item/chems/ivbag/blood/skrell_noplus
blood_type = "No+"
/obj/item/chems/ivbag/blood/skrell_nominus
blood_type = "No-"
12 changes: 11 additions & 1 deletion mods/species/skrell/datum/species.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,20 @@
appearance_flags = HAS_HAIR_COLOR | HAS_UNDERWEAR | HAS_SKIN_COLOR

flesh_color = "#8cd7a3"
blood_color = "#1d2cbf"
base_color = "#006666"
organs_icon = 'mods/species/skrell/icons/body/organs.dmi'

blood_types = list(
/decl/blood_type/skrell/yplus,
/decl/blood_type/skrell/yminus,
/decl/blood_type/skrell/zplus,
/decl/blood_type/skrell/zminus,
/decl/blood_type/skrell/yzplus,
/decl/blood_type/skrell/yzminus,
/decl/blood_type/skrell/noplus,
/decl/blood_type/skrell/nominus
)

cold_level_1 = 280 //Default 260 - Lower is better
cold_level_2 = 220 //Default 200
cold_level_3 = 130 //Default 120
Expand Down

0 comments on commit e831385

Please sign in to comment.