-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds TG mutations (pyrokinesis, adrenaline, mending touch)
- Loading branch information
Showing
12 changed files
with
285 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/datum/mutation/human/adrenaline_rush | ||
name = "Adrenaline Rush" | ||
desc = "Allows the host to trigger their body's adrenaline response at will." | ||
quality = POSITIVE | ||
text_gain_indication = span_notice("You feel pumped up!") | ||
// instability = POSITIVE_INSTABILITY_MODERATE // MONKESTATION EDIT OLD | ||
instability = 25 // MONKESTATION EDIT NEW -- AWAITING TG#83439 | ||
power_path = /datum/action/cooldown/adrenaline | ||
|
||
energy_coeff = 1 | ||
synchronizer_coeff = 1 | ||
power_coeff = 1 | ||
|
||
/datum/mutation/human/adrenaline_rush/modify() | ||
. = ..() | ||
var/datum/action/cooldown/adrenaline/to_modify = . | ||
if(!istype(to_modify)) // null or invalid | ||
return | ||
|
||
to_modify.adrenaline_amount = 10 * GET_MUTATION_POWER(src) | ||
to_modify.comedown_amount = 7 / GET_MUTATION_SYNCHRONIZER(src) | ||
|
||
/datum/action/cooldown/adrenaline | ||
name = "Adrenaline!" | ||
desc = "Energize yourself, pushing your body to its limits!" | ||
button_icon = 'icons/mob/actions/actions_genetic.dmi' | ||
button_icon_state = "adrenaline" | ||
|
||
cooldown_time = 2 MINUTES | ||
check_flags = AB_CHECK_CONSCIOUS | ||
/// How many units of each positive reagent injected during adrenaline. | ||
var/adrenaline_amount = 10 | ||
/// How many units of each negative reagent injected after comedown. | ||
var/comedown_amount = 7 | ||
|
||
|
||
/datum/action/cooldown/adrenaline/Activate(mob/living/carbon/cast_on) | ||
. = ..() | ||
to_chat(cast_on, span_userdanger("You feel pumped up! It's time to GO!")) | ||
cast_on.reagents.add_reagent(/datum/reagent/drug/pumpup, adrenaline_amount) | ||
cast_on.reagents.add_reagent(/datum/reagent/medicine/synaptizine, adrenaline_amount) | ||
cast_on.reagents.add_reagent(/datum/reagent/determination, adrenaline_amount) | ||
addtimer(CALLBACK(src, PROC_REF(get_tired), cast_on), 25 SECONDS, TIMER_UNIQUE|TIMER_OVERRIDE) | ||
return TRUE | ||
|
||
/datum/action/cooldown/adrenaline/proc/get_tired(mob/living/carbon/cast_on) | ||
to_chat(cast_on, span_danger("Your adrenaline rush makes way for a bout of nausea and a deep feeling of exhaustion in your muscles.")) | ||
cast_on.reagents.add_reagent(/datum/reagent/peaceborg/tire, comedown_amount) | ||
cast_on.reagents.add_reagent(/datum/reagent/peaceborg/confuse, comedown_amount) | ||
cast_on.set_dizzy_if_lower(10 SECONDS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/datum/mutation/human/cryokinesis/pyrokinesis | ||
name = "Pyrokinesis" | ||
desc = "Draws positive energy from the surroundings to heat surrounding temperatures at subject's will." | ||
text_gain_indication = span_notice("Your hand feels hot!") | ||
locked = TRUE | ||
power_path = /datum/action/cooldown/spell/pointed/projectile/cryo/pyro | ||
|
||
/datum/action/cooldown/spell/pointed/projectile/cryo/pyro | ||
name = "Pyrobeam" | ||
desc = "This power fires a heated bolt at a target." | ||
button_icon_state = "firebeam" | ||
base_icon_state = "firebeam" | ||
cooldown_time = 30 SECONDS | ||
|
||
active_msg = "You focus your pyrokinesis!" | ||
deactive_msg = "You cool down." | ||
projectile_type = /obj/projectile/temp/pyro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters