mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-10 06:34:45 +01:00
enforcing a speed limit
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
#define VAULT_FIREPROOF "Thermal Regulation"
|
||||
#define VAULT_STUNTIME "Neural Repathing"
|
||||
#define VAULT_ARMOUR "Hardened Skin"
|
||||
#define VAULT_SPEED "Leg Muscle Stimulus"
|
||||
#define VAULT_QUICK "Arm Muscle Stimulus"
|
||||
|
||||
/datum/station_goal/dna_vault
|
||||
@@ -230,7 +229,7 @@ GLOBAL_LIST_INIT(non_simple_animals, typecacheof(list(/mob/living/carbon/human/m
|
||||
if(user in power_lottery)
|
||||
return
|
||||
var/list/L = list()
|
||||
var/list/possible_powers = list(VAULT_TOXIN, VAULT_NOBREATH, VAULT_FIREPROOF, VAULT_STUNTIME, VAULT_ARMOUR, VAULT_SPEED, VAULT_QUICK)
|
||||
var/list/possible_powers = list(VAULT_TOXIN, VAULT_NOBREATH, VAULT_FIREPROOF, VAULT_STUNTIME, VAULT_ARMOUR, VAULT_QUICK)
|
||||
L += pick_n_take(possible_powers)
|
||||
L += pick_n_take(possible_powers)
|
||||
power_lottery[user] = L
|
||||
@@ -324,9 +323,6 @@ GLOBAL_LIST_INIT(non_simple_animals, typecacheof(list(/mob/living/carbon/human/m
|
||||
to_chat(H, "<span class='notice'>You feel tough.</span>")
|
||||
S.armor = 30
|
||||
ADD_TRAIT(H, TRAIT_PIERCEIMMUNE, "dna_vault")
|
||||
if(VAULT_SPEED)
|
||||
to_chat(H, "<span class='notice'>You feel very fast and agile.</span>")
|
||||
ADD_TRAIT(H, TRAIT_GOTTAGOFAST, "dna_vault")
|
||||
if(VAULT_QUICK)
|
||||
to_chat(H, "<span class='notice'>Your arms move as fast as lightning.</span>")
|
||||
H.next_move_modifier = 0.5
|
||||
@@ -337,5 +333,4 @@ GLOBAL_LIST_INIT(non_simple_animals, typecacheof(list(/mob/living/carbon/human/m
|
||||
#undef VAULT_FIREPROOF
|
||||
#undef VAULT_STUNTIME
|
||||
#undef VAULT_ARMOUR
|
||||
#undef VAULT_SPEED
|
||||
#undef VAULT_QUICK
|
||||
|
||||
Reference in New Issue
Block a user