mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 18:22:14 +00:00
@@ -1,15 +1,15 @@
|
|||||||
/// Maximum an Hemophage will drain, they will drain less if they hit their cap.
|
/// Maximum an Hemophage will drain, they will drain less if they hit their cap.
|
||||||
#define HEMOPHAGE_DRAIN_AMOUNT 50
|
#define HEMOPHAGE_DRAIN_AMOUNT 75 //Hemophages are now more lethal when they drain living people. This changes the charge of unwilling feeding to assault by proxy, instead of battery - Bubberstation change
|
||||||
/// How much blood do Hemophages normally lose per second (visible effect is every two seconds, so twice this value).
|
/// How much blood do Hemophages normally lose per second (visible effect is every two seconds, so twice this value).
|
||||||
#define NORMAL_BLOOD_DRAIN 0.125
|
#define NORMAL_BLOOD_DRAIN 0.150 //.025 increase to make them need more blood.
|
||||||
/// Minimum amount of blood that you can reach via blood regeneration, regeneration will stop below this.
|
/// Minimum amount of blood that you can reach via blood regeneration, regeneration will stop below this.
|
||||||
#define MINIMUM_VOLUME_FOR_REGEN (BLOOD_VOLUME_BAD + 1) // We do this to avoid any jankiness, and because we want to ensure that they don't fall into a state where they're constantly passing out in a locker.
|
#define MINIMUM_VOLUME_FOR_REGEN (BLOOD_VOLUME_BAD + 1) // We do this to avoid any jankiness, and because we want to ensure that they don't fall into a state where they're constantly passing out in a locker.
|
||||||
/// Minimum amount of light for Hemophages to be considered in pure darkness, and therefore be allowed to heal just like in a closet.
|
/// Minimum amount of light for Hemophages to be considered in pure darkness, and therefore be allowed to heal just like in a closet.
|
||||||
#define MINIMUM_LIGHT_THRESHOLD_FOR_REGEN 0
|
#define MINIMUM_LIGHT_THRESHOLD_FOR_REGEN 0
|
||||||
/// How much organ damage do all hemophage organs take per second when the tumor is removed?
|
/// How much organ damage do all hemophage organs take per second when the tumor is removed?
|
||||||
#define TUMORLESS_ORGAN_DAMAGE 5
|
#define TUMORLESS_ORGAN_DAMAGE 10
|
||||||
/// How much damage can their organs take at maximum when the tumor isn't present anymore?
|
/// How much damage can their organs take at maximum when the tumor isn't present anymore?
|
||||||
#define TUMORLESS_ORGAN_DAMAGE_MAX 100
|
#define TUMORLESS_ORGAN_DAMAGE_MAX 200 //Yeah you need that tumor -Bubberstation change
|
||||||
|
|
||||||
/// Some starter text sent to the Hemophage initially, because Hemophages have shit to do to stay alive.
|
/// Some starter text sent to the Hemophage initially, because Hemophages have shit to do to stay alive.
|
||||||
#define HEMOPHAGE_SPAWN_TEXT "You are an [span_danger("Hemophage")]. You will slowly but constantly lose blood if outside of a closet-like object. If inside a closet-like object, or in pure darkness, you will slowly heal, at the cost of blood. You may gain more blood by grabbing a live victim and using your drain ability."
|
#define HEMOPHAGE_SPAWN_TEXT "You are an [span_danger("Hemophage")]. You will slowly but constantly lose blood if outside of a closet-like object. If inside a closet-like object, or in pure darkness, you will slowly heal, at the cost of blood. You may gain more blood by grabbing a live victim and using your drain ability."
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
/// The message displayed in the hemophage's chat when they leave their dormant state.
|
/// The message displayed in the hemophage's chat when they leave their dormant state.
|
||||||
#define DORMANT_STATE_END_MESSAGE "You feel a rush through your veins, as you can tell your tumor is pulsating at a regular pace once again. You no longer feel incredibly vulnerable, and exercise isn't as difficult anymore."
|
#define DORMANT_STATE_END_MESSAGE "You feel a rush through your veins, as you can tell your tumor is pulsating at a regular pace once again. You no longer feel incredibly vulnerable, and exercise isn't as difficult anymore."
|
||||||
/// How high should the damage multiplier to the Hemophage be when they're in a dormant state?
|
/// How high should the damage multiplier to the Hemophage be when they're in a dormant state?
|
||||||
#define DORMANT_DAMAGE_MULTIPLIER 3
|
#define DORMANT_DAMAGE_MULTIPLIER 1.5 //Dormancy shouldn't be a 3x damage multiplier from all sources -Bubberstation change.
|
||||||
/// By how much the blood drain will be divided when the tumor is in a dormant state.
|
/// By how much the blood drain will be divided when the tumor is in a dormant state.
|
||||||
#define DORMANT_BLOODLOSS_MULTIPLIER 10
|
#define DORMANT_BLOODLOSS_MULTIPLIER 10
|
||||||
|
|
||||||
@@ -57,6 +57,7 @@
|
|||||||
HAIR,
|
HAIR,
|
||||||
FACEHAIR,
|
FACEHAIR,
|
||||||
LIPS,
|
LIPS,
|
||||||
|
MUTCOLORS,
|
||||||
DRINKSBLOOD,
|
DRINKSBLOOD,
|
||||||
)
|
)
|
||||||
inherent_traits = list(
|
inherent_traits = list(
|
||||||
@@ -69,15 +70,26 @@
|
|||||||
TRAIT_LITERATE,
|
TRAIT_LITERATE,
|
||||||
)
|
)
|
||||||
inherent_biotypes = MOB_HUMANOID
|
inherent_biotypes = MOB_HUMANOID
|
||||||
mutant_bodyparts = list("wings" = "None")
|
mutant_bodyparts = list()
|
||||||
|
default_mutant_bodyparts = list(
|
||||||
|
"tail" = "None",
|
||||||
|
"snout" = "None",
|
||||||
|
"horns" = "None",
|
||||||
|
"ears" = "None",
|
||||||
|
"legs" = "None",
|
||||||
|
"taur" = "None",
|
||||||
|
"fluff" = "None",
|
||||||
|
"wings" = "None",
|
||||||
|
"head_acc" = "None",
|
||||||
|
"neck_acc" = "None"
|
||||||
|
)
|
||||||
exotic_bloodtype = "U"
|
exotic_bloodtype = "U"
|
||||||
use_skintones = TRUE
|
use_skintones = FALSE
|
||||||
mutantheart = /obj/item/organ/internal/heart/hemophage
|
mutantheart = /obj/item/organ/internal/heart/hemophage
|
||||||
mutantliver = /obj/item/organ/internal/liver/hemophage
|
mutantliver = /obj/item/organ/internal/liver/hemophage
|
||||||
mutantstomach = /obj/item/organ/internal/stomach/hemophage
|
mutantstomach = /obj/item/organ/internal/stomach/hemophage
|
||||||
mutanttongue = /obj/item/organ/internal/tongue/hemophage
|
mutanttongue = /obj/item/organ/internal/tongue/hemophage
|
||||||
changesource_flags = MIRROR_BADMIN | WABBAJACK | MIRROR_MAGIC | MIRROR_PRIDE | ERT_SPAWN | RACE_SWAP | SLIME_EXTRACT
|
changesource_flags = MIRROR_BADMIN | WABBAJACK | MIRROR_MAGIC | MIRROR_PRIDE | ERT_SPAWN | RACE_SWAP | SLIME_EXTRACT
|
||||||
examine_limb_id = SPECIES_HUMAN
|
|
||||||
skinned_type = /obj/item/stack/sheet/animalhide/human
|
skinned_type = /obj/item/stack/sheet/animalhide/human
|
||||||
/// Current multiplier for how fast their blood drains on spec_life(). Higher values mean it goes down faster.
|
/// Current multiplier for how fast their blood drains on spec_life(). Higher values mean it goes down faster.
|
||||||
var/bloodloss_speed_multiplier = 1
|
var/bloodloss_speed_multiplier = 1
|
||||||
@@ -85,8 +97,15 @@
|
|||||||
var/blood_to_health_multiplier = 1
|
var/blood_to_health_multiplier = 1
|
||||||
/// The current status of our tumor. If PULSATING_TUMOR_MISSING, all tumor-corrupted organs will start to decay rapidly. If PULSATING_TUMOR_INACTIVE, no enhanced regeneration.
|
/// The current status of our tumor. If PULSATING_TUMOR_MISSING, all tumor-corrupted organs will start to decay rapidly. If PULSATING_TUMOR_INACTIVE, no enhanced regeneration.
|
||||||
var/tumor_status = PULSATING_TUMOR_MISSING
|
var/tumor_status = PULSATING_TUMOR_MISSING
|
||||||
|
bodypart_overrides = list(
|
||||||
|
BODY_ZONE_HEAD = /obj/item/bodypart/head/mutant,
|
||||||
|
BODY_ZONE_CHEST = /obj/item/bodypart/chest/mutant,
|
||||||
|
BODY_ZONE_L_ARM = /obj/item/bodypart/arm/left/mutant,
|
||||||
|
BODY_ZONE_R_ARM = /obj/item/bodypart/arm/right/mutant,
|
||||||
|
BODY_ZONE_L_LEG = /obj/item/bodypart/leg/left/mutant,
|
||||||
|
BODY_ZONE_R_LEG = /obj/item/bodypart/leg/right/mutant,
|
||||||
|
) //Bubberstation change. Allows them to use the mutant bodyparts of other species like anthromorph.
|
||||||
|
|
||||||
veteran_only = TRUE
|
|
||||||
|
|
||||||
|
|
||||||
/datum/species/hemophage/check_roundstart_eligible()
|
/datum/species/hemophage/check_roundstart_eligible()
|
||||||
@@ -473,7 +492,7 @@
|
|||||||
to_chat(hemophage, span_warning("[victim] reeks of garlic! You can't bring yourself to drain such tainted blood."))
|
to_chat(hemophage, span_warning("[victim] reeks of garlic! You can't bring yourself to drain such tainted blood."))
|
||||||
return
|
return
|
||||||
|
|
||||||
if(!do_after(hemophage, 3 SECONDS, target = victim))
|
if(!do_after(hemophage, 6 SECONDS, target = victim)) //Takes a lot more time. Stops people from just abusing it.
|
||||||
hemophage.balloon_alert(hemophage, "stopped feeding")
|
hemophage.balloon_alert(hemophage, "stopped feeding")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user