mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-23 04:36:45 +01:00
Vacuum Resistance quirk.
This commit is contained in:
@@ -255,3 +255,23 @@
|
||||
// Quirk examine text.
|
||||
/datum/quirk/hallowed/proc/quirk_examine_Hallowed(atom/examine_target, mob/living/carbon/human/examiner, list/examine_list)
|
||||
examine_list += "[quirk_holder.p_they(TRUE)] radiates divine power..."
|
||||
|
||||
/datum/quirk/vacuum_resistance
|
||||
name = "Vacuum Resistance"
|
||||
desc = "Your body, whether due to technology, magic, or genetic engineering - is specially adapted to withstand and operate in the vacuum of space. You may still need a source of breathable air, however."
|
||||
value = 3
|
||||
gain_text = span_notice("Your physique attunes to the silence of space, now able to operate in zero pressure.")
|
||||
lose_text = span_notice("Your physiology reverts as your spacefaring gifts lay dormant once more.")
|
||||
var/list/perks = list(TRAIT_RESISTCOLD, TRAIT_RESISTLOWPRESSURE)
|
||||
|
||||
/datum/quirk/vacuum_resistance/add()
|
||||
. = ..()
|
||||
var/mob/living/carbon/human/H = quirk_holder
|
||||
for(var/A = 1, A <= perks.len, A++)
|
||||
ADD_TRAIT(H, perks[A], ROUNDSTART_TRAIT)
|
||||
|
||||
/datum/quirk/vacuum_resistance/remove()
|
||||
. = ..()
|
||||
var/mob/living/carbon/human/H = quirk_holder
|
||||
for(var/A = 1, A <= perks.len, A++)
|
||||
REMOVE_TRAIT(H, perks[A], ROUNDSTART_TRAIT)
|
||||
|
||||
Reference in New Issue
Block a user