Files
Bubberstation/code/datums/mutations/cold.dm
Ghom 14fb86e3e8 Mutation code cleanup, mutations now have sources to avoid concurrency problems. (#91346)
## About The Pull Request
This PR aims to clean or bring up to date portions of code about dna,
the dna console and mutations. This includes taking care of or removing
some of the awful choices like the pratically useless
`datum/mutation/human` pathing, or the class variable, in favor of using
sources to avoid potential issues with extraneous sources of a mutation.

The files changed are over a hundred just because I removed the
`datum/mutation/human` path, but the actual bulk of the code is mainly
shared between the datum/dna.dm, _mutations.dm and dna_console.dm.

## Why It's Good For The Game
Mutation shitcode is hurting my future plans for infusions a little.
Also it's a much needed refactor. Drafted 'till I'm sure it works
without issues.

## Changelog

🆑
refactor: Refactored mutation code backend. Report any issue.
/🆑
2025-06-08 13:57:10 +02:00

48 lines
1.6 KiB
Plaintext

/datum/mutation/geladikinesis
name = "Geladikinesis"
desc = "Allows the user to concentrate moisture and sub-zero forces into snow."
quality = POSITIVE
text_gain_indication = span_notice("Your hand feels cold.")
instability = POSITIVE_INSTABILITY_MINOR
difficulty = 10
synchronizer_coeff = 1
power_path = /datum/action/cooldown/spell/conjure_item/snow
/datum/action/cooldown/spell/conjure_item/snow
name = "Create Snow"
desc = "Concentrates cryokinetic forces to create snow, useful for snow-like construction."
button_icon_state = "snow"
cooldown_time = 5 SECONDS
spell_requirements = NONE
item_type = /obj/item/stack/sheet/mineral/snow
delete_old = FALSE
delete_on_failure = FALSE
/datum/mutation/cryokinesis
name = "Cryokinesis"
desc = "Draws negative energy from the sub-zero void to freeze surrounding temperatures at subject's will."
quality = POSITIVE //upsides and downsides
text_gain_indication = span_notice("Your hand feels cold.")
instability = POSITIVE_INSTABILITY_MODERATE
difficulty = 12
synchronizer_coeff = 1
energy_coeff = 1
power_path = /datum/action/cooldown/spell/pointed/projectile/cryo
/datum/action/cooldown/spell/pointed/projectile/cryo
name = "Cryobeam"
desc = "This power fires a frozen bolt at a target."
button_icon_state = "icebeam"
base_icon_state = "icebeam"
active_overlay_icon_state = "bg_spell_border_active_blue"
cast_range = 9
cooldown_time = 16 SECONDS
spell_requirements = NONE
antimagic_flags = NONE
active_msg = "You focus your cryokinesis!"
deactive_msg = "You relax."
projectile_type = /obj/projectile/temp/cryo