From d7239b873b7e487f6f8568ac67f0203f41495e6b Mon Sep 17 00:00:00 2001
From: NovaBot <154629622+NovaBot13@users.noreply.github.com>
Date: Sat, 6 Apr 2024 21:11:28 -0400
Subject: [PATCH] [MIRROR] Replaces even more deciseconds with SECONDS (#1838)
* Replaces even more deciseconds with SECONDS (#82438)
## About The Pull Request
Using these search regexes:
Ending in 0:
`addtimer\((.*),\s?(\d{1,3})0\b\)`
replacement:
`addtimer($1, $2 SECONDS)`
Two digit ending in odd:
`addtimer\((.*), (\d)([1-9])\)$`
replacement:
`addtimer($1, $2.$3 SECONDS)`
Single digit ending odd:
`addtimer\((.*), ([1-9])\)$`
replacement:
`addtimer($1, 0.$2 SECONDS)`
## Why It's Good For The Game
Code readability
---------
Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
* Replaces even more deciseconds with SECONDS
---------
Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
---
code/controllers/subsystem/explosions.dm | 2 +-
code/datums/brain_damage/creepy_trauma.dm | 2 +-
code/datums/brain_damage/imaginary_friend.dm | 2 +-
code/datums/brain_damage/mild.dm | 4 ++--
code/datums/brain_damage/phobia.dm | 2 +-
code/datums/brain_damage/severe.dm | 4 ++--
code/datums/brain_damage/special.dm | 4 ++--
code/datums/brain_damage/split_personality.dm | 2 +-
code/datums/components/boomerang.dm | 2 +-
code/datums/components/fullauto.dm | 2 +-
code/datums/components/plumbing/_plumbing.dm | 2 +-
.../datums/diseases/advance/symptoms/cough.dm | 6 +++---
code/datums/diseases/advance/symptoms/heal.dm | 4 ++--
code/datums/dna.dm | 6 +++---
code/datums/martial/wrestling.dm | 2 +-
code/datums/mutations/body.dm | 2 +-
.../quirks/negative_quirks/social_anxiety.dm | 2 +-
code/datums/status_effects/debuffs/debuffs.dm | 2 +-
code/datums/wires/airalarm.dm | 4 ++--
code/datums/wires/autolathe.dm | 6 +++---
code/game/atom/atom_act.dm | 2 +-
code/game/machinery/camera/camera.dm | 2 +-
.../machinery/computer/arcade/orion_event.dm | 2 +-
.../computer/prisoner/gulag_teleporter.dm | 2 +-
.../machinery/porta_turret/portable_turret.dm | 8 ++++----
code/game/machinery/roulette_machine.dm | 4 ++--
code/game/machinery/sheetifier.dm | 2 +-
code/game/machinery/suit_storage_unit.dm | 4 ++--
code/game/machinery/syndicatebomb.dm | 2 +-
.../effect_system/effects_explosion.dm | 2 +-
.../temporary_visuals/miscellaneous.dm | 2 +-
code/game/objects/items/crab17.dm | 6 +++---
.../items/devices/radio/electropack.dm | 2 +-
.../game/objects/items/devices/radio/radio.dm | 4 ++--
code/game/objects/items/devices/swapper.dm | 2 +-
code/game/objects/items/extinguisher.dm | 2 +-
code/game/objects/items/hand_items.dm | 6 +++---
code/game/objects/items/handcuffs.dm | 2 +-
code/game/objects/items/rcd/RCD.dm | 2 +-
code/game/objects/items/theft_tools.dm | 4 ++--
code/game/objects/items/toys.dm | 2 +-
code/game/objects/items/virgin_mary.dm | 4 ++--
code/game/objects/items/wizard_weapons.dm | 2 +-
code/game/objects/structures/aliens.dm | 2 +-
.../structures/crates_lockers/crates/bins.dm | 2 +-
code/game/objects/structures/false_walls.dm | 2 +-
code/game/objects/structures/hivebot.dm | 2 +-
code/game/objects/structures/holosign.dm | 4 ++--
.../structures/lavaland/necropolis_tendril.dm | 2 +-
code/game/objects/structures/tables_racks.dm | 2 +-
.../structures/transit_tubes/station.dm | 2 +-
code/game/objects/structures/watercloset.dm | 2 +-
code/modules/admin/verbs/adminhelp.dm | 2 +-
code/modules/admin/verbs/highlander_datum.dm | 2 +-
.../abductor/equipment/gear/abductor_items.dm | 2 +-
.../abductor/equipment/glands/electric.dm | 2 +-
.../abductor/equipment/glands/heal.dm | 6 +++---
.../abductor/equipment/glands/plasma.dm | 4 ++--
.../abductor/equipment/glands/quantum.dm | 2 +-
.../antagonists/abductor/machinery/pad.dm | 4 ++--
code/modules/antagonists/blob/overmind.dm | 2 +-
.../changeling/powers/biodegrade.dm | 8 ++++----
.../changeling/powers/tiny_prick.dm | 2 +-
code/modules/antagonists/cult/cult_comms.dm | 2 +-
code/modules/antagonists/cult/cult_items.dm | 2 +-
code/modules/antagonists/cult/runes.dm | 2 +-
.../antagonists/heretic/magic/cosmic_runes.dm | 2 +-
.../heretic/magic/flesh_surgery.dm | 2 +-
.../heretic/status_effects/buffs.dm | 2 +-
.../antagonists/malf_ai/malf_ai_modules.dm | 2 +-
.../nukeop/datums/operative_leader.dm | 2 +-
.../wizard/grand_ritual/grand_rune.dm | 2 +-
code/modules/assembly/doorcontrol.dm | 14 ++++++-------
code/modules/assembly/flash.dm | 2 +-
code/modules/awaymissions/away_props.dm | 2 +-
code/modules/cargo/gondolapod.dm | 2 +-
code/modules/client/client_colour.dm | 2 +-
code/modules/clothing/clothing.dm | 2 +-
code/modules/holodeck/computer.dm | 2 +-
code/modules/holodeck/turfs.dm | 2 +-
code/modules/interview/interview.dm | 4 ++--
.../ruins/lavalandruin_code/biodome_winter.dm | 2 +-
code/modules/mining/aux_base.dm | 2 +-
.../mining/equipment/wormhole_jaunter.dm | 2 +-
code/modules/mining/ores_coins.dm | 2 +-
code/modules/mob/dead/observer/observer.dm | 2 +-
.../revenant/revenant_abilities.dm | 2 +-
.../living/carbon/alien/special/facehugger.dm | 2 +-
code/modules/mob/living/carbon/death.dm | 2 +-
code/modules/mob/living/living_defense.dm | 4 ++--
code/modules/mob/living/silicon/ai/life.dm | 2 +-
.../mob/living/silicon/robot/robot_defense.dm | 2 +-
.../living/simple_animal/bot/SuperBeepsky.dm | 2 +-
.../mob/living/simple_animal/bot/bot.dm | 6 +++---
.../mob/living/simple_animal/bot/secbot.dm | 2 +-
.../hostile/megafauna/bubblegum.dm | 2 +-
.../hostile/megafauna/hierophant.dm | 8 ++++----
.../hostile/mining_mobs/elites/elite.dm | 8 ++++----
.../mining_mobs/elites/goliath_broodmother.dm | 2 +-
.../hostile/mining_mobs/elites/herald.dm | 20 +++++++++----------
.../hostile/mining_mobs/elites/legionnaire.dm | 4 ++--
.../hostile/mining_mobs/elites/pandora.dm | 6 +++---
.../simple_animal/hostile/retaliate/goose.dm | 6 +++---
code/modules/mob/mob.dm | 2 +-
code/modules/paperwork/filingcabinet.dm | 2 +-
code/modules/paperwork/ticketmachine.dm | 2 +-
.../plumbing/plumbers/plumbing_buffer.dm | 2 +-
code/modules/power/apc/apc_main.dm | 2 +-
code/modules/power/apc/apc_tool_act.dm | 2 +-
code/modules/power/power.dm | 2 +-
.../power/singularity/containment_field.dm | 2 +-
.../power/singularity/field_generator.dm | 10 +++++-----
code/modules/power/tesla/energy_ball.dm | 2 +-
.../guns/special/grenade_launcher.dm | 2 +-
.../projectile/energy/net_snare.dm | 2 +-
.../projectiles/projectile/energy/stun.dm | 2 +-
.../chemistry/reagents/drug_reagents.dm | 2 +-
.../chemistry/reagents/food_reagents.dm | 2 +-
.../chemistry/reagents/other_reagents.dm | 2 +-
code/modules/reagents/chemistry/recipes.dm | 4 ++--
.../chemistry/recipes/pyrotechnics.dm | 2 +-
.../chemistry/recipes/slime_extracts.dm | 18 ++++++++---------
.../reagents/reagent_containers/pill.dm | 2 +-
code/modules/research/experimentor.dm | 8 ++++----
.../xenobiology/crossbreeding/burning.dm | 2 +-
.../xenobiology/crossbreeding/charged.dm | 4 ++--
.../xenobiology/crossbreeding/chilling.dm | 2 +-
.../research/xenobiology/xenobiology.dm | 2 +-
.../security_levels/keycard_authentication.dm | 4 ++--
code/modules/shuttle/special.dm | 2 +-
code/modules/station_goals/bsa.dm | 2 +-
.../internal/cyberimp/augments_chest.dm | 2 +-
code/modules/surgery/tools.dm | 2 +-
code/modules/tooltip/tooltip.dm | 2 +-
code/modules/transport/transport_module.dm | 4 ++--
.../modules/vehicles/mecha/mech_fabricator.dm | 2 +-
code/modules/vehicles/scooter.dm | 2 +-
code/modules/vehicles/vehicle_actions.dm | 2 +-
code/modules/vehicles/vehicle_key.dm | 4 ++--
139 files changed, 220 insertions(+), 220 deletions(-)
diff --git a/code/controllers/subsystem/explosions.dm b/code/controllers/subsystem/explosions.dm
index 70c662b4852..74d1c324847 100644
--- a/code/controllers/subsystem/explosions.dm
+++ b/code/controllers/subsystem/explosions.dm
@@ -154,7 +154,7 @@ SUBSYSTEM_DEF(explosions)
else
continue
- addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(wipe_color_and_text), wipe_colours), 100)
+ addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(wipe_color_and_text), wipe_colours), 10 SECONDS)
/proc/wipe_color_and_text(list/atom/wiping)
for(var/i in wiping)
diff --git a/code/datums/brain_damage/creepy_trauma.dm b/code/datums/brain_damage/creepy_trauma.dm
index 11283588543..af7af67f60a 100644
--- a/code/datums/brain_damage/creepy_trauma.dm
+++ b/code/datums/brain_damage/creepy_trauma.dm
@@ -77,7 +77,7 @@
return
if(prob(25)) // 25% chances to be nervous and stutter.
if(prob(50)) // 12.5% chance (previous check taken into account) of doing something suspicious.
- addtimer(CALLBACK(src, PROC_REF(on_failed_social_interaction)), rand(1, 3) SECONDS)
+ addtimer(CALLBACK(src, PROC_REF(on_failed_social_interaction)), rand(1 SECONDS, 3 SECONDS))
else if(!owner.has_status_effect(/datum/status_effect/speech/stutter))
to_chat(owner, span_warning("Being near [obsession] makes you nervous and you begin to stutter..."))
owner.set_stutter_if_lower(6 SECONDS)
diff --git a/code/datums/brain_damage/imaginary_friend.dm b/code/datums/brain_damage/imaginary_friend.dm
index 29cf637a86e..18ca8172968 100644
--- a/code/datums/brain_damage/imaginary_friend.dm
+++ b/code/datums/brain_damage/imaginary_friend.dm
@@ -23,7 +23,7 @@
qdel(src)
return
if(!friend.client && friend_initialized)
- addtimer(CALLBACK(src, PROC_REF(reroll_friend)), 600)
+ addtimer(CALLBACK(src, PROC_REF(reroll_friend)), 1 MINUTES)
/datum/brain_trauma/special/imaginary_friend/on_death()
..()
diff --git a/code/datums/brain_damage/mild.dm b/code/datums/brain_damage/mild.dm
index b8f70f8a79f..21ecf1b520b 100644
--- a/code/datums/brain_damage/mild.dm
+++ b/code/datums/brain_damage/mild.dm
@@ -179,8 +179,8 @@
to_chat(owner, span_warning("[pick("You have a coughing fit!", "You can't stop coughing!")]"))
owner.Immobilize(20)
owner.emote("cough")
- addtimer(CALLBACK(owner, TYPE_PROC_REF(/mob/, emote), "cough"), 6)
- addtimer(CALLBACK(owner, TYPE_PROC_REF(/mob/, emote), "cough"), 12)
+ addtimer(CALLBACK(owner, TYPE_PROC_REF(/mob/, emote), "cough"), 0.6 SECONDS)
+ addtimer(CALLBACK(owner, TYPE_PROC_REF(/mob/, emote), "cough"), 1.2 SECONDS)
owner.emote("cough")
..()
diff --git a/code/datums/brain_damage/phobia.dm b/code/datums/brain_damage/phobia.dm
index 725c92ab7e8..cf97c2e6e85 100644
--- a/code/datums/brain_damage/phobia.dm
+++ b/code/datums/brain_damage/phobia.dm
@@ -93,7 +93,7 @@
return
if(trigger_regex.Find(hearing_args[HEARING_RAW_MESSAGE]) != 0)
- addtimer(CALLBACK(src, PROC_REF(freak_out), null, trigger_regex.group[2]), 10) //to react AFTER the chat message
+ addtimer(CALLBACK(src, PROC_REF(freak_out), null, trigger_regex.group[2]), 1 SECONDS) //to react AFTER the chat message
hearing_args[HEARING_RAW_MESSAGE] = trigger_regex.Replace(hearing_args[HEARING_RAW_MESSAGE], "[span_phobia("$2")]$3")
/datum/brain_trauma/mild/phobia/handle_speech(datum/source, list/speech_args)
diff --git a/code/datums/brain_damage/severe.dm b/code/datums/brain_damage/severe.dm
index 8754c87adc2..f22b0ab44b3 100644
--- a/code/datums/brain_damage/severe.dm
+++ b/code/datums/brain_damage/severe.dm
@@ -202,7 +202,7 @@
to_chat(owner, span_warning("You feel really sick at the thought of being alone!"))
else
to_chat(owner, span_warning("You feel sick..."))
- addtimer(CALLBACK(owner, TYPE_PROC_REF(/mob/living/carbon, vomit), high_stress), 50) //blood vomit if high stress
+ addtimer(CALLBACK(owner, TYPE_PROC_REF(/mob/living/carbon, vomit), high_stress), 5 SECONDS) //blood vomit if high stress
if(2)
if(high_stress)
to_chat(owner, span_warning("You feel weak and scared! If only you weren't alone..."))
@@ -309,7 +309,7 @@
var/regex/reg = new("(\\b[REGEX_QUOTE(trigger_phrase)]\\b)","ig")
if(findtext(hearing_args[HEARING_RAW_MESSAGE], reg))
- addtimer(CALLBACK(src, PROC_REF(hypnotrigger)), 10) //to react AFTER the chat message
+ addtimer(CALLBACK(src, PROC_REF(hypnotrigger)), 1 SECONDS) //to react AFTER the chat message
hearing_args[HEARING_RAW_MESSAGE] = reg.Replace(hearing_args[HEARING_RAW_MESSAGE], span_hypnophrase("*********"))
/datum/brain_trauma/severe/hypnotic_trigger/proc/hypnotrigger()
diff --git a/code/datums/brain_damage/special.dm b/code/datums/brain_damage/special.dm
index 233713f45be..bfbf2d84d73 100644
--- a/code/datums/brain_damage/special.dm
+++ b/code/datums/brain_damage/special.dm
@@ -220,7 +220,7 @@
to_chat(owner, span_warning("Your connection to [linked_target] suddenly feels extremely strong... you can feel it pulling you!"))
owner.playsound_local(owner, 'sound/magic/lightning_chargeup.ogg', 75, FALSE)
returning = TRUE
- addtimer(CALLBACK(src, PROC_REF(snapback)), 100)
+ addtimer(CALLBACK(src, PROC_REF(snapback)), 10 SECONDS)
/datum/brain_trauma/special/quantum_alignment/proc/snapback()
returning = FALSE
@@ -295,7 +295,7 @@
/datum/brain_trauma/special/death_whispers/proc/whispering()
ADD_TRAIT(owner, TRAIT_SIXTHSENSE, TRAUMA_TRAIT)
active = TRUE
- addtimer(CALLBACK(src, PROC_REF(cease_whispering)), rand(50, 300))
+ addtimer(CALLBACK(src, PROC_REF(cease_whispering)), rand(5 SECONDS, 30 SECONDS))
/datum/brain_trauma/special/death_whispers/proc/cease_whispering()
REMOVE_TRAIT(owner, TRAIT_SIXTHSENSE, TRAUMA_TRAIT)
diff --git a/code/datums/brain_damage/split_personality.dm b/code/datums/brain_damage/split_personality.dm
index 3e2c91efb5d..3e8bd52e5f9 100644
--- a/code/datums/brain_damage/split_personality.dm
+++ b/code/datums/brain_damage/split_personality.dm
@@ -231,7 +231,7 @@
var/message = hearing_args[HEARING_RAW_MESSAGE]
if(findtext(message, codeword))
hearing_args[HEARING_RAW_MESSAGE] = replacetext(message, codeword, span_warning("[codeword]"))
- addtimer(CALLBACK(src, TYPE_PROC_REF(/datum/brain_trauma/severe/split_personality, switch_personalities)), 10)
+ addtimer(CALLBACK(src, TYPE_PROC_REF(/datum/brain_trauma/severe/split_personality, switch_personalities)), 1 SECONDS)
/datum/brain_trauma/severe/split_personality/brainwashing/handle_speech(datum/source, list/speech_args)
if(findtext(speech_args[SPEECH_MESSAGE], codeword))
diff --git a/code/datums/components/boomerang.dm b/code/datums/components/boomerang.dm
index 8b35f171c28..13169e4d0cd 100644
--- a/code/datums/components/boomerang.dm
+++ b/code/datums/components/boomerang.dm
@@ -79,7 +79,7 @@
/datum/component/boomerang/proc/aerodynamic_swing(datum/thrownthing/throwingdatum, obj/item/true_parent)
var/mob/thrown_by = true_parent.thrownby?.resolve()
if(thrown_by)
- addtimer(CALLBACK(true_parent, TYPE_PROC_REF(/atom/movable, throw_at), thrown_by, boomerang_throw_range, throwingdatum.speed, null, TRUE), 1)
+ addtimer(CALLBACK(true_parent, TYPE_PROC_REF(/atom/movable, throw_at), thrown_by, boomerang_throw_range, throwingdatum.speed, null, TRUE), 0.1 SECONDS)
COOLDOWN_START(src, last_boomerang_throw, BOOMERANG_REBOUND_INTERVAL)
var/mob/thrower = throwingdatum?.get_thrower()
true_parent.visible_message(span_danger("[true_parent] is flying back at [thrower]!"), \
diff --git a/code/datums/components/fullauto.dm b/code/datums/components/fullauto.dm
index d8484dc3a11..33b713e8a57 100644
--- a/code/datums/components/fullauto.dm
+++ b/code/datums/components/fullauto.dm
@@ -310,7 +310,7 @@
if(istype(akimbo_gun) && weapon_weight < WEAPON_MEDIUM && allow_akimbo)
if(akimbo_gun.weapon_weight < WEAPON_MEDIUM && akimbo_gun.can_trigger_gun(shooter))
bonus_spread = dual_wield_spread
- addtimer(CALLBACK(akimbo_gun, TYPE_PROC_REF(/obj/item/gun, process_fire), target, shooter, TRUE, params, null, bonus_spread), 1)
+ addtimer(CALLBACK(akimbo_gun, TYPE_PROC_REF(/obj/item/gun, process_fire), target, shooter, TRUE, params, null, bonus_spread), 0.1 SECONDS)
process_fire(target, shooter, TRUE, params, null, bonus_spread)
#undef AUTOFIRE_MOUSEUP
diff --git a/code/datums/components/plumbing/_plumbing.dm b/code/datums/components/plumbing/_plumbing.dm
index 245f8f969a9..3e5528b1095 100644
--- a/code/datums/components/plumbing/_plumbing.dm
+++ b/code/datums/components/plumbing/_plumbing.dm
@@ -375,7 +375,7 @@
return
// Defer to later frame because pixel_* is actually updated after all callbacks
- addtimer(CALLBACK(parent_obj, TYPE_PROC_REF(/atom/, update_appearance)), 1)
+ addtimer(CALLBACK(parent_obj, TYPE_PROC_REF(/atom/, update_appearance)), 0.1 SECONDS)
///has one pipe input that only takes, example is manual output pipe
/datum/component/plumbing/simple_demand
diff --git a/code/datums/diseases/advance/symptoms/cough.dm b/code/datums/diseases/advance/symptoms/cough.dm
index 4c2715668ba..7368e99acc8 100644
--- a/code/datums/diseases/advance/symptoms/cough.dm
+++ b/code/datums/diseases/advance/symptoms/cough.dm
@@ -76,6 +76,6 @@
if(power >= 2 && prob(30))
to_chat(affected_mob, span_userdanger("[pick("You have a coughing fit!", "You can't stop coughing!")]"))
affected_mob.Immobilize(20)
- addtimer(CALLBACK(affected_mob, TYPE_PROC_REF(/mob/, emote), "cough"), 6)
- addtimer(CALLBACK(affected_mob, TYPE_PROC_REF(/mob/, emote), "cough"), 12)
- addtimer(CALLBACK(affected_mob, TYPE_PROC_REF(/mob/, emote), "cough"), 18)
+ addtimer(CALLBACK(affected_mob, TYPE_PROC_REF(/mob/, emote), "cough"), 0.6 SECONDS)
+ addtimer(CALLBACK(affected_mob, TYPE_PROC_REF(/mob/, emote), "cough"), 1.2 SECONDS)
+ addtimer(CALLBACK(affected_mob, TYPE_PROC_REF(/mob/, emote), "cough"), 1.8 SECONDS)
diff --git a/code/datums/diseases/advance/symptoms/heal.dm b/code/datums/diseases/advance/symptoms/heal.dm
index b00e6ca7966..735acaa9ffa 100644
--- a/code/datums/diseases/advance/symptoms/heal.dm
+++ b/code/datums/diseases/advance/symptoms/heal.dm
@@ -381,14 +381,14 @@
if(M.getBruteLoss() + M.getFireLoss() >= 103 && !active_coma) //NOVA EDIT: ORIGINAL: 70 - Adjusts this to remain 37.5% of total health(plus crit health). Because 70 is alot less health here then it is on tg.
to_chat(M, span_warning("You feel yourself slip into a regenerative coma..."))
active_coma = TRUE
- addtimer(CALLBACK(src, PROC_REF(coma), M), 60)
+ addtimer(CALLBACK(src, PROC_REF(coma), M), 6 SECONDS)
/datum/symptom/heal/coma/proc/coma(mob/living/M)
if(QDELETED(M) || M.stat == DEAD)
return
M.fakedeath("regenerative_coma", !deathgasp)
- addtimer(CALLBACK(src, PROC_REF(uncoma), M), 300)
+ addtimer(CALLBACK(src, PROC_REF(uncoma), M), 30 SECONDS)
/datum/symptom/heal/coma/proc/uncoma(mob/living/M)
if(QDELETED(M) || !active_coma)
diff --git a/code/datums/dna.dm b/code/datums/dna.dm
index 348a0015d95..b6659669bd8 100644
--- a/code/datums/dna.dm
+++ b/code/datums/dna.dm
@@ -1004,10 +1004,10 @@ GLOBAL_LIST_INIT(total_uf_len_by_block, populate_total_uf_len_by_block())
spawn_gibs()
set_species(/datum/species/skeleton)
if(prob(90))
- addtimer(CALLBACK(src, PROC_REF(death)), 30)
+ addtimer(CALLBACK(src, PROC_REF(death)), 3 SECONDS)
if(5)
to_chat(src, span_phobia("LOOK UP!"))
- addtimer(CALLBACK(src, PROC_REF(something_horrible_mindmelt)), 30)
+ addtimer(CALLBACK(src, PROC_REF(something_horrible_mindmelt)), 3 SECONDS)
if(6)
slow_psykerize()
@@ -1019,4 +1019,4 @@ GLOBAL_LIST_INIT(total_uf_len_by_block, populate_total_uf_len_by_block())
eyes.Remove(src)
qdel(eyes)
visible_message(span_notice("[src] looks up and their eyes melt away!"), span_userdanger("I understand now."))
- addtimer(CALLBACK(src, PROC_REF(adjustOrganLoss), ORGAN_SLOT_BRAIN, 200), 20)
+ addtimer(CALLBACK(src, PROC_REF(adjustOrganLoss), ORGAN_SLOT_BRAIN, 200), 2 SECONDS)
diff --git a/code/datums/martial/wrestling.dm b/code/datums/martial/wrestling.dm
index 23591852ec9..6969c3eeb9e 100644
--- a/code/datums/martial/wrestling.dm
+++ b/code/datums/martial/wrestling.dm
@@ -358,7 +358,7 @@ If you make a derivative work from this code, you must include this notification
attacker.setDir(turn(attacker.dir, 90))
attacker.forceMove(defender.loc)
- addtimer(CALLBACK(src, PROC_REF(CheckStrikeTurf), attacker, T), 4)
+ addtimer(CALLBACK(src, PROC_REF(CheckStrikeTurf), attacker, T), 0.4 SECONDS)
defender.visible_message(span_danger("[attacker] headbutts [defender]!"), \
span_userdanger("You're headbutted by [attacker]!"), span_hear("You hear a sickening sound of flesh hitting flesh!"), COMBAT_MESSAGE_RANGE, attacker)
diff --git a/code/datums/mutations/body.dm b/code/datums/mutations/body.dm
index e93d0a5ddf7..c4ff6f48d30 100644
--- a/code/datums/mutations/body.dm
+++ b/code/datums/mutations/body.dm
@@ -20,7 +20,7 @@
owner.Unconscious(200 * GET_MUTATION_POWER(src))
owner.set_jitter(2000 SECONDS * GET_MUTATION_POWER(src)) //yes this number looks crazy but the jitter animations are amplified based on the duration.
owner.add_mood_event("epilepsy", /datum/mood_event/epilepsy)
- addtimer(CALLBACK(src, PROC_REF(jitter_less)), 90)
+ addtimer(CALLBACK(src, PROC_REF(jitter_less)), 9 SECONDS)
/datum/mutation/human/epilepsy/proc/jitter_less()
if(QDELETED(owner))
diff --git a/code/datums/quirks/negative_quirks/social_anxiety.dm b/code/datums/quirks/negative_quirks/social_anxiety.dm
index 4835e7f0e92..402dba01c1f 100644
--- a/code/datums/quirks/negative_quirks/social_anxiety.dm
+++ b/code/datums/quirks/negative_quirks/social_anxiety.dm
@@ -83,7 +83,7 @@
if(prob(85) || (istype(mind_check) && mind_check.mind))
return
- addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(to_chat), quirk_holder, span_smallnotice("You make eye contact with [A].")), 3)
+ addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(to_chat), quirk_holder, span_smallnotice("You make eye contact with [A].")), 0.3 SECONDS)
/datum/quirk/social_anxiety/proc/eye_contact(datum/source, mob/living/other_mob, triggering_examiner)
SIGNAL_HANDLER
diff --git a/code/datums/status_effects/debuffs/debuffs.dm b/code/datums/status_effects/debuffs/debuffs.dm
index 85ee6a7d323..5dea728fbb2 100644
--- a/code/datums/status_effects/debuffs/debuffs.dm
+++ b/code/datums/status_effects/debuffs/debuffs.dm
@@ -604,7 +604,7 @@
// The brain trauma itself does its own set of logging, but this is the only place the source of the hypnosis phrase can be found.
hearing_speaker.log_message("hypnotised [key_name(C)] with the phrase '[hearing_args[HEARING_RAW_MESSAGE]]'", LOG_ATTACK, color="red")
C.log_message("has been hypnotised by the phrase '[hearing_args[HEARING_RAW_MESSAGE]]' spoken by [key_name(hearing_speaker)]", LOG_VICTIM, color="orange", log_globally = FALSE)
- addtimer(CALLBACK(C, TYPE_PROC_REF(/mob/living/carbon, gain_trauma), /datum/brain_trauma/hypnosis, TRAUMA_RESILIENCE_SURGERY, hearing_args[HEARING_RAW_MESSAGE]), 10)
+ addtimer(CALLBACK(C, TYPE_PROC_REF(/mob/living/carbon, gain_trauma), /datum/brain_trauma/hypnosis, TRAUMA_RESILIENCE_SURGERY, hearing_args[HEARING_RAW_MESSAGE]), 1 SECONDS)
addtimer(CALLBACK(C, TYPE_PROC_REF(/mob/living, Stun), 60, TRUE, TRUE), 15) //Take some time to think about it
qdel(src)
diff --git a/code/datums/wires/airalarm.dm b/code/datums/wires/airalarm.dm
index 2dc3244e9ca..00291609871 100644
--- a/code/datums/wires/airalarm.dm
+++ b/code/datums/wires/airalarm.dm
@@ -34,13 +34,13 @@
if(!A.shorted)
A.shorted = TRUE
A.update_appearance()
- addtimer(CALLBACK(A, TYPE_PROC_REF(/obj/machinery/airalarm, reset), wire), 1200)
+ addtimer(CALLBACK(A, TYPE_PROC_REF(/obj/machinery/airalarm, reset), wire), 2 MINUTES)
if(WIRE_IDSCAN) // Toggle lock.
A.locked = !A.locked
if(WIRE_AI) // Disable AI control for a while.
if(!A.aidisabled)
A.aidisabled = TRUE
- addtimer(CALLBACK(A, TYPE_PROC_REF(/obj/machinery/airalarm, reset), wire), 100)
+ addtimer(CALLBACK(A, TYPE_PROC_REF(/obj/machinery/airalarm, reset), wire), 10 SECONDS)
if(WIRE_PANIC) // Toggle panic siphon.
if(!A.shorted)
if(istype(A.selected_mode, /datum/air_alarm_mode/filtering))
diff --git a/code/datums/wires/autolathe.dm b/code/datums/wires/autolathe.dm
index ca55dad954f..75c3a368760 100644
--- a/code/datums/wires/autolathe.dm
+++ b/code/datums/wires/autolathe.dm
@@ -29,13 +29,13 @@
switch(wire)
if(WIRE_HACK)
A.adjust_hacked(!A.hacked)
- addtimer(CALLBACK(A, TYPE_PROC_REF(/obj/machinery/autolathe, reset), wire), 60)
+ addtimer(CALLBACK(A, TYPE_PROC_REF(/obj/machinery/autolathe, reset), wire), 6 SECONDS)
if(WIRE_SHOCK)
A.shocked = !A.shocked
- addtimer(CALLBACK(A, TYPE_PROC_REF(/obj/machinery/autolathe, reset), wire), 60)
+ addtimer(CALLBACK(A, TYPE_PROC_REF(/obj/machinery/autolathe, reset), wire), 6 SECONDS)
if(WIRE_DISABLE)
A.disabled = !A.disabled
- addtimer(CALLBACK(A, TYPE_PROC_REF(/obj/machinery/autolathe, reset), wire), 60)
+ addtimer(CALLBACK(A, TYPE_PROC_REF(/obj/machinery/autolathe, reset), wire), 6 SECONDS)
/datum/wires/autolathe/on_cut(wire, mend, source)
var/obj/machinery/autolathe/A = holder
diff --git a/code/game/atom/atom_act.dm b/code/game/atom/atom_act.dm
index ae7cd5a3eb2..7d05a6aaa68 100644
--- a/code/game/atom/atom_act.dm
+++ b/code/game/atom/atom_act.dm
@@ -119,7 +119,7 @@
/atom/proc/hitby(atom/movable/hitting_atom, skipcatch, hitpush, blocked, datum/thrownthing/throwingdatum)
SEND_SIGNAL(src, COMSIG_ATOM_HITBY, hitting_atom, skipcatch, hitpush, blocked, throwingdatum)
if(density && !has_gravity(hitting_atom)) //thrown stuff bounces off dense stuff in no grav, unless the thrown stuff ends up inside what it hit(embedding, bola, etc...).
- addtimer(CALLBACK(src, PROC_REF(hitby_react), hitting_atom), 2)
+ addtimer(CALLBACK(src, PROC_REF(hitby_react), hitting_atom), 0.2 SECONDS)
/**
* We have have actually hit the passed in atom
diff --git a/code/game/machinery/camera/camera.dm b/code/game/machinery/camera/camera.dm
index 33dde81af58..e0031e2548f 100644
--- a/code/game/machinery/camera/camera.dm
+++ b/code/game/machinery/camera/camera.dm
@@ -356,7 +356,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/camera/xray, 0)
change_msg = "reactivates"
triggerCameraAlarm()
if(!QDELETED(src)) //We'll be doing it anyway in destroy
- addtimer(CALLBACK(src, PROC_REF(cancelCameraAlarm)), 100)
+ addtimer(CALLBACK(src, PROC_REF(cancelCameraAlarm)), 10 SECONDS)
if(displaymessage)
if(user)
visible_message(span_danger("[user] [change_msg] [src]!"))
diff --git a/code/game/machinery/computer/arcade/orion_event.dm b/code/game/machinery/computer/arcade/orion_event.dm
index f1050e9a8e2..7ab2f3b98b3 100644
--- a/code/game/machinery/computer/arcade/orion_event.dm
+++ b/code/game/machinery/computer/arcade/orion_event.dm
@@ -438,7 +438,7 @@
game.say("A miniature black hole suddenly appears in front of [game], devouring [gamer] alive!")
gamer.Stun(200, ignore_canstun = TRUE) //you can't run :^)
var/black_hole = new /obj/singularity/orion(gamer.loc)
- addtimer(CALLBACK(game, TYPE_PROC_REF(/atom/movable, say), "[black_hole] winks out, just as suddenly as it appeared."), 50)
+ addtimer(CALLBACK(game, TYPE_PROC_REF(/atom/movable, say), "[black_hole] winks out, just as suddenly as it appeared."), 5 SECONDS)
QDEL_IN(black_hole, 5 SECONDS)
#define BUTTON_DOCK "Dock"
diff --git a/code/game/machinery/computer/prisoner/gulag_teleporter.dm b/code/game/machinery/computer/prisoner/gulag_teleporter.dm
index 45124eefeee..f3dacdb8e20 100644
--- a/code/game/machinery/computer/prisoner/gulag_teleporter.dm
+++ b/code/game/machinery/computer/prisoner/gulag_teleporter.dm
@@ -114,7 +114,7 @@
if("teleport")
if(!teleporter || !beacon)
return
- addtimer(CALLBACK(src, PROC_REF(teleport), usr), 5)
+ addtimer(CALLBACK(src, PROC_REF(teleport), usr), 0.5 SECONDS)
return TRUE
/obj/machinery/computer/prisoner/gulag_teleporter_computer/proc/scan_machinery()
diff --git a/code/game/machinery/porta_turret/portable_turret.dm b/code/game/machinery/porta_turret/portable_turret.dm
index f318d93ecbd..d4cf080da69 100644
--- a/code/game/machinery/porta_turret/portable_turret.dm
+++ b/code/game/machinery/porta_turret/portable_turret.dm
@@ -409,7 +409,7 @@ DEFINE_BITFIELD(turret_flags, list(
spark_system.start()
if(on && !(turret_flags & TURRET_FLAG_SHOOT_ALL_REACT) && !(obj_flags & EMAGGED))
turret_flags |= TURRET_FLAG_SHOOT_ALL_REACT
- addtimer(CALLBACK(src, PROC_REF(reset_attacked)), 60)
+ addtimer(CALLBACK(src, PROC_REF(reset_attacked)), 6 SECONDS)
/obj/machinery/porta_turret/proc/reset_attacked()
turret_flags &= ~TURRET_FLAG_SHOOT_ALL_REACT
@@ -827,9 +827,9 @@ DEFINE_BITFIELD(turret_flags, list(
if(target)
setDir(get_dir(base, target))//even if you can't shoot, follow the target
shootAt(target)
- addtimer(CALLBACK(src, PROC_REF(shootAt), target), 5)
- addtimer(CALLBACK(src, PROC_REF(shootAt), target), 10)
- addtimer(CALLBACK(src, PROC_REF(shootAt), target), 15)
+ addtimer(CALLBACK(src, PROC_REF(shootAt), target), 0.5 SECONDS)
+ addtimer(CALLBACK(src, PROC_REF(shootAt), target), 1 SECONDS)
+ addtimer(CALLBACK(src, PROC_REF(shootAt), target), 1.5 SECONDS)
return TRUE
/obj/machinery/porta_turret/ai
diff --git a/code/game/machinery/roulette_machine.dm b/code/game/machinery/roulette_machine.dm
index f2e6ddd8195..ba4a5136a89 100644
--- a/code/game/machinery/roulette_machine.dm
+++ b/code/game/machinery/roulette_machine.dm
@@ -224,7 +224,7 @@
playsound(src, 'sound/machines/roulettewheel.ogg', 50)
addtimer(CALLBACK(src, PROC_REF(finish_play), player_id, bet_type, bet_amount, payout, rolled_number), 34) //4 deciseconds more so the animation can play
- addtimer(CALLBACK(src, PROC_REF(finish_play_animation)), 30)
+ addtimer(CALLBACK(src, PROC_REF(finish_play_animation)), 3 SECONDS)
use_energy(active_power_usage)
@@ -448,7 +448,7 @@
return
loc.visible_message(span_warning("\The [src] begins to beep loudly!"))
used = TRUE
- addtimer(CALLBACK(src, PROC_REF(launch_payload)), 40)
+ addtimer(CALLBACK(src, PROC_REF(launch_payload)), 4 SECONDS)
/obj/item/roulette_wheel_beacon/proc/launch_payload()
var/obj/structure/closet/supplypod/centcompod/toLaunch = new()
diff --git a/code/game/machinery/sheetifier.dm b/code/game/machinery/sheetifier.dm
index d9619092af6..bff759a6c72 100644
--- a/code/game/machinery/sheetifier.dm
+++ b/code/game/machinery/sheetifier.dm
@@ -50,7 +50,7 @@
var/mutable_appearance/processing_overlay = mutable_appearance(icon, "processing")
processing_overlay.color = last_inserted_material.color
flick_overlay_static(processing_overlay, src, 64)
- addtimer(CALLBACK(src, PROC_REF(finish_processing)), 64)
+ addtimer(CALLBACK(src, PROC_REF(finish_processing)), 6.4 SECONDS)
/obj/machinery/sheetifier/proc/finish_processing()
busy_processing = FALSE
diff --git a/code/game/machinery/suit_storage_unit.dm b/code/game/machinery/suit_storage_unit.dm
index 0b62bbe865e..0fadef7b823 100644
--- a/code/game/machinery/suit_storage_unit.dm
+++ b/code/game/machinery/suit_storage_unit.dm
@@ -501,7 +501,7 @@
if(iscarbon(mob_occupant) && mob_occupant.stat < UNCONSCIOUS)
//Awake, organic and screaming
mob_occupant.emote("scream")
- addtimer(CALLBACK(src, PROC_REF(cook)), 50)
+ addtimer(CALLBACK(src, PROC_REF(cook)), 5 SECONDS)
else
uv_cycles = initial(uv_cycles)
uv = FALSE
@@ -608,7 +608,7 @@
if(locked)
visible_message(span_notice("You see [user] kicking against the doors of [src]!"), \
span_notice("You start kicking against the doors..."))
- addtimer(CALLBACK(src, PROC_REF(resist_open), user), 300)
+ addtimer(CALLBACK(src, PROC_REF(resist_open), user), 30 SECONDS)
else
open_machine()
dump_inventory_contents()
diff --git a/code/game/machinery/syndicatebomb.dm b/code/game/machinery/syndicatebomb.dm
index ebe24b44974..693668e9e89 100644
--- a/code/game/machinery/syndicatebomb.dm
+++ b/code/game/machinery/syndicatebomb.dm
@@ -484,7 +484,7 @@
chem_splash(get_turf(src), reagents, spread_range, list(reactants), temp_boost)
// Detonate it again in one second, until it's out of juice.
- addtimer(CALLBACK(src, PROC_REF(detonate)), 10)
+ addtimer(CALLBACK(src, PROC_REF(detonate)), 1 SECONDS)
// If it's not a time release bomb, do normal explosion
diff --git a/code/game/objects/effects/effect_system/effects_explosion.dm b/code/game/objects/effects/effect_system/effects_explosion.dm
index 231feb2ec3d..32be64c9353 100644
--- a/code/game/objects/effects/effect_system/effects_explosion.dm
+++ b/code/game/objects/effects/effect_system/effects_explosion.dm
@@ -63,4 +63,4 @@
/datum/effect_system/explosion/smoke/start()
..()
- addtimer(CALLBACK(src, PROC_REF(create_smoke)), 5)
+ addtimer(CALLBACK(src, PROC_REF(create_smoke)), 0.5 SECONDS)
diff --git a/code/game/objects/effects/temporary_visuals/miscellaneous.dm b/code/game/objects/effects/temporary_visuals/miscellaneous.dm
index f314cfac982..091aa263cbe 100644
--- a/code/game/objects/effects/temporary_visuals/miscellaneous.dm
+++ b/code/game/objects/effects/temporary_visuals/miscellaneous.dm
@@ -557,7 +557,7 @@
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
obj_flags &= ~CAN_BE_HIT
icon_state = "rcd_end"
- addtimer(CALLBACK(src, PROC_REF(end)), 15)
+ addtimer(CALLBACK(src, PROC_REF(end)), 1.5 SECONDS)
/obj/effect/constructing_effect/proc/end()
qdel(src)
diff --git a/code/game/objects/items/crab17.dm b/code/game/objects/items/crab17.dm
index 1e43197c47e..25582bc9189 100644
--- a/code/game/objects/items/crab17.dm
+++ b/code/game/objects/items/crab17.dm
@@ -106,7 +106,7 @@
add_overlay("flaps")
add_overlay("hatch")
add_overlay("legs_retracted")
- addtimer(CALLBACK(src, PROC_REF(startUp)), 50)
+ addtimer(CALLBACK(src, PROC_REF(startUp)), 5 SECONDS)
QDEL_IN(src, 8 MINUTES) //Self-destruct after 8 min
ADD_TRAIT(SSeconomy, TRAIT_MARKET_CRASHING, REF(src))
@@ -202,7 +202,7 @@
if (account) // get_bank_account() may return FALSE
account.transfer_money(B, amount, "?VIVA¿: !LA CRABBE¡")
B.bank_card_talk("You have lost [percentage_lost * 100]% of your funds! A spacecoin credit deposit machine is located at: [get_area(src)].")
- addtimer(CALLBACK(src, PROC_REF(dump)), 150) //Drain every 15 seconds
+ addtimer(CALLBACK(src, PROC_REF(dump)), 15 SECONDS) //Drain every 15 seconds
/obj/structure/checkoutmachine/process()
var/anydir = pick(GLOB.cardinals)
@@ -238,7 +238,7 @@
/obj/effect/dumpeet_target/Initialize(mapload, user)
. = ..()
bogdanoff = user
- addtimer(CALLBACK(src, PROC_REF(startLaunch)), 100)
+ addtimer(CALLBACK(src, PROC_REF(startLaunch)), 10 SECONDS)
sound_to_playing_players('sound/items/dump_it.ogg', 20)
deadchat_broadcast("Protocol CRAB-17 has been activated. A space-coin market has been launched at the station!", turf_target = get_turf(src), message_type=DEADCHAT_ANNOUNCEMENT)
diff --git a/code/game/objects/items/devices/radio/electropack.dm b/code/game/objects/items/devices/radio/electropack.dm
index 426e673437e..af19c6cd4f5 100644
--- a/code/game/objects/items/devices/radio/electropack.dm
+++ b/code/game/objects/items/devices/radio/electropack.dm
@@ -64,7 +64,7 @@
if(shock_cooldown)
return
shock_cooldown = TRUE
- addtimer(VARSET_CALLBACK(src, shock_cooldown, FALSE), 100)
+ addtimer(VARSET_CALLBACK(src, shock_cooldown, FALSE), 10 SECONDS)
var/mob/living/L = loc
step(L, pick(GLOB.cardinals))
diff --git a/code/game/objects/items/devices/radio/radio.dm b/code/game/objects/items/devices/radio/radio.dm
index d9e76042dcd..e8b305b00cc 100644
--- a/code/game/objects/items/devices/radio/radio.dm
+++ b/code/game/objects/items/devices/radio/radio.dm
@@ -363,7 +363,7 @@
// Non-subspace radios will check in a couple of seconds, and if the signal
// was never received, send a mundane broadcast (no headsets).
- addtimer(CALLBACK(src, PROC_REF(backup_transmission), signal), 20)
+ addtimer(CALLBACK(src, PROC_REF(backup_transmission), signal), 2 SECONDS)
/obj/item/radio/proc/backup_transmission(datum/signal/subspace/vocal/signal)
var/turf/T = get_turf(src)
@@ -543,7 +543,7 @@
for (var/ch_name in channels)
channels[ch_name] = 0
set_on(FALSE)
- addtimer(CALLBACK(src, PROC_REF(end_emp_effect), curremp), 200)
+ addtimer(CALLBACK(src, PROC_REF(end_emp_effect), curremp), 20 SECONDS)
/obj/item/radio/suicide_act(mob/living/user)
user.visible_message(span_suicide("[user] starts bouncing [src] off [user.p_their()] head! It looks like [user.p_theyre()] trying to commit suicide!"))
diff --git a/code/game/objects/items/devices/swapper.dm b/code/game/objects/items/devices/swapper.dm
index e2aa385ce93..604851d94b2 100644
--- a/code/game/objects/items/devices/swapper.dm
+++ b/code/game/objects/items/devices/swapper.dm
@@ -61,7 +61,7 @@
var/mob/holder = linked_swapper.loc
to_chat(holder, span_notice("[linked_swapper] starts buzzing."))
next_use = world.time + cooldown //only the one used goes on cooldown
- addtimer(CALLBACK(src, PROC_REF(swap), user), 25)
+ addtimer(CALLBACK(src, PROC_REF(swap), user), 2.5 SECONDS)
/obj/item/swapper/examine(mob/user)
. = ..()
diff --git a/code/game/objects/items/extinguisher.dm b/code/game/objects/items/extinguisher.dm
index 238ca21f8e0..d262731337f 100644
--- a/code/game/objects/items/extinguisher.dm
+++ b/code/game/objects/items/extinguisher.dm
@@ -215,7 +215,7 @@
if(user.buckled && isobj(user.buckled) && !user.buckled.anchored)
var/obj/B = user.buckled
var/movementdirection = REVERSE_DIR(direction)
- addtimer(CALLBACK(src, TYPE_PROC_REF(/obj/item/extinguisher, move_chair), B, movementdirection), 1)
+ addtimer(CALLBACK(src, TYPE_PROC_REF(/obj/item/extinguisher, move_chair), B, movementdirection), 0.1 SECONDS)
else
user.newtonian_move(REVERSE_DIR(direction))
diff --git a/code/game/objects/items/hand_items.dm b/code/game/objects/items/hand_items.dm
index 13acc62f025..950b0f4f71a 100644
--- a/code/game/objects/items/hand_items.dm
+++ b/code/game/objects/items/hand_items.dm
@@ -41,7 +41,7 @@
if(!istype(sucker) || !in_range(owner, sucker))
return
- addtimer(CALLBACK(src, PROC_REF(waitASecond), owner, sucker), 4)
+ addtimer(CALLBACK(src, PROC_REF(waitASecond), owner, sucker), 0.4 SECONDS)
/// Stage 2: Fear sets in
/obj/item/hand_item/circlegame/proc/waitASecond(mob/living/owner, mob/living/sucker)
@@ -50,10 +50,10 @@
if(owner == sucker) // big mood
to_chat(owner, span_danger("Wait a second... you just looked at your own [src.name]!"))
- addtimer(CALLBACK(src, PROC_REF(selfGottem), owner), 10)
+ addtimer(CALLBACK(src, PROC_REF(selfGottem), owner), 1 SECONDS)
else
to_chat(sucker, span_danger("Wait a second... was that a-"))
- addtimer(CALLBACK(src, PROC_REF(GOTTEM), owner, sucker), 6)
+ addtimer(CALLBACK(src, PROC_REF(GOTTEM), owner, sucker), 0.6 SECONDS)
/// Stage 3A: We face our own failures
/obj/item/hand_item/circlegame/proc/selfGottem(mob/living/owner)
diff --git a/code/game/objects/items/handcuffs.dm b/code/game/objects/items/handcuffs.dm
index e00a2aa61f3..8db6b3556a0 100644
--- a/code/game/objects/items/handcuffs.dm
+++ b/code/game/objects/items/handcuffs.dm
@@ -485,7 +485,7 @@
/obj/item/restraints/legcuffs/beartrap/energy/Initialize(mapload)
. = ..()
- addtimer(CALLBACK(src, PROC_REF(dissipate)), 100)
+ addtimer(CALLBACK(src, PROC_REF(dissipate)), 10 SECONDS)
/**
* Handles energy snares disappearing
diff --git a/code/game/objects/items/rcd/RCD.dm b/code/game/objects/items/rcd/RCD.dm
index d050da4fa5e..1e0ea79119b 100644
--- a/code/game/objects/items/rcd/RCD.dm
+++ b/code/game/objects/items/rcd/RCD.dm
@@ -413,7 +413,7 @@
buzz loudly!","[src] begins \
vibrating violently!")
// 5 seconds to get rid of it
- addtimer(CALLBACK(src, PROC_REF(detonate_pulse_explode)), 50)
+ addtimer(CALLBACK(src, PROC_REF(detonate_pulse_explode)), 5 SECONDS)
/obj/item/construction/rcd/proc/detonate_pulse_explode()
explosion(src, light_impact_range = 3, flame_range = 1, flash_range = 1)
diff --git a/code/game/objects/items/theft_tools.dm b/code/game/objects/items/theft_tools.dm
index e695dedbca3..5f0404c3423 100644
--- a/code/game/objects/items/theft_tools.dm
+++ b/code/game/objects/items/theft_tools.dm
@@ -61,7 +61,7 @@
core = ncore
icon_state = "core_container_loaded"
to_chat(user, span_warning("Container is sealing..."))
- addtimer(CALLBACK(src, PROC_REF(seal)), 50)
+ addtimer(CALLBACK(src, PROC_REF(seal)), 5 SECONDS)
return TRUE
/obj/item/nuke_core_container/proc/seal()
@@ -236,7 +236,7 @@
T.icon_state = "supermatter_tongs"
icon_state = "core_container_loaded"
to_chat(user, span_warning("Container is sealing..."))
- addtimer(CALLBACK(src, PROC_REF(seal)), 50)
+ addtimer(CALLBACK(src, PROC_REF(seal)), 5 SECONDS)
return TRUE
/obj/item/nuke_core_container/supermatter/seal()
diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm
index 1d2b0bba7b1..67192b829a7 100644
--- a/code/game/objects/items/toys.dm
+++ b/code/game/objects/items/toys.dm
@@ -555,7 +555,7 @@
update_appearance()
playsound(src, 'sound/effects/pope_entry.ogg', 100)
Rumble()
- addtimer(CALLBACK(src, PROC_REF(stopRumble)), 600)
+ addtimer(CALLBACK(src, PROC_REF(stopRumble)), 60 SECONDS)
else
to_chat(user, span_warning("[src] is already active!"))
diff --git a/code/game/objects/items/virgin_mary.dm b/code/game/objects/items/virgin_mary.dm
index 7c3c305858c..b0446abadbd 100644
--- a/code/game/objects/items/virgin_mary.dm
+++ b/code/game/objects/items/virgin_mary.dm
@@ -47,8 +47,8 @@
/obj/item/virgin_mary/suicide_act(mob/living/user)
user.visible_message(span_suicide("[user] starts saying their Hail Mary's at a terrifying pace! It looks like [user.p_theyre()] trying to enter the afterlife!"))
user.say("Hail Mary, full of grace, the Lord is with thee. Blessed are thou amongst women, and blessed is the fruit of thy womb, Jesus. Holy Mary, mother of God, pray for us sinners, now and at the hour of our death. Amen. ", forced = /obj/item/virgin_mary)
- addtimer(CALLBACK(src, PROC_REF(manual_suicide), user), 75)
- addtimer(CALLBACK(user, TYPE_PROC_REF(/atom/movable, say), "O my Mother, preserve me this day from mortal sin..."), 50)
+ addtimer(CALLBACK(src, PROC_REF(manual_suicide), user), 7.5 SECONDS)
+ addtimer(CALLBACK(user, TYPE_PROC_REF(/atom/movable, say), "O my Mother, preserve me this day from mortal sin..."), 5 SECONDS)
return MANUAL_SUICIDE
/obj/item/virgin_mary/proc/manual_suicide(mob/living/user)
diff --git a/code/game/objects/items/wizard_weapons.dm b/code/game/objects/items/wizard_weapons.dm
index 533ae118dc2..8c2677d3ee3 100644
--- a/code/game/objects/items/wizard_weapons.dm
+++ b/code/game/objects/items/wizard_weapons.dm
@@ -73,7 +73,7 @@
playsound(user, 'sound/weapons/marauder.ogg', 50, TRUE)
var/turf/target = get_turf(A)
vortex(target,user)
- addtimer(CALLBACK(src, PROC_REF(recharge)), 100)
+ addtimer(CALLBACK(src, PROC_REF(recharge)), 10 SECONDS)
return .
/obj/item/mjollnir
diff --git a/code/game/objects/structures/aliens.dm b/code/game/objects/structures/aliens.dm
index 886d0b9bcba..3b8b4dad83f 100644
--- a/code/game/objects/structures/aliens.dm
+++ b/code/game/objects/structures/aliens.dm
@@ -416,7 +416,7 @@
status = BURSTING
proximity_monitor.set_range(0)
flick("egg_opening", src)
- addtimer(CALLBACK(src, PROC_REF(finish_bursting), kill), 15)
+ addtimer(CALLBACK(src, PROC_REF(finish_bursting), kill), 1.5 SECONDS)
/obj/structure/alien/egg/proc/finish_bursting(kill = TRUE)
status = BURST
diff --git a/code/game/objects/structures/crates_lockers/crates/bins.dm b/code/game/objects/structures/crates_lockers/crates/bins.dm
index 6b865b84586..a686d53f392 100644
--- a/code/game/objects/structures/crates_lockers/crates/bins.dm
+++ b/code/game/objects/structures/crates_lockers/crates/bins.dm
@@ -47,7 +47,7 @@
/obj/structure/closet/crate/bin/proc/do_animate()
playsound(loc, open_sound, 15, TRUE, -3)
flick(base_icon_state + "_animate", src)
- addtimer(CALLBACK(src, PROC_REF(do_close)), 11)
+ addtimer(CALLBACK(src, PROC_REF(do_close)), 1.1 SECONDS)
/obj/structure/closet/crate/bin/proc/do_close()
playsound(loc, close_sound, 15, TRUE, -3)
diff --git a/code/game/objects/structures/false_walls.dm b/code/game/objects/structures/false_walls.dm
index eaf830b7db7..bdb6ba08525 100644
--- a/code/game/objects/structures/false_walls.dm
+++ b/code/game/objects/structures/false_walls.dm
@@ -49,7 +49,7 @@
opening = FALSE
return
update_appearance()
- addtimer(CALLBACK(src, TYPE_PROC_REF(/obj/structure/falsewall, toggle_open)), 5)
+ addtimer(CALLBACK(src, TYPE_PROC_REF(/obj/structure/falsewall, toggle_open)), 0.5 SECONDS)
/obj/structure/falsewall/proc/toggle_open()
if(!QDELETED(src))
diff --git a/code/game/objects/structures/hivebot.dm b/code/game/objects/structures/hivebot.dm
index ba371f8d658..838113cab8c 100644
--- a/code/game/objects/structures/hivebot.dm
+++ b/code/game/objects/structures/hivebot.dm
@@ -15,7 +15,7 @@
smoke.start()
visible_message(span_boldannounce("[src] warps in!"))
playsound(src.loc, 'sound/effects/empulse.ogg', 25, TRUE)
- addtimer(CALLBACK(src, PROC_REF(warpbots)), rand(10, 600))
+ addtimer(CALLBACK(src, PROC_REF(warpbots)), rand(1 SECONDS, 1 MINUTES))
/obj/structure/hivebot_beacon/proc/warpbots()
icon_state = "def_radar"
diff --git a/code/game/objects/structures/holosign.dm b/code/game/objects/structures/holosign.dm
index a1a3adf3251..1d7fc470aff 100644
--- a/code/game/objects/structures/holosign.dm
+++ b/code/game/objects/structures/holosign.dm
@@ -215,7 +215,7 @@
var/mob/living/M = user
M.electrocute_act(15,"Energy Barrier")
shockcd = TRUE
- addtimer(CALLBACK(src, PROC_REF(cooldown)), 5)
+ addtimer(CALLBACK(src, PROC_REF(cooldown)), 0.5 SECONDS)
/obj/structure/holosign/barrier/cyborg/hacked/Bumped(atom/movable/AM)
if(shockcd)
@@ -227,4 +227,4 @@
var/mob/living/M = AM
M.electrocute_act(15,"Energy Barrier")
shockcd = TRUE
- addtimer(CALLBACK(src, PROC_REF(cooldown)), 5)
+ addtimer(CALLBACK(src, PROC_REF(cooldown)), 0.5 SECONDS)
diff --git a/code/game/objects/structures/lavaland/necropolis_tendril.dm b/code/game/objects/structures/lavaland/necropolis_tendril.dm
index 6d6b2e6af37..803a4aeac58 100644
--- a/code/game/objects/structures/lavaland/necropolis_tendril.dm
+++ b/code/game/objects/structures/lavaland/necropolis_tendril.dm
@@ -92,7 +92,7 @@ GLOBAL_LIST_INIT(tendrils, list())
visible_message(span_boldannounce("The tendril writhes in fury as the earth around it begins to crack and break apart! Get back!"))
balloon_alert_to_viewers("interact to grab loot before collapse!", vision_distance = 7)
playsound(loc,'sound/effects/tendril_destroyed.ogg', 200, FALSE, 50, TRUE, TRUE)
- addtimer(CALLBACK(src, PROC_REF(collapse)), 50)
+ addtimer(CALLBACK(src, PROC_REF(collapse)), 5 SECONDS)
/obj/effect/collapse/examine(mob/user)
var/list/examine_messages = ..()
diff --git a/code/game/objects/structures/tables_racks.dm b/code/game/objects/structures/tables_racks.dm
index 62f10eadecb..208f377289b 100644
--- a/code/game/objects/structures/tables_racks.dm
+++ b/code/game/objects/structures/tables_racks.dm
@@ -443,7 +443,7 @@
return
// Don't break if they're just flying past
if(AM.throwing)
- addtimer(CALLBACK(src, PROC_REF(throw_check), AM), 5)
+ addtimer(CALLBACK(src, PROC_REF(throw_check), AM), 0.5 SECONDS)
else
check_break(AM)
diff --git a/code/game/objects/structures/transit_tubes/station.dm b/code/game/objects/structures/transit_tubes/station.dm
index 0765273ebf4..3eeb81cb8ac 100644
--- a/code/game/objects/structures/transit_tubes/station.dm
+++ b/code/game/objects/structures/transit_tubes/station.dm
@@ -153,7 +153,7 @@
/obj/structure/transit_tube/station/pod_stopped(obj/structure/transit_tube_pod/pod, from_dir)
pod_moving = TRUE
- addtimer(CALLBACK(src, PROC_REF(start_stopped), pod), 5)
+ addtimer(CALLBACK(src, PROC_REF(start_stopped), pod), 0.5 SECONDS)
/obj/structure/transit_tube/station/proc/start_stopped(obj/structure/transit_tube_pod/pod)
if(QDELETED(pod))
diff --git a/code/game/objects/structures/watercloset.dm b/code/game/objects/structures/watercloset.dm
index 302878eccb0..4706392fec9 100644
--- a/code/game/objects/structures/watercloset.dm
+++ b/code/game/objects/structures/watercloset.dm
@@ -256,7 +256,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/structure/urinal, 32)
/obj/item/food/urinalcake/attack_self(mob/living/user)
user.visible_message(span_notice("[user] squishes [src]!"), span_notice("You squish [src]."), "You hear a squish.")
icon_state = "urinalcake_squish"
- addtimer(VARSET_CALLBACK(src, icon_state, "urinalcake"), 8)
+ addtimer(VARSET_CALLBACK(src, icon_state, "urinalcake"), 0.8 SECONDS)
/obj/item/bikehorn/rubberducky/plasticducky
name = "plastic ducky"
diff --git a/code/modules/admin/verbs/adminhelp.dm b/code/modules/admin/verbs/adminhelp.dm
index d949ff83c0a..df2b33535e5 100644
--- a/code/modules/admin/verbs/adminhelp.dm
+++ b/code/modules/admin/verbs/adminhelp.dm
@@ -525,7 +525,7 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
state = AHELP_RESOLVED
GLOB.ahelp_tickets.ListInsert(src)
- addtimer(CALLBACK(initiator, TYPE_PROC_REF(/client, giveadminhelpverb)), 50)
+ addtimer(CALLBACK(initiator, TYPE_PROC_REF(/client, giveadminhelpverb)), 5 SECONDS)
AddInteraction("Resolved by [key_name].", player_message = "Ticket resolved!")
to_chat(initiator, span_adminhelp("Your ticket has been resolved by an admin. The Adminhelp verb will be returned to you shortly."), confidential = TRUE)
diff --git a/code/modules/admin/verbs/highlander_datum.dm b/code/modules/admin/verbs/highlander_datum.dm
index ad8f75bca82..de7e4918fc0 100644
--- a/code/modules/admin/verbs/highlander_datum.dm
+++ b/code/modules/admin/verbs/highlander_datum.dm
@@ -36,7 +36,7 @@ GLOBAL_DATUM(highlander_controller, /datum/highlander_controller)
robot.gib()
continue
robot.make_scottish()
- addtimer(CALLBACK(SSshuttle.emergency, TYPE_PROC_REF(/obj/docking_port/mobile/emergency, request), null, 1), 50)
+ addtimer(CALLBACK(SSshuttle.emergency, TYPE_PROC_REF(/obj/docking_port/mobile/emergency, request), null, 1), 5 SECONDS)
/datum/highlander_controller/Destroy(force)
. = ..()
diff --git a/code/modules/antagonists/abductor/equipment/gear/abductor_items.dm b/code/modules/antagonists/abductor/equipment/gear/abductor_items.dm
index 1ec8940394f..07e8dad2aa6 100644
--- a/code/modules/antagonists/abductor/equipment/gear/abductor_items.dm
+++ b/code/modules/antagonists/abductor/equipment/gear/abductor_items.dm
@@ -523,7 +523,7 @@ Congratulations! You are now trained for invasive xenobiology research!"}
user.visible_message(span_notice("[user] places down [src] and activates it."), span_notice("You place down [src] and activate it."))
user.dropItemToGround(src)
playsound(src, 'sound/machines/terminal_alert.ogg', 50)
- addtimer(CALLBACK(src, PROC_REF(try_spawn_machine)), 30)
+ addtimer(CALLBACK(src, PROC_REF(try_spawn_machine)), 3 SECONDS)
/obj/item/abductor_machine_beacon/proc/try_spawn_machine()
var/viable = FALSE
diff --git a/code/modules/antagonists/abductor/equipment/glands/electric.dm b/code/modules/antagonists/abductor/equipment/glands/electric.dm
index a5ec2cfde21..72b2c1e14ad 100644
--- a/code/modules/antagonists/abductor/equipment/glands/electric.dm
+++ b/code/modules/antagonists/abductor/equipment/glands/electric.dm
@@ -19,7 +19,7 @@
owner.visible_message(span_danger("[owner]'s skin starts emitting electric arcs!"),\
span_warning("You feel electric energy building up inside you!"))
playsound(get_turf(owner), SFX_SPARKS, 100, TRUE, -1, SHORT_RANGE_SOUND_EXTRARANGE)
- addtimer(CALLBACK(src, PROC_REF(zap)), rand(30, 100))
+ addtimer(CALLBACK(src, PROC_REF(zap)), rand(3 SECONDS, 10 SECONDS))
/obj/item/organ/internal/heart/gland/electric/proc/zap()
tesla_zap(source = owner, zap_range = 4, power = 8e3, cutoff = 1e3, zap_flags = ZAP_MOB_DAMAGE | ZAP_OBJ_DAMAGE | ZAP_MOB_STUN)
diff --git a/code/modules/antagonists/abductor/equipment/glands/heal.dm b/code/modules/antagonists/abductor/equipment/glands/heal.dm
index 683cb33fc9a..7f446237765 100644
--- a/code/modules/antagonists/abductor/equipment/glands/heal.dm
+++ b/code/modules/antagonists/abductor/equipment/glands/heal.dm
@@ -159,7 +159,7 @@
else
to_chat(owner, span_warning("You feel a weird rumble behind your eye sockets..."))
- addtimer(CALLBACK(src, PROC_REF(finish_replace_eyes)), rand(100, 200))
+ addtimer(CALLBACK(src, PROC_REF(finish_replace_eyes)), rand(10 SECONDS, 20 SECONDS))
/obj/item/organ/internal/heart/gland/heal/proc/finish_replace_eyes()
var/eye_type = /obj/item/organ/internal/eyes
@@ -177,7 +177,7 @@
else
to_chat(owner, span_warning("You feel a weird tingle in your [parse_zone(body_zone)]... even if you don't have one."))
- addtimer(CALLBACK(src, PROC_REF(finish_replace_limb), body_zone), rand(150, 300))
+ addtimer(CALLBACK(src, PROC_REF(finish_replace_limb), body_zone), rand(15 SECONDS, 30 SECONDS))
/obj/item/organ/internal/heart/gland/heal/proc/finish_replace_limb(body_zone)
owner.visible_message(span_warning("With a loud snap, [owner]'s [parse_zone(body_zone)] rapidly grows back from [owner.p_their()] body!"),
@@ -207,7 +207,7 @@
if(owner.reagents.has_reagent(R.type))
keep_going = TRUE
if(keep_going)
- addtimer(CALLBACK(src, PROC_REF(keep_replacing_blood)), 30)
+ addtimer(CALLBACK(src, PROC_REF(keep_replacing_blood)), 3 SECONDS)
/obj/item/organ/internal/heart/gland/heal/proc/replace_chest(obj/item/bodypart/chest/chest)
if(!IS_ORGANIC_LIMB(chest))
diff --git a/code/modules/antagonists/abductor/equipment/glands/plasma.dm b/code/modules/antagonists/abductor/equipment/glands/plasma.dm
index 0d709579cc8..76cd806bb42 100644
--- a/code/modules/antagonists/abductor/equipment/glands/plasma.dm
+++ b/code/modules/antagonists/abductor/equipment/glands/plasma.dm
@@ -9,8 +9,8 @@
/obj/item/organ/internal/heart/gland/plasma/activate()
to_chat(owner, span_warning("You feel bloated."))
- addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(to_chat), owner, span_userdanger("A massive stomachache overcomes you.")), 150)
- addtimer(CALLBACK(src, PROC_REF(vomit_plasma)), 200)
+ addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(to_chat), owner, span_userdanger("A massive stomachache overcomes you.")), 15 SECONDS)
+ addtimer(CALLBACK(src, PROC_REF(vomit_plasma)), 20 SECONDS)
/obj/item/organ/internal/heart/gland/plasma/proc/vomit_plasma()
if(!owner)
diff --git a/code/modules/antagonists/abductor/equipment/glands/quantum.dm b/code/modules/antagonists/abductor/equipment/glands/quantum.dm
index d32304a5987..a2a4a9149e7 100644
--- a/code/modules/antagonists/abductor/equipment/glands/quantum.dm
+++ b/code/modules/antagonists/abductor/equipment/glands/quantum.dm
@@ -15,7 +15,7 @@
if(!iscarbon(M))
continue
entangled_mob = M
- addtimer(CALLBACK(src, PROC_REF(quantum_swap)), rand(600, 2400))
+ addtimer(CALLBACK(src, PROC_REF(quantum_swap)), rand(1 MINUTES, 4 MINUTES))
return
/obj/item/organ/internal/heart/gland/quantum/proc/quantum_swap()
diff --git a/code/modules/antagonists/abductor/machinery/pad.dm b/code/modules/antagonists/abductor/machinery/pad.dm
index 6f2dc48a672..1610d9a6cff 100644
--- a/code/modules/antagonists/abductor/machinery/pad.dm
+++ b/code/modules/antagonists/abductor/machinery/pad.dm
@@ -38,7 +38,7 @@
/obj/machinery/abductor/pad/proc/MobToLoc(place,mob/living/target)
new /obj/effect/temp_visual/teleport_abductor(place)
- addtimer(CALLBACK(src, PROC_REF(doMobToLoc), place, target), 80)
+ addtimer(CALLBACK(src, PROC_REF(doMobToLoc), place, target), 8 SECONDS)
/obj/machinery/abductor/pad/proc/doPadToLoc(place)
flick("alien-pad", src)
@@ -48,7 +48,7 @@
/obj/machinery/abductor/pad/proc/PadToLoc(place)
new /obj/effect/temp_visual/teleport_abductor(place)
- addtimer(CALLBACK(src, PROC_REF(doPadToLoc), place), 80)
+ addtimer(CALLBACK(src, PROC_REF(doPadToLoc), place), 8 SECONDS)
/obj/effect/temp_visual/teleport_abductor
name = "Huh"
diff --git a/code/modules/antagonists/blob/overmind.dm b/code/modules/antagonists/blob/overmind.dm
index 401daa97ac5..929a3b5c4ff 100644
--- a/code/modules/antagonists/blob/overmind.dm
+++ b/code/modules/antagonists/blob/overmind.dm
@@ -153,7 +153,7 @@ GLOBAL_LIST_EMPTY(blob_nodes)
SSsecurity_level.set_level(SEC_LEVEL_DELTA)
max_blob_points = INFINITY
blob_points = INFINITY
- addtimer(CALLBACK(src, PROC_REF(victory)), 450)
+ addtimer(CALLBACK(src, PROC_REF(victory)), 45 SECONDS)
else if(!free_strain_rerolls && (last_reroll_time + BLOB_POWER_REROLL_FREE_TIME 0)
illusions--
- addtimer(CALLBACK(src, TYPE_PROC_REF(/obj/item/shield/mirror, readd)), 450)
+ addtimer(CALLBACK(src, TYPE_PROC_REF(/obj/item/shield/mirror, readd)), 45 SECONDS)
if(prob(60))
var/mob/living/simple_animal/hostile/illusion/M = new(owner.loc)
M.faction = list(FACTION_CULT)
diff --git a/code/modules/antagonists/cult/runes.dm b/code/modules/antagonists/cult/runes.dm
index 6fe9cf47298..d42ace3f4cd 100644
--- a/code/modules/antagonists/cult/runes.dm
+++ b/code/modules/antagonists/cult/runes.dm
@@ -187,7 +187,7 @@ structure_check() searches for nearby cultist structures required for the invoca
var/oldcolor = color
color = rgb(255, 0, 0)
animate(src, color = oldcolor, time = 5)
- addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, update_atom_colour)), 5)
+ addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, update_atom_colour)), 0.5 SECONDS)
//Malformed Rune: This forms if a rune is not drawn correctly. Invoking it does nothing but hurt the user.
/obj/effect/rune/malformed
diff --git a/code/modules/antagonists/heretic/magic/cosmic_runes.dm b/code/modules/antagonists/heretic/magic/cosmic_runes.dm
index 4af3b94b44f..207b60ae939 100644
--- a/code/modules/antagonists/heretic/magic/cosmic_runes.dm
+++ b/code/modules/antagonists/heretic/magic/cosmic_runes.dm
@@ -113,7 +113,7 @@
var/oldcolor = rgb(255, 255, 255)
color = rgb(150, 50, 200)
animate(src, color = oldcolor, time = 5)
- addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, update_atom_colour)), 5)
+ addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, update_atom_colour)), 0.5 SECONDS)
/// For linking a new rune
/obj/effect/cosmic_rune/proc/link_rune(datum/weakref/new_rune)
diff --git a/code/modules/antagonists/heretic/magic/flesh_surgery.dm b/code/modules/antagonists/heretic/magic/flesh_surgery.dm
index 12b3fcfbcaf..898b1a63fa6 100644
--- a/code/modules/antagonists/heretic/magic/flesh_surgery.dm
+++ b/code/modules/antagonists/heretic/magic/flesh_surgery.dm
@@ -211,7 +211,7 @@
carbon_victim.emote("scream")
// We need to wait for the spell to actually finish casting to put the organ in their hands, hence, 1 ms timer.
- addtimer(CALLBACK(caster, TYPE_PROC_REF(/mob, put_in_hands), picked_organ), 1)
+ addtimer(CALLBACK(caster, TYPE_PROC_REF(/mob, put_in_hands), picked_organ), 0.1 SECONDS)
return TRUE
/// Extra checks ran while we're extracting an organ to make sure we can continue to do.
diff --git a/code/modules/antagonists/heretic/status_effects/buffs.dm b/code/modules/antagonists/heretic/status_effects/buffs.dm
index 607f485ff64..1ec0df389fc 100644
--- a/code/modules/antagonists/heretic/status_effects/buffs.dm
+++ b/code/modules/antagonists/heretic/status_effects/buffs.dm
@@ -192,7 +192,7 @@
qdel(to_remove)
- addtimer(TRAIT_CALLBACK_REMOVE(source, TRAIT_BEING_BLADE_SHIELDED, type), 1)
+ addtimer(TRAIT_CALLBACK_REMOVE(source, TRAIT_BEING_BLADE_SHIELDED, type), 0.1 SECONDS)
return SUCCESSFUL_BLOCK
diff --git a/code/modules/antagonists/malf_ai/malf_ai_modules.dm b/code/modules/antagonists/malf_ai/malf_ai_modules.dm
index 917bb3451cb..be92ecfd72a 100644
--- a/code/modules/antagonists/malf_ai/malf_ai_modules.dm
+++ b/code/modules/antagonists/malf_ai/malf_ai_modules.dm
@@ -686,7 +686,7 @@ GLOBAL_LIST_INIT(malf_modules, subtypesof(/datum/ai_module))
I.loc = T
client.images += I
I.icon_state = "[success ? "green" : "red"]Overlay" //greenOverlay and redOverlay for success and failure respectively
- addtimer(CALLBACK(src, PROC_REF(remove_transformer_image), client, I, T), 30)
+ addtimer(CALLBACK(src, PROC_REF(remove_transformer_image), client, I, T), 3 SECONDS)
if(!success)
to_chat(src, span_warning("[alert_msg]"))
return success
diff --git a/code/modules/antagonists/nukeop/datums/operative_leader.dm b/code/modules/antagonists/nukeop/datums/operative_leader.dm
index 76ca635158b..0c583bfe794 100644
--- a/code/modules/antagonists/nukeop/datums/operative_leader.dm
+++ b/code/modules/antagonists/nukeop/datums/operative_leader.dm
@@ -35,7 +35,7 @@
var/obj/item/war_declaration = new challengeitem(leader.drop_location())
leader.put_in_hands(war_declaration)
nuke_team.war_button_ref = WEAKREF(war_declaration)
- addtimer(CALLBACK(src, PROC_REF(nuketeam_name_assign)), 1)
+ addtimer(CALLBACK(src, PROC_REF(nuketeam_name_assign)), 0.1 SECONDS)
/datum/antagonist/nukeop/leader/proc/nuketeam_name_assign()
if(!nuke_team)
diff --git a/code/modules/antagonists/wizard/grand_ritual/grand_rune.dm b/code/modules/antagonists/wizard/grand_ritual/grand_rune.dm
index f75da5f8557..79364a80a19 100644
--- a/code/modules/antagonists/wizard/grand_ritual/grand_rune.dm
+++ b/code/modules/antagonists/wizard/grand_ritual/grand_rune.dm
@@ -187,7 +187,7 @@
tear_reality()
SEND_SIGNAL(src, COMSIG_GRAND_RUNE_COMPLETE, cheese_sacrificed)
flick("[icon_state]_activate", src)
- addtimer(CALLBACK(src, PROC_REF(remove_rune)), 6)
+ addtimer(CALLBACK(src, PROC_REF(remove_rune)), 0.6 SECONDS)
SSblackbox.record_feedback("amount", "grand_runes_invoked", 1)
/obj/effect/grand_rune/proc/remove_rune()
diff --git a/code/modules/assembly/doorcontrol.dm b/code/modules/assembly/doorcontrol.dm
index f5f33afa83c..31584976ced 100644
--- a/code/modules/assembly/doorcontrol.dm
+++ b/code/modules/assembly/doorcontrol.dm
@@ -32,7 +32,7 @@
if(openclose == null || !sync_doors)
openclose = M.density
INVOKE_ASYNC(M, openclose ? TYPE_PROC_REF(/obj/machinery/door/poddoor, open) : TYPE_PROC_REF(/obj/machinery/door/poddoor, close))
- addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 10)
+ addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 1 SECONDS)
/obj/item/assembly/control/curtain
name = "curtain controller"
@@ -53,7 +53,7 @@
if(openclose == null || !sync_doors)
openclose = M.density
INVOKE_ASYNC(M, openclose ? TYPE_PROC_REF(/obj/structure/curtain/cloth/fancy/mechanical, open) : TYPE_PROC_REF(/obj/structure/curtain/cloth/fancy/mechanical, close))
- addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 5)
+ addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 0.5 SECONDS)
/obj/item/assembly/control/airlock
@@ -101,7 +101,7 @@
for(var/D in open_or_close)
INVOKE_ASYNC(D, doors_need_closing ? TYPE_PROC_REF(/obj/machinery/door/airlock, close) : TYPE_PROC_REF(/obj/machinery/door/airlock, open))
- addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 10)
+ addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 1 SECONDS)
/obj/item/assembly/control/massdriver
@@ -130,7 +130,7 @@
if (M.id == src.id)
INVOKE_ASYNC(M, TYPE_PROC_REF(/obj/machinery/door/poddoor, close))
- addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 10)
+ addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 1 SECONDS)
/obj/item/assembly/control/igniter
@@ -149,7 +149,7 @@
if(M.id == src.id)
INVOKE_ASYNC(M, TYPE_PROC_REF(/obj/machinery/igniter, toggle))
- addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 30)
+ addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 3 SECONDS)
/obj/item/assembly/control/flasher
name = "flasher controller"
@@ -163,7 +163,7 @@
if(M.id == src.id)
INVOKE_ASYNC(M, TYPE_PROC_REF(/obj/machinery/flasher, flash))
- addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 50)
+ addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 5 SECONDS)
/obj/item/assembly/control/crematorium
@@ -178,4 +178,4 @@
if (C.id == id)
C.cremate(usr)
- addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 50)
+ addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 5 SECONDS)
diff --git a/code/modules/assembly/flash.dm b/code/modules/assembly/flash.dm
index 659bcec50cf..b81eb26e7fa 100644
--- a/code/modules/assembly/flash.dm
+++ b/code/modules/assembly/flash.dm
@@ -43,7 +43,7 @@
flashing = flash
. = ..()
if(flash)
- addtimer(CALLBACK(src, TYPE_PROC_REF(/atom/, update_icon)), 5)
+ addtimer(CALLBACK(src, TYPE_PROC_REF(/atom/, update_icon)), 0.5 SECONDS)
holder?.update_icon(updates)
/obj/item/assembly/flash/update_overlays()
diff --git a/code/modules/awaymissions/away_props.dm b/code/modules/awaymissions/away_props.dm
index 1ed0a1ec0ff..22d9f532efc 100644
--- a/code/modules/awaymissions/away_props.dm
+++ b/code/modules/awaymissions/away_props.dm
@@ -96,7 +96,7 @@
obj_flags |= BLOCK_Z_OUT_DOWN | BLOCK_Z_IN_UP
SET_PLANE_IMPLICIT(src, ABOVE_LIGHTING_PLANE) //What matters it's one above openspace, so our animation is not dependant on what's there. Up to revision with 513
animate(src,alpha = talpha,time = 10)
- addtimer(CALLBACK(src, PROC_REF(reset_plane)),10)
+ addtimer(CALLBACK(src, PROC_REF(reset_plane)), 1 SECONDS)
if(hidden)
update_openspace()
var/turf/T = get_turf(src)
diff --git a/code/modules/cargo/gondolapod.dm b/code/modules/cargo/gondolapod.dm
index f01d413d2c6..64729b0e982 100644
--- a/code/modules/cargo/gondolapod.dm
+++ b/code/modules/cargo/gondolapod.dm
@@ -67,7 +67,7 @@
opened = TRUE
layer = initial(layer)
update_appearance()
- addtimer(CALLBACK(src, TYPE_PROC_REF(/atom/, setClosed)), 50)
+ addtimer(CALLBACK(src, TYPE_PROC_REF(/atom/, setClosed)), 5 SECONDS)
/mob/living/simple_animal/pet/gondola/gondolapod/setClosed()
opened = FALSE
diff --git a/code/modules/client/client_colour.dm b/code/modules/client/client_colour.dm
index 6fa3bb36f3f..1209b5c3582 100644
--- a/code/modules/client/client_colour.dm
+++ b/code/modules/client/client_colour.dm
@@ -228,7 +228,7 @@
/datum/client_colour/bloodlust/New(mob/owner)
..()
if(owner)
- addtimer(CALLBACK(src, PROC_REF(update_colour), list(1,0,0,0.8,0.2,0, 0.8,0,0.2,0.1,0,0), 10, SINE_EASING|EASE_OUT), 1)
+ addtimer(CALLBACK(src, PROC_REF(update_colour), list(1,0,0,0.8,0.2,0, 0.8,0,0.2,0.1,0,0), 10, SINE_EASING|EASE_OUT), 0.1 SECONDS)
/datum/client_colour/rave
priority = PRIORITY_LOW
diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm
index 5f68e8f0022..8d867e92d2f 100644
--- a/code/modules/clothing/clothing.dm
+++ b/code/modules/clothing/clothing.dm
@@ -516,7 +516,7 @@ BLIND // can't see anything
return ..()
if(damage_flag == BOMB)
//so the shred survives potential turf change from the explosion.
- addtimer(CALLBACK(src, PROC_REF(_spawn_shreds)), 1)
+ addtimer(CALLBACK(src, PROC_REF(_spawn_shreds)), 0.1 SECONDS)
deconstruct(FALSE)
if(damage_flag == CONSUME) //This allows for moths to fully consume clothing, rather than damaging it like other sources like brute
var/turf/current_position = get_turf(src)
diff --git a/code/modules/holodeck/computer.dm b/code/modules/holodeck/computer.dm
index f75a1329246..7b4b23a313b 100644
--- a/code/modules/holodeck/computer.dm
+++ b/code/modules/holodeck/computer.dm
@@ -380,7 +380,7 @@ GLOBAL_LIST_INIT(typecache_holodeck_linked_floorcheck_ok, typecacheof(list(/turf
if(toggleOn)
if(last_program && (last_program != offline_program))
- addtimer(CALLBACK(src, PROC_REF(load_program), last_program, TRUE), 25)
+ addtimer(CALLBACK(src, PROC_REF(load_program), last_program, TRUE), 2.5 SECONDS)
active = TRUE
else
last_program = program
diff --git a/code/modules/holodeck/turfs.dm b/code/modules/holodeck/turfs.dm
index 15a82c5aa55..3e54c134106 100644
--- a/code/modules/holodeck/turfs.dm
+++ b/code/modules/holodeck/turfs.dm
@@ -158,7 +158,7 @@
/turf/open/floor/holofloor/carpet/Initialize(mapload)
. = ..()
- addtimer(CALLBACK(src, TYPE_PROC_REF(/atom/, update_appearance)), 1)
+ addtimer(CALLBACK(src, TYPE_PROC_REF(/atom/, update_appearance)), 0.1 SECONDS)
/turf/open/floor/holofloor/carpet/update_icon(updates=ALL)
. = ..()
diff --git a/code/modules/interview/interview.dm b/code/modules/interview/interview.dm
index 923d11fc76f..a1703b9c069 100644
--- a/code/modules/interview/interview.dm
+++ b/code/modules/interview/interview.dm
@@ -58,7 +58,7 @@
SEND_SOUND(owner, sound('sound/effects/adminhelp.ogg'))
to_chat(owner, "-- Interview Update --" \
+ "\n[span_adminsay("Your interview was approved, you will now be reconnected in 5 seconds.")]", confidential = TRUE)
- addtimer(CALLBACK(src, PROC_REF(reconnect_owner)), 50)
+ addtimer(CALLBACK(src, PROC_REF(reconnect_owner)), 5 SECONDS)
/**
* Denies the interview and adds the owner to the cooldown for new interviews.
@@ -73,7 +73,7 @@
GLOB.interviews.cooldown_ckeys |= owner_ckey
log_admin_private("[key_name(denied_by)] has denied interview #[id] for [owner_ckey][!owner ? "(DC)": ""].")
message_admins(span_adminnotice("[key_name(denied_by)] has denied [link_self()] for [owner_ckey][!owner ? "(DC)": ""]."))
- addtimer(CALLBACK(GLOB.interviews, TYPE_PROC_REF(/datum/interview_manager, release_from_cooldown), owner_ckey), 180)
+ addtimer(CALLBACK(GLOB.interviews, TYPE_PROC_REF(/datum/interview_manager, release_from_cooldown), owner_ckey), 18 SECONDS)
if (owner)
SEND_SOUND(owner, sound('sound/effects/adminhelp.ogg'))
to_chat(owner, "-- Interview Update --" \
diff --git a/code/modules/mapfluff/ruins/lavalandruin_code/biodome_winter.dm b/code/modules/mapfluff/ruins/lavalandruin_code/biodome_winter.dm
index 770d787f8ad..150b4c5e44b 100644
--- a/code/modules/mapfluff/ruins/lavalandruin_code/biodome_winter.dm
+++ b/code/modules/mapfluff/ruins/lavalandruin_code/biodome_winter.dm
@@ -32,7 +32,7 @@
if(ismovable(hit_atom) && !caught && (!thrown_by || thrown_by && COOLDOWN_FINISHED(src, freeze_cooldown)))
freeze_hit_atom(hit_atom)
if(thrown_by && !caught)
- addtimer(CALLBACK(src, TYPE_PROC_REF(/atom/movable, throw_at), thrown_by, throw_range+2, throw_speed, null, TRUE), 1)
+ addtimer(CALLBACK(src, TYPE_PROC_REF(/atom/movable, throw_at), thrown_by, throw_range+2, throw_speed, null, TRUE), 0.1 SECONDS)
/obj/item/freeze_cube/proc/freeze_hit_atom(atom/movable/hit_atom)
playsound(src, 'sound/effects/glassbr3.ogg', 50, TRUE)
diff --git a/code/modules/mining/aux_base.dm b/code/modules/mining/aux_base.dm
index 88f8634fabf..a1503b7f634 100644
--- a/code/modules/mining/aux_base.dm
+++ b/code/modules/mining/aux_base.dm
@@ -355,7 +355,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/computer/auxiliary_base, 32)
return
anti_spam_cd = 1
- addtimer(CALLBACK(src, PROC_REF(clear_cooldown)), 50)
+ addtimer(CALLBACK(src, PROC_REF(clear_cooldown)), 5 SECONDS)
var/turf/landing_spot = get_turf(src)
diff --git a/code/modules/mining/equipment/wormhole_jaunter.dm b/code/modules/mining/equipment/wormhole_jaunter.dm
index b4165a13cd0..a19d0a72420 100644
--- a/code/modules/mining/equipment/wormhole_jaunter.dm
+++ b/code/modules/mining/equipment/wormhole_jaunter.dm
@@ -114,4 +114,4 @@
L.Paralyze(60)
if(ishuman(L))
shake_camera(L, 20, 1)
- addtimer(CALLBACK(L, TYPE_PROC_REF(/mob/living/carbon, vomit)), 20)
+ addtimer(CALLBACK(L, TYPE_PROC_REF(/mob/living/carbon, vomit)), 2 SECONDS)
diff --git a/code/modules/mining/ores_coins.dm b/code/modules/mining/ores_coins.dm
index 4fe26281b10..e94b8d981ff 100644
--- a/code/modules/mining/ores_coins.dm
+++ b/code/modules/mining/ores_coins.dm
@@ -453,7 +453,7 @@ GLOBAL_LIST_INIT(sand_recipes, list(\
if (!attack_self(user))
user.visible_message(span_suicide("[user] couldn't flip \the [src]!"))
return SHAME
- addtimer(CALLBACK(src, PROC_REF(manual_suicide), user), 10)//10 = time takes for flip animation
+ addtimer(CALLBACK(src, PROC_REF(manual_suicide), user), 1 SECONDS)//10 = time takes for flip animation
return MANUAL_SUICIDE_NONLETHAL
/obj/item/coin/proc/manual_suicide(mob/living/user)
diff --git a/code/modules/mob/dead/observer/observer.dm b/code/modules/mob/dead/observer/observer.dm
index fc70946fa56..90eb9bfbf48 100644
--- a/code/modules/mob/dead/observer/observer.dm
+++ b/code/modules/mob/dead/observer/observer.dm
@@ -161,7 +161,7 @@ GLOBAL_VAR_INIT(observer_default_invisibility, INVISIBILITY_OBSERVER)
var/old_color = color
color = COLOR_CULT_RED
animate(src, color = old_color, time = 10, flags = ANIMATION_PARALLEL)
- addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, update_atom_colour)), 10)
+ addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, update_atom_colour)), 1 SECONDS)
/mob/dead/observer/Destroy()
if(data_huds_on)
diff --git a/code/modules/mob/living/basic/space_fauna/revenant/revenant_abilities.dm b/code/modules/mob/living/basic/space_fauna/revenant/revenant_abilities.dm
index 5e7cf327449..eb330ec86d2 100644
--- a/code/modules/mob/living/basic/space_fauna/revenant/revenant_abilities.dm
+++ b/code/modules/mob/living/basic/space_fauna/revenant/revenant_abilities.dm
@@ -123,7 +123,7 @@
light_sparks.set_up(4, 0, light)
light_sparks.start()
new /obj/effect/temp_visual/revenant(get_turf(light))
- addtimer(CALLBACK(src, PROC_REF(overload_shock), light, caster), 20)
+ addtimer(CALLBACK(src, PROC_REF(overload_shock), light, caster), 2 SECONDS)
/datum/action/cooldown/spell/aoe/revenant/overload/proc/overload_shock(obj/machinery/light/to_shock, mob/living/basic/revenant/caster)
flick("[to_shock.base_state]2", to_shock)
diff --git a/code/modules/mob/living/carbon/alien/special/facehugger.dm b/code/modules/mob/living/carbon/alien/special/facehugger.dm
index 72aecd31721..f0993992967 100644
--- a/code/modules/mob/living/carbon/alien/special/facehugger.dm
+++ b/code/modules/mob/living/carbon/alien/special/facehugger.dm
@@ -111,7 +111,7 @@
return
if(stat == CONSCIOUS)
icon_state = "[base_icon_state]_thrown"
- addtimer(CALLBACK(src, PROC_REF(clear_throw_icon_state)), 15)
+ addtimer(CALLBACK(src, PROC_REF(clear_throw_icon_state)), 1.5 SECONDS)
/obj/item/clothing/mask/facehugger/proc/clear_throw_icon_state()
if(icon_state == "[base_icon_state]_thrown")
diff --git a/code/modules/mob/living/carbon/death.dm b/code/modules/mob/living/carbon/death.dm
index eafb6f8ba22..41a958518c5 100644
--- a/code/modules/mob/living/carbon/death.dm
+++ b/code/modules/mob/living/carbon/death.dm
@@ -19,7 +19,7 @@
BT.on_death()
/mob/living/carbon/proc/inflate_gib() // Plays an animation that makes mobs appear to inflate before finally gibbing
- addtimer(CALLBACK(src, PROC_REF(gib), DROP_BRAIN|DROP_ORGANS|DROP_ITEMS), 25)
+ addtimer(CALLBACK(src, PROC_REF(gib), DROP_BRAIN|DROP_ORGANS|DROP_ITEMS), 2.5 SECONDS)
var/matrix/M = matrix()
M.Scale(1.8, 1.2)
animate(src, time = 40, transform = M, easing = SINE_EASING)
diff --git a/code/modules/mob/living/living_defense.dm b/code/modules/mob/living/living_defense.dm
index bc77a480997..7a7cc38fd1d 100644
--- a/code/modules/mob/living/living_defense.dm
+++ b/code/modules/mob/living/living_defense.dm
@@ -549,8 +549,8 @@
if((GLOB.cult_narsie.souls == GLOB.cult_narsie.soul_goal) && (GLOB.cult_narsie.resolved == FALSE))
GLOB.cult_narsie.resolved = TRUE
sound_to_playing_players('sound/machines/alarm.ogg')
- addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(cult_ending_helper), CULT_VICTORY_MASS_CONVERSION), 120)
- addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(ending_helper)), 270)
+ addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(cult_ending_helper), CULT_VICTORY_MASS_CONVERSION), 12 SECONDS)
+ addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(ending_helper)), 27 SECONDS)
if(client)
make_new_construct(/mob/living/basic/construct/harvester, src, cultoverride = TRUE)
else
diff --git a/code/modules/mob/living/silicon/ai/life.dm b/code/modules/mob/living/silicon/ai/life.dm
index 331291db4ea..76f5c2eec93 100644
--- a/code/modules/mob/living/silicon/ai/life.dm
+++ b/code/modules/mob/living/silicon/ai/life.dm
@@ -164,4 +164,4 @@
adjust_temp_blindness(2 SECONDS)
update_sight()
to_chat(src, span_alert("You've lost power!"))
- addtimer(CALLBACK(src, PROC_REF(start_RestorePowerRoutine)), 20)
+ addtimer(CALLBACK(src, PROC_REF(start_RestorePowerRoutine)), 2 SECONDS)
diff --git a/code/modules/mob/living/silicon/robot/robot_defense.dm b/code/modules/mob/living/silicon/robot/robot_defense.dm
index f6b94c9f15c..70e7d8b34ab 100644
--- a/code/modules/mob/living/silicon/robot/robot_defense.dm
+++ b/code/modules/mob/living/silicon/robot/robot_defense.dm
@@ -227,7 +227,7 @@ GLOBAL_LIST_INIT(blacklisted_borg_hats, typecacheof(list( //Hats that don't real
return
spark_system.start()
step_away(src, user, 15)
- addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(_step_away), src, get_turf(user), 15), 3)
+ addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(_step_away), src, get_turf(user), 15), 0.3 SECONDS)
/mob/living/silicon/robot/get_shove_flags(mob/living/shover, obj/item/weapon)
. = ..()
diff --git a/code/modules/mob/living/simple_animal/bot/SuperBeepsky.dm b/code/modules/mob/living/simple_animal/bot/SuperBeepsky.dm
index 8bf51bbffd4..a0c9a964fb3 100644
--- a/code/modules/mob/living/simple_animal/bot/SuperBeepsky.dm
+++ b/code/modules/mob/living/simple_animal/bot/SuperBeepsky.dm
@@ -61,7 +61,7 @@
weapon.attack(C, src)
playsound(src, 'sound/weapons/blade1.ogg', 50, TRUE, -1)
if(C.stat == DEAD)
- addtimer(CALLBACK(src, TYPE_PROC_REF(/atom/, update_appearance)), 2)
+ addtimer(CALLBACK(src, TYPE_PROC_REF(/atom/, update_appearance)), 0.2 SECONDS)
back_to_idle()
diff --git a/code/modules/mob/living/simple_animal/bot/bot.dm b/code/modules/mob/living/simple_animal/bot/bot.dm
index c8f512d78f8..2ebac99efda 100644
--- a/code/modules/mob/living/simple_animal/bot/bot.dm
+++ b/code/modules/mob/living/simple_animal/bot/bot.dm
@@ -760,7 +760,7 @@ Pass a positive integer as an argument to override a bot's default speed.
/mob/living/simple_animal/bot/proc/bot_patrol()
patrol_step()
- addtimer(CALLBACK(src, PROC_REF(do_patrol)), 5)
+ addtimer(CALLBACK(src, PROC_REF(do_patrol)), 0.5 SECONDS)
/mob/living/simple_animal/bot/proc/do_patrol()
if(mode == BOT_PATROL)
@@ -814,7 +814,7 @@ Pass a positive integer as an argument to override a bot's default speed.
var/moved = bot_move(patrol_target)//step_towards(src, next) // attempt to move
if(!moved) //Couldn't proceed the next step of the path BOT_STEP_MAX_RETRIES times
- addtimer(CALLBACK(src, PROC_REF(patrol_step_not_moved)), 2)
+ addtimer(CALLBACK(src, PROC_REF(patrol_step_not_moved)), 0.2 SECONDS)
else // no path, so calculate new one
mode = BOT_START_PATROL
@@ -945,7 +945,7 @@ Pass a positive integer as an argument to override a bot's default speed.
var/moved = bot_move(summon_target, 3) // Move attempt
if(!moved)
- addtimer(CALLBACK(src, PROC_REF(summon_step_not_moved)), 2)
+ addtimer(CALLBACK(src, PROC_REF(summon_step_not_moved)), 0.2 SECONDS)
else // no path, so calculate new one
calc_summon_path()
diff --git a/code/modules/mob/living/simple_animal/bot/secbot.dm b/code/modules/mob/living/simple_animal/bot/secbot.dm
index cc490909751..099c3b5c98b 100644
--- a/code/modules/mob/living/simple_animal/bot/secbot.dm
+++ b/code/modules/mob/living/simple_animal/bot/secbot.dm
@@ -180,7 +180,7 @@
/mob/living/simple_animal/bot/secbot/electrocute_act(shock_damage, source, siemens_coeff = 1, flags = NONE)//shocks only make him angry
if(base_speed < initial(base_speed) + 3)
base_speed += 3
- addtimer(VARSET_CALLBACK(src, base_speed, base_speed - 3), 60)
+ addtimer(VARSET_CALLBACK(src, base_speed, base_speed - 3), 6 SECONDS)
playsound(src, 'sound/machines/defib_zap.ogg', 50)
visible_message(span_warning("[src] shakes and speeds up!"))
diff --git a/code/modules/mob/living/simple_animal/hostile/megafauna/bubblegum.dm b/code/modules/mob/living/simple_animal/hostile/megafauna/bubblegum.dm
index 91cf152acb0..00cc37fe618 100644
--- a/code/modules/mob/living/simple_animal/hostile/megafauna/bubblegum.dm
+++ b/code/modules/mob/living/simple_animal/hostile/megafauna/bubblegum.dm
@@ -225,7 +225,7 @@ Difficulty: Hard
var/turf/targetturf = get_step(src, dir)
L.forceMove(targetturf)
playsound(targetturf, 'sound/magic/exit_blood.ogg', 100, TRUE, -1)
- addtimer(CALLBACK(src, PROC_REF(devour), L), 2)
+ addtimer(CALLBACK(src, PROC_REF(devour), L), 0.2 SECONDS)
SLEEP_CHECK_DEATH(1, src)
/mob/living/simple_animal/hostile/megafauna/bubblegum/devour(mob/living/yummy_food)
diff --git a/code/modules/mob/living/simple_animal/hostile/megafauna/hierophant.dm b/code/modules/mob/living/simple_animal/hostile/megafauna/hierophant.dm
index a223004f85c..b4cafdb6d53 100644
--- a/code/modules/mob/living/simple_animal/hostile/megafauna/hierophant.dm
+++ b/code/modules/mob/living/simple_animal/hostile/megafauna/hierophant.dm
@@ -231,7 +231,7 @@ Difficulty: Hard
blinking = TRUE
SLEEP_CHECK_DEATH(4 + target_slowness, src)
animate(src, color = oldcolor, time = 8)
- addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, update_atom_colour)), 8)
+ addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, update_atom_colour)), 0.8 SECONDS)
SLEEP_CHECK_DEATH(8, src)
blinking = FALSE
else
@@ -252,7 +252,7 @@ Difficulty: Hard
INVOKE_ASYNC(src, PROC_REF(blasts), target, GLOB.diagonals)
SLEEP_CHECK_DEATH(6 + target_slowness, src)
animate(src, color = oldcolor, time = 8)
- addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, update_atom_colour)), 8)
+ addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, update_atom_colour)), 0.8 SECONDS)
SLEEP_CHECK_DEATH(8, src)
blinking = FALSE
@@ -280,7 +280,7 @@ Difficulty: Hard
SLEEP_CHECK_DEATH(8 + target_slowness, src)
update_cooldowns(list(COOLDOWN_UPDATE_SET_CHASER = chaser_cooldown_time))
animate(src, color = oldcolor, time = 8)
- addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, update_atom_colour)), 8)
+ addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, update_atom_colour)), 0.8 SECONDS)
SLEEP_CHECK_DEATH(8, src)
blinking = FALSE
@@ -582,7 +582,7 @@ Difficulty: Hard
friendly_fire_check = is_friendly_fire
if(new_speed)
speed = new_speed
- addtimer(CALLBACK(src, PROC_REF(seek_target)), 1)
+ addtimer(CALLBACK(src, PROC_REF(seek_target)), 0.1 SECONDS)
/obj/effect/temp_visual/hierophant/chaser/proc/get_target_dir()
. = get_cardinal_dir(src, targetturf)
diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/elite.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/elite.dm
index ba34883489f..71801a44c95 100644
--- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/elite.dm
+++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/elite.dm
@@ -169,7 +169,7 @@ While using this makes the system rely on OnFire, it still gives options for tim
if(boosted)
mychild.playsound_local(get_turf(mychild), 'sound/effects/magic.ogg', 40, 0)
to_chat(mychild, "Someone has activated your tumor. You will be returned to fight shortly, get ready!")
- addtimer(CALLBACK(src, PROC_REF(return_elite)), 30)
+ addtimer(CALLBACK(src, PROC_REF(return_elite)), 3 SECONDS)
INVOKE_ASYNC(src, PROC_REF(arena_checks))
if(TUMOR_INACTIVE)
if(HAS_TRAIT(user, TRAIT_ELITE_CHALLENGER))
@@ -181,7 +181,7 @@ While using this makes the system rely on OnFire, it still gives options for tim
visible_message(span_boldwarning("[src] begins to convulse. Your instincts tell you to step back."))
make_activator(user)
if(!boosted)
- addtimer(CALLBACK(src, PROC_REF(spawn_elite)), 30)
+ addtimer(CALLBACK(src, PROC_REF(spawn_elite)), 3 SECONDS)
return
visible_message(span_boldwarning("Something within [src] stirs..."))
var/mob/chosen_one = SSpolling.poll_ghosts_for_target(check_jobban = ROLE_SENTIENCE, role = ROLE_SENTIENCE, poll_time = 5 SECONDS, checked_target = src, ignore_category = POLL_IGNORE_LAVALAND_ELITE, alert_pic = src, role_name_text = "lavaland elite")
@@ -194,7 +194,7 @@ While using this makes the system rely on OnFire, it still gives options for tim
While the opponent might have an upper hand with powerful mining equipment and tools, you have great power normally limited by AI mobs.\n\
If you want to win, you'll have to use your powers in creative ways to ensure the kill. It's suggested you try using them all as soon as possible.\n\
Should you win, you'll receive extra information regarding what to do after. Good luck!")
- addtimer(CALLBACK(src, PROC_REF(spawn_elite), elitemind), 100)
+ addtimer(CALLBACK(src, PROC_REF(spawn_elite), elitemind), 10 SECONDS)
else
visible_message(span_boldwarning("The stirring stops, and nothing emerges. Perhaps try again later."))
activity = TUMOR_INACTIVE
@@ -291,7 +291,7 @@ While using this makes the system rely on OnFire, it still gives options for tim
INVOKE_ASYNC(src, PROC_REF(arena_trap)) //Gets another arena trap queued up for when this one runs out.
INVOKE_ASYNC(src, PROC_REF(border_check)) //Checks to see if our fighters got out of the arena somehow.
if(!QDELETED(src))
- addtimer(CALLBACK(src, PROC_REF(arena_checks)), 50)
+ addtimer(CALLBACK(src, PROC_REF(arena_checks)), 5 SECONDS)
/obj/structure/elite_tumor/proc/fighters_check()
if(QDELETED(mychild) || mychild.stat == DEAD)
diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/goliath_broodmother.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/goliath_broodmother.dm
index 2b1d638ac49..f7d86c350de 100644
--- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/goliath_broodmother.dm
+++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/goliath_broodmother.dm
@@ -146,7 +146,7 @@
color = COLOR_RED
set_varspeed(0)
move_to_delay = 3
- addtimer(CALLBACK(src, PROC_REF(reset_rage)), 65)
+ addtimer(CALLBACK(src, PROC_REF(reset_rage)), 6.5 SECONDS)
/mob/living/simple_animal/hostile/asteroid/elite/broodmother/proc/reset_rage()
color = COLOR_WHITE
diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/herald.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/herald.dm
index 77557879ccb..9f162e0cfdc 100644
--- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/herald.dm
+++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/herald.dm
@@ -56,7 +56,7 @@
/mob/living/simple_animal/hostile/asteroid/elite/herald/death()
. = ..()
if(!is_mirror)
- addtimer(CALLBACK(src, PROC_REF(become_ghost)), 8)
+ addtimer(CALLBACK(src, PROC_REF(become_ghost)), 0.8 SECONDS)
if(my_mirror != null)
qdel(my_mirror)
@@ -150,13 +150,13 @@
var/target_turf = get_turf(target)
var/angle_to_target = get_angle(src, target_turf)
shoot_projectile(target_turf, angle_to_target, FALSE, TRUE)
- addtimer(CALLBACK(src, PROC_REF(shoot_projectile), target_turf, angle_to_target, FALSE, TRUE), 2)
- addtimer(CALLBACK(src, PROC_REF(shoot_projectile), target_turf, angle_to_target, FALSE, TRUE), 4)
+ addtimer(CALLBACK(src, PROC_REF(shoot_projectile), target_turf, angle_to_target, FALSE, TRUE), 0.2 SECONDS)
+ addtimer(CALLBACK(src, PROC_REF(shoot_projectile), target_turf, angle_to_target, FALSE, TRUE), 0.4 SECONDS)
if(health < maxHealth * 0.5 && !is_mirror)
playsound(get_turf(src), 'sound/magic/clockwork/invoke_general.ogg', 20, TRUE)
- addtimer(CALLBACK(src, PROC_REF(shoot_projectile), target_turf, angle_to_target, FALSE, TRUE), 10)
- addtimer(CALLBACK(src, PROC_REF(shoot_projectile), target_turf, angle_to_target, FALSE, TRUE), 12)
- addtimer(CALLBACK(src, PROC_REF(shoot_projectile), target_turf, angle_to_target, FALSE, TRUE), 14)
+ addtimer(CALLBACK(src, PROC_REF(shoot_projectile), target_turf, angle_to_target, FALSE, TRUE), 1 SECONDS)
+ addtimer(CALLBACK(src, PROC_REF(shoot_projectile), target_turf, angle_to_target, FALSE, TRUE), 1.2 SECONDS)
+ addtimer(CALLBACK(src, PROC_REF(shoot_projectile), target_turf, angle_to_target, FALSE, TRUE), 1.4 SECONDS)
/mob/living/simple_animal/hostile/asteroid/elite/herald/proc/herald_circleshot(offset)
var/static/list/directional_shot_angles = list(0, 45, 90, 135, 180, 225, 270, 315)
@@ -173,11 +173,11 @@
if(!is_mirror)
icon_state = "herald_enraged"
playsound(get_turf(src), 'sound/magic/clockwork/invoke_general.ogg', 20, TRUE)
- addtimer(CALLBACK(src, PROC_REF(herald_circleshot), 0), 5)
+ addtimer(CALLBACK(src, PROC_REF(herald_circleshot), 0), 0.5 SECONDS)
if(health < maxHealth * 0.5 && !is_mirror)
playsound(get_turf(src), 'sound/magic/clockwork/invoke_general.ogg', 20, TRUE)
- addtimer(CALLBACK(src, PROC_REF(herald_circleshot), 22.5), 15)
- addtimer(CALLBACK(src, PROC_REF(unenrage)), 20)
+ addtimer(CALLBACK(src, PROC_REF(herald_circleshot), 22.5), 1.5 SECONDS)
+ addtimer(CALLBACK(src, PROC_REF(unenrage)), 2 SECONDS)
/mob/living/simple_animal/hostile/asteroid/elite/herald/proc/herald_teleshot(target)
ranged_cooldown = world.time + 30
@@ -283,7 +283,7 @@
owner.visible_message(span_danger("[owner]'s [src] emits a loud noise as [owner] is struck!"))
var/static/list/directional_shot_angles = list(0, 45, 90, 135, 180, 225, 270, 315)
playsound(get_turf(owner), 'sound/magic/clockwork/invoke_general.ogg', 20, TRUE)
- addtimer(CALLBACK(src, PROC_REF(reactionshot), owner), 10)
+ addtimer(CALLBACK(src, PROC_REF(reactionshot), owner), 1 SECONDS)
#undef HERALD_TRISHOT
#undef HERALD_DIRECTIONALSHOT
diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/legionnaire.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/legionnaire.dm
index 926f4e96baa..1ec573dbd6c 100644
--- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/legionnaire.dm
+++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/legionnaire.dm
@@ -123,7 +123,7 @@
T = get_step(T, dir_to_target)
playsound(src,'sound/magic/demon_attack1.ogg', 200, 1)
visible_message(span_boldwarning("[src] prepares to charge!"))
- addtimer(CALLBACK(src, PROC_REF(legionnaire_charge_2), dir_to_target, 0), 4)
+ addtimer(CALLBACK(src, PROC_REF(legionnaire_charge_2), dir_to_target, 0), 0.4 SECONDS)
/mob/living/simple_animal/hostile/asteroid/elite/legionnaire/proc/legionnaire_charge_2(move_dir, times_ran)
if(times_ran >= 6)
@@ -183,7 +183,7 @@
/mob/living/simple_animal/hostile/asteroid/elite/legionnaire/proc/onHeadDeath()
myhead = null
- addtimer(CALLBACK(src, PROC_REF(regain_head)), 50)
+ addtimer(CALLBACK(src, PROC_REF(regain_head)), 5 SECONDS)
/mob/living/simple_animal/hostile/asteroid/elite/legionnaire/proc/regain_head()
has_head = TRUE
diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/pandora.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/pandora.dm
index 2d6cdb39da0..a9babf2ecca 100644
--- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/pandora.dm
+++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/pandora.dm
@@ -136,7 +136,7 @@
new /obj/effect/temp_visual/hierophant/telegraph(turf_target, src)
new /obj/effect/temp_visual/hierophant/telegraph(source, src)
playsound(source,'sound/machines/airlockopen.ogg', 200, 1)
- addtimer(CALLBACK(src, PROC_REF(pandora_teleport_2), turf_target, source), 2)
+ addtimer(CALLBACK(src, PROC_REF(pandora_teleport_2), turf_target, source), 0.2 SECONDS)
/mob/living/simple_animal/hostile/asteroid/elite/pandora/proc/pandora_teleport_2(turf/T, turf/source)
new /obj/effect/temp_visual/hierophant/telegraph/teleport(T, src)
@@ -148,7 +148,7 @@
animate(src, alpha = 0, time = 2, easing = EASE_OUT) //fade out
visible_message(span_hierophant_warning("[src] fades out!"))
ADD_TRAIT(src, TRAIT_UNDENSE, VANISHING_TRAIT)
- addtimer(CALLBACK(src, PROC_REF(pandora_teleport_3), T), 2)
+ addtimer(CALLBACK(src, PROC_REF(pandora_teleport_3), T), 0.2 SECONDS)
/mob/living/simple_animal/hostile/asteroid/elite/pandora/proc/pandora_teleport_3(turf/T)
forceMove(T)
@@ -161,7 +161,7 @@
var/turf/T = get_turf(target)
new /obj/effect/temp_visual/hierophant/blast/damaging/pandora(T, src)
var/max_size = 3
- addtimer(CALLBACK(src, PROC_REF(aoe_squares_2), T, 0, max_size), 2)
+ addtimer(CALLBACK(src, PROC_REF(aoe_squares_2), T, 0, max_size), 0.2 SECONDS)
/mob/living/simple_animal/hostile/asteroid/elite/pandora/proc/aoe_squares_2(turf/T, ring, max_size)
if(ring > max_size)
diff --git a/code/modules/mob/living/simple_animal/hostile/retaliate/goose.dm b/code/modules/mob/living/simple_animal/hostile/retaliate/goose.dm
index e4b07470c58..30afc69c8b3 100644
--- a/code/modules/mob/living/simple_animal/hostile/retaliate/goose.dm
+++ b/code/modules/mob/living/simple_animal/hostile/retaliate/goose.dm
@@ -144,7 +144,7 @@
/mob/living/simple_animal/hostile/retaliate/goose/proc/choke(obj/item/food/plastic)
if(stat == DEAD || choking)
return
- addtimer(CALLBACK(src, PROC_REF(suffocate)), 300)
+ addtimer(CALLBACK(src, PROC_REF(suffocate)), 30 SECONDS)
/mob/living/simple_animal/hostile/retaliate/goose/vomit/choke(obj/item/food/plastic)
if(stat == DEAD || choking)
@@ -152,9 +152,9 @@
if(prob(25))
visible_message(span_warning("[src] is gagging on \the [plastic]!"))
manual_emote("gags!")
- addtimer(CALLBACK(src, PROC_REF(vomit)), 300)
+ addtimer(CALLBACK(src, PROC_REF(vomit)), 30 SECONDS)
else
- addtimer(CALLBACK(src, PROC_REF(suffocate)), 300)
+ addtimer(CALLBACK(src, PROC_REF(suffocate)), 30 SECONDS)
/mob/living/simple_animal/hostile/retaliate/goose/Life(seconds_per_tick = SSMOBS_DT, times_fired)
. = ..()
diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm
index f666be0656e..b830237feda 100644
--- a/code/modules/mob/mob.dm
+++ b/code/modules/mob/mob.dm
@@ -737,7 +737,7 @@
if(!imagined_eye_contact && is_face_visible() && SEND_SIGNAL(examined_mob, COMSIG_MOB_EYECONTACT, src, FALSE) != COMSIG_BLOCK_EYECONTACT)
var/msg = span_smallnotice("[src] makes eye contact with you.")
- addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(to_chat), examined_mob, msg), 3)
+ addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(to_chat), examined_mob, msg), 0.3 SECONDS)
/**
* Called by using Activate Held Object with an empty hand/limb
diff --git a/code/modules/paperwork/filingcabinet.dm b/code/modules/paperwork/filingcabinet.dm
index 140bdffcf87..7fbd4e1db85 100644
--- a/code/modules/paperwork/filingcabinet.dm
+++ b/code/modules/paperwork/filingcabinet.dm
@@ -97,7 +97,7 @@
if(istype(content) && in_range(src, usr))
usr.put_in_hands(content)
icon_state = "[initial(icon_state)]-open"
- addtimer(VARSET_CALLBACK(src, icon_state, initial(icon_state)), 5)
+ addtimer(VARSET_CALLBACK(src, icon_state, initial(icon_state)), 0.5 SECONDS)
return TRUE
/obj/structure/filingcabinet/attack_tk(mob/user)
diff --git a/code/modules/paperwork/ticketmachine.dm b/code/modules/paperwork/ticketmachine.dm
index f9ade59edc1..5c849f4a530 100644
--- a/code/modules/paperwork/ticketmachine.dm
+++ b/code/modules/paperwork/ticketmachine.dm
@@ -156,7 +156,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/ticket_machine, 32)
machine.increment()
if(isnull(machine.current_ticket))
to_chat(activator, span_notice("The button light indicates that there are no more tickets to be processed."))
- addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 10)
+ addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 1 SECONDS)
/obj/machinery/ticket_machine/update_icon()
. = ..()
diff --git a/code/modules/plumbing/plumbers/plumbing_buffer.dm b/code/modules/plumbing/plumbers/plumbing_buffer.dm
index 7b3ef306d04..06aad506ff0 100644
--- a/code/modules/plumbing/plumbers/plumbing_buffer.dm
+++ b/code/modules/plumbing/plumbers/plumbing_buffer.dm
@@ -68,7 +68,7 @@
neighbour.attempt_connect() //technically this would runtime if you made about 200~ buffers
add_overlay(icon_state + "_alert")
- addtimer(CALLBACK(src, TYPE_PROC_REF(/atom/, cut_overlay), icon_state + "_alert"), 20)
+ addtimer(CALLBACK(src, TYPE_PROC_REF(/atom/, cut_overlay), icon_state + "_alert"), 2 SECONDS)
/obj/machinery/plumbing/buffer/attack_hand_secondary(mob/user, modifiers)
. = ..()
diff --git a/code/modules/power/apc/apc_main.dm b/code/modules/power/apc/apc_main.dm
index 572b9747d1c..0cc87a71ee6 100644
--- a/code/modules/power/apc/apc_main.dm
+++ b/code/modules/power/apc/apc_main.dm
@@ -208,7 +208,7 @@
//Make the apc visually interactive
register_context()
- addtimer(CALLBACK(src, PROC_REF(update)), 5)
+ addtimer(CALLBACK(src, PROC_REF(update)), 0.5 SECONDS)
RegisterSignal(SSdcs, COMSIG_GLOB_GREY_TIDE, PROC_REF(grey_tide))
RegisterSignal(src, COMSIG_HIT_BY_SABOTEUR, PROC_REF(on_saboteur))
update_appearance()
diff --git a/code/modules/power/apc/apc_tool_act.dm b/code/modules/power/apc/apc_tool_act.dm
index 00718c4ada9..00d3fc7a538 100644
--- a/code/modules/power/apc/apc_tool_act.dm
+++ b/code/modules/power/apc/apc_tool_act.dm
@@ -459,7 +459,7 @@
environ = APC_CHANNEL_OFF
update_appearance()
update()
- addtimer(CALLBACK(src, PROC_REF(reset), APC_RESET_EMP), 600)
+ addtimer(CALLBACK(src, PROC_REF(reset), APC_RESET_EMP), 60 SECONDS)
/obj/machinery/power/apc/proc/togglelock(mob/living/user)
if(obj_flags & EMAGGED)
diff --git a/code/modules/power/power.dm b/code/modules/power/power.dm
index f5b4a8ca66b..ce912027225 100644
--- a/code/modules/power/power.dm
+++ b/code/modules/power/power.dm
@@ -30,7 +30,7 @@
/obj/machinery/power/Destroy()
disconnect_from_network()
- addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(update_cable_icons_on_turf), get_turf(src)), 3)
+ addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(update_cable_icons_on_turf), get_turf(src)), 0.3 SECONDS)
return ..()
///////////////////////////////
diff --git a/code/modules/power/singularity/containment_field.dm b/code/modules/power/singularity/containment_field.dm
index e57e97bedf1..3c38d9215b6 100644
--- a/code/modules/power/singularity/containment_field.dm
+++ b/code/modules/power/singularity/containment_field.dm
@@ -164,4 +164,4 @@
to_chat(considered_atom, span_userdanger("The field repels you with tremendous force!"))
playsound(src, 'sound/effects/gravhit.ogg', 50, TRUE)
considered_atom.throw_at(target, 200, 4)
- addtimer(CALLBACK(src, PROC_REF(clear_shock)), 5)
+ addtimer(CALLBACK(src, PROC_REF(clear_shock)), 0.5 SECONDS)
diff --git a/code/modules/power/singularity/field_generator.dm b/code/modules/power/singularity/field_generator.dm
index 54615fb1fc8..527ce9c560b 100644
--- a/code/modules/power/singularity/field_generator.dm
+++ b/code/modules/power/singularity/field_generator.dm
@@ -283,11 +283,11 @@ no power level overlay is currently in the overlays list.
set_explosion_block(INFINITY)
can_atmos_pass = ATMOS_PASS_NO
air_update_turf(TRUE, TRUE)
- addtimer(CALLBACK(src, PROC_REF(setup_field), 1), 1)
- addtimer(CALLBACK(src, PROC_REF(setup_field), 2), 2)
- addtimer(CALLBACK(src, PROC_REF(setup_field), 4), 3)
- addtimer(CALLBACK(src, PROC_REF(setup_field), 8), 4)
- addtimer(VARSET_CALLBACK(src, active, FG_ONLINE), 5)
+ addtimer(CALLBACK(src, PROC_REF(setup_field), 1), 0.1 SECONDS)
+ addtimer(CALLBACK(src, PROC_REF(setup_field), 2), 0.2 SECONDS)
+ addtimer(CALLBACK(src, PROC_REF(setup_field), 4), 0.3 SECONDS)
+ addtimer(CALLBACK(src, PROC_REF(setup_field), 8), 0.4 SECONDS)
+ addtimer(VARSET_CALLBACK(src, active, FG_ONLINE), 0.5 SECONDS)
/obj/machinery/field/generator/proc/setup_field(NSEW)
var/turf/current_turf = loc
diff --git a/code/modules/power/tesla/energy_ball.dm b/code/modules/power/tesla/energy_ball.dm
index 84a09c4a0dd..0e41a7d6e86 100644
--- a/code/modules/power/tesla/energy_ball.dm
+++ b/code/modules/power/tesla/energy_ball.dm
@@ -127,7 +127,7 @@
energy_to_raise = energy_to_raise * 1.25
playsound(src.loc, 'sound/magic/lightning_chargeup.ogg', 100, TRUE, extrarange = 30)
- addtimer(CALLBACK(src, PROC_REF(new_mini_ball)), 100)
+ addtimer(CALLBACK(src, PROC_REF(new_mini_ball)), 10 SECONDS)
else if(energy < energy_to_lower && orbiting_balls.len)
energy_to_raise = energy_to_raise / 1.25
energy_to_lower = (energy_to_raise / 1.25) - 20
diff --git a/code/modules/projectiles/guns/special/grenade_launcher.dm b/code/modules/projectiles/guns/special/grenade_launcher.dm
index e5ce8c51316..830952dd769 100644
--- a/code/modules/projectiles/guns/special/grenade_launcher.dm
+++ b/code/modules/projectiles/guns/special/grenade_launcher.dm
@@ -53,4 +53,4 @@
F.active = 1
F.icon_state = initial(F.icon_state) + "_active"
playsound(user.loc, 'sound/weapons/armbomb.ogg', 75, TRUE, -3)
- addtimer(CALLBACK(F, TYPE_PROC_REF(/obj/item/grenade, detonate)), 15)
+ addtimer(CALLBACK(F, TYPE_PROC_REF(/obj/item/grenade, detonate)), 1.5 SECONDS)
diff --git a/code/modules/projectiles/projectile/energy/net_snare.dm b/code/modules/projectiles/projectile/energy/net_snare.dm
index 7eb0945b18b..1bb7988e4ba 100644
--- a/code/modules/projectiles/projectile/energy/net_snare.dm
+++ b/code/modules/projectiles/projectile/energy/net_snare.dm
@@ -40,7 +40,7 @@
else
com.target_ref = null
- addtimer(CALLBACK(src, PROC_REF(pop), teletarget), 30)
+ addtimer(CALLBACK(src, PROC_REF(pop), teletarget), 3 SECONDS)
/obj/effect/nettingportal/proc/pop(teletarget)
if(teletarget)
diff --git a/code/modules/projectiles/projectile/energy/stun.dm b/code/modules/projectiles/projectile/energy/stun.dm
index 0d279b083d0..a685e6b2cec 100644
--- a/code/modules/projectiles/projectile/energy/stun.dm
+++ b/code/modules/projectiles/projectile/energy/stun.dm
@@ -25,7 +25,7 @@
if(C.dna && C.dna.check_mutation(/datum/mutation/human/hulk))
C.say(pick(";RAAAAAAAARGH!", ";HNNNNNNNNNGGGGGGH!", ";GWAAAAAAAARRRHHH!", "NNNNNNNNGGGGGGGGHH!", ";AAAAAAARRRGH!" ), forced = "hulk")
else if(!C.check_stun_immunity(CANKNOCKDOWN))
- addtimer(CALLBACK(C, TYPE_PROC_REF(/mob/living/carbon, do_jitter_animation), 20), 5)
+ addtimer(CALLBACK(C, TYPE_PROC_REF(/mob/living/carbon, do_jitter_animation), 20), 0.5 SECONDS)
/obj/projectile/energy/electrode/on_range() //to ensure the bolt sparks when it reaches the end of its range if it didn't hit a target yet
do_sparks(1, TRUE, src)
diff --git a/code/modules/reagents/chemistry/reagents/drug_reagents.dm b/code/modules/reagents/chemistry/reagents/drug_reagents.dm
index 81d0a53d684..a76fd26d963 100644
--- a/code/modules/reagents/chemistry/reagents/drug_reagents.dm
+++ b/code/modules/reagents/chemistry/reagents/drug_reagents.dm
@@ -685,7 +685,7 @@
. = ..()
playsound(invisible_man, 'sound/chemistry/saturnx_fade.ogg', 40)
to_chat(invisible_man, span_nicegreen("You feel pins and needles all over your skin as your body suddenly becomes transparent!"))
- addtimer(CALLBACK(src, PROC_REF(turn_man_invisible), invisible_man), 10) //just a quick delay to synch up the sound.
+ addtimer(CALLBACK(src, PROC_REF(turn_man_invisible), invisible_man), 1 SECONDS) //just a quick delay to synch up the sound.
if(!invisible_man.hud_used)
return
diff --git a/code/modules/reagents/chemistry/reagents/food_reagents.dm b/code/modules/reagents/chemistry/reagents/food_reagents.dm
index 87db864acbd..98a5c823c06 100644
--- a/code/modules/reagents/chemistry/reagents/food_reagents.dm
+++ b/code/modules/reagents/chemistry/reagents/food_reagents.dm
@@ -189,7 +189,7 @@
exposed_mob.emote("scream")
playsound(exposed_mob, 'sound/machines/fryer/deep_fryer_emerge.ogg', 25, TRUE)
ADD_TRAIT(exposed_mob, TRAIT_OIL_FRIED, "cooking_oil_react")
- addtimer(CALLBACK(exposed_mob, TYPE_PROC_REF(/mob/living, unfry_mob)), 3)
+ addtimer(CALLBACK(exposed_mob, TYPE_PROC_REF(/mob/living, unfry_mob)), 0.3 SECONDS)
if(FryLoss)
exposed_mob.adjustFireLoss(FryLoss)
diff --git a/code/modules/reagents/chemistry/reagents/other_reagents.dm b/code/modules/reagents/chemistry/reagents/other_reagents.dm
index d53d3cfa53c..0579bd4f853 100644
--- a/code/modules/reagents/chemistry/reagents/other_reagents.dm
+++ b/code/modules/reagents/chemistry/reagents/other_reagents.dm
@@ -1249,7 +1249,7 @@
to_chat(affected_mob, span_warning("You feel unstable..."))
affected_mob.set_jitter_if_lower(2 SECONDS)
current_cycle = 1
- addtimer(CALLBACK(affected_mob, TYPE_PROC_REF(/mob/living, bluespace_shuffle)), 30)
+ addtimer(CALLBACK(affected_mob, TYPE_PROC_REF(/mob/living, bluespace_shuffle)), 3 SECONDS)
/mob/living/proc/bluespace_shuffle()
do_teleport(src, get_turf(src), 5, asoundin = 'sound/effects/phasein.ogg', channel = TELEPORT_CHANNEL_BLUESPACE)
diff --git a/code/modules/reagents/chemistry/recipes.dm b/code/modules/reagents/chemistry/recipes.dm
index c7732e0908a..f7fc1b04ac8 100644
--- a/code/modules/reagents/chemistry/recipes.dm
+++ b/code/modules/reagents/chemistry/recipes.dm
@@ -261,10 +261,10 @@
else
if(setting_type)
if(step_away(X, T) && moving_power > 1) //Can happen twice at most. So this is fine.
- addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(_step_away), X, T), 2)
+ addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(_step_away), X, T), 0.2 SECONDS)
else
if(step_towards(X, T) && moving_power > 1)
- addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(_step_towards), X, T), 2)
+ addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(_step_towards), X, T), 0.2 SECONDS)
//////////////////Generic explosions/failures////////////////////
// It is HIGHLY, HIGHLY recomended that you consume all/a good volume of the reagents/products in an explosion - because it will just keep going forever until the reaction stops
diff --git a/code/modules/reagents/chemistry/recipes/pyrotechnics.dm b/code/modules/reagents/chemistry/recipes/pyrotechnics.dm
index edb11633e91..d190a44aea0 100644
--- a/code/modules/reagents/chemistry/recipes/pyrotechnics.dm
+++ b/code/modules/reagents/chemistry/recipes/pyrotechnics.dm
@@ -157,7 +157,7 @@
mix_message = "Sparks start flying around the gunpowder!"
/datum/chemical_reaction/reagent_explosion/gunpowder_explosion/on_reaction(datum/reagents/holder, datum/equilibrium/reaction, created_volume)
- addtimer(CALLBACK(src, PROC_REF(default_explode), holder, created_volume, modifier, strengthdiv), rand(5,10) SECONDS)
+ addtimer(CALLBACK(src, PROC_REF(default_explode), holder, created_volume, modifier, strengthdiv), rand(5 SECONDS, 10 SECONDS))
/datum/chemical_reaction/thermite
results = list(/datum/reagent/thermite = 3)
diff --git a/code/modules/reagents/chemistry/recipes/slime_extracts.dm b/code/modules/reagents/chemistry/recipes/slime_extracts.dm
index ecd46a44db0..ce13c9c70de 100644
--- a/code/modules/reagents/chemistry/recipes/slime_extracts.dm
+++ b/code/modules/reagents/chemistry/recipes/slime_extracts.dm
@@ -103,21 +103,21 @@
/datum/chemical_reaction/slime/slimemobspawn/proc/summon_mobs(datum/reagents/holder, turf/T)
T.visible_message(span_danger("The slime extract begins to vibrate violently!"))
- addtimer(CALLBACK(src, PROC_REF(chemical_mob_spawn), holder, 5, "Gold Slime", HOSTILE_SPAWN), 50)
+ addtimer(CALLBACK(src, PROC_REF(chemical_mob_spawn), holder, 5, "Gold Slime", HOSTILE_SPAWN), 5 SECONDS)
/datum/chemical_reaction/slime/slimemobspawn/lesser
required_reagents = list(/datum/reagent/blood = 1)
/datum/chemical_reaction/slime/slimemobspawn/lesser/summon_mobs(datum/reagents/holder, turf/T)
T.visible_message(span_danger("The slime extract begins to vibrate violently!"))
- addtimer(CALLBACK(src, PROC_REF(chemical_mob_spawn), holder, 3, "Lesser Gold Slime", HOSTILE_SPAWN, FACTION_NEUTRAL), 50)
+ addtimer(CALLBACK(src, PROC_REF(chemical_mob_spawn), holder, 3, "Lesser Gold Slime", HOSTILE_SPAWN, FACTION_NEUTRAL), 5 SECONDS)
/datum/chemical_reaction/slime/slimemobspawn/friendly
required_reagents = list(/datum/reagent/water = 1)
/datum/chemical_reaction/slime/slimemobspawn/friendly/summon_mobs(datum/reagents/holder, turf/T)
T.visible_message(span_danger("The slime extract begins to vibrate adorably!"))
- addtimer(CALLBACK(src, PROC_REF(chemical_mob_spawn), holder, 1, "Friendly Gold Slime", FRIENDLY_SPAWN, FACTION_NEUTRAL), 50)
+ addtimer(CALLBACK(src, PROC_REF(chemical_mob_spawn), holder, 1, "Friendly Gold Slime", FRIENDLY_SPAWN, FACTION_NEUTRAL), 5 SECONDS)
/datum/chemical_reaction/slime/slimemobspawn/spider
required_reagents = list(/datum/reagent/spider_extract = 1)
@@ -125,7 +125,7 @@
/datum/chemical_reaction/slime/slimemobspawn/spider/summon_mobs(datum/reagents/holder, turf/T)
T.visible_message(span_danger("The slime extract begins to vibrate crikey-ingly!"))
- addtimer(CALLBACK(src, PROC_REF(chemical_mob_spawn), holder, 3, "Traitor Spider Slime", /mob/living/basic/spider/giant/midwife, FACTION_NEUTRAL, FALSE), 50)
+ addtimer(CALLBACK(src, PROC_REF(chemical_mob_spawn), holder, 3, "Traitor Spider Slime", /mob/living/basic/spider/giant/midwife, FACTION_NEUTRAL, FALSE), 5 SECONDS)
//Silver
@@ -194,7 +194,7 @@
/datum/chemical_reaction/slime/slimefreeze/on_reaction(datum/reagents/holder, datum/equilibrium/reaction, created_volume)
var/turf/T = get_turf(holder.my_atom)
T.visible_message(span_danger("The slime extract starts to feel extremely cold!"))
- addtimer(CALLBACK(src, PROC_REF(freeze), holder), 50)
+ addtimer(CALLBACK(src, PROC_REF(freeze), holder), 5 SECONDS)
var/obj/item/slime_extract/M = holder.my_atom
deltimer(M.qdel_timer)
..()
@@ -229,7 +229,7 @@
/datum/chemical_reaction/slime/slimefire/on_reaction(datum/reagents/holder, datum/equilibrium/reaction, created_volume)
var/turf/T = get_turf(holder.my_atom)
T.visible_message(span_danger("The slime extract begins to vibrate adorably!"))
- addtimer(CALLBACK(src, PROC_REF(slime_burn), holder), 50)
+ addtimer(CALLBACK(src, PROC_REF(slime_burn), holder), 5 SECONDS)
var/obj/item/slime_extract/M = holder.my_atom
deltimer(M.qdel_timer)
..()
@@ -372,7 +372,7 @@
message_admins("Slime Explosion reaction started at [ADMIN_VERBOSEJMP(T)]. Last Fingerprint: [touch_msg]")
log_game("Slime Explosion reaction started at [AREACOORD(T)]. Last Fingerprint: [lastkey ? lastkey : "N/A"].")
T.visible_message(span_danger("The slime extract begins to vibrate violently !"))
- addtimer(CALLBACK(src, PROC_REF(boom), holder), 50)
+ addtimer(CALLBACK(src, PROC_REF(boom), holder), 5 SECONDS)
var/obj/item/slime_extract/M = holder.my_atom
deltimer(M.qdel_timer)
..()
@@ -525,7 +525,7 @@
S.visible_message(span_danger("Infused with plasma, the core begins to expand uncontrollably!"))
S.icon_state = "[S.base_state]_active"
S.active = TRUE
- addtimer(CALLBACK(S, TYPE_PROC_REF(/obj/item/grenade, detonate)), rand(15,60))
+ addtimer(CALLBACK(S, TYPE_PROC_REF(/obj/item/grenade, detonate)), rand(1.5 SECONDS, 6 SECONDS))
else
var/mob/living/basic/slime/random/random_slime = new (get_turf(holder.my_atom))
random_slime.visible_message(span_danger("Infused with plasma, the core begins to quiver and grow, and a new baby slime emerges from it!"))
@@ -541,7 +541,7 @@
S.visible_message(span_danger("Infused with slime jelly, the core begins to expand uncontrollably!"))
S.icon_state = "[S.base_state]_active"
S.active = TRUE
- addtimer(CALLBACK(S, TYPE_PROC_REF(/obj/item/grenade, detonate)), rand(15,60))
+ addtimer(CALLBACK(S, TYPE_PROC_REF(/obj/item/grenade, detonate)), rand(1.5 SECONDS, 6 SECONDS))
var/lastkey = holder.my_atom.fingerprintslast
var/touch_msg = "N/A"
if(lastkey)
diff --git a/code/modules/reagents/reagent_containers/pill.dm b/code/modules/reagents/reagent_containers/pill.dm
index fd2ab0eb493..ee512224184 100644
--- a/code/modules/reagents/reagent_containers/pill.dm
+++ b/code/modules/reagents/reagent_containers/pill.dm
@@ -49,7 +49,7 @@
///Runs the consumption code, can be overriden for special effects
/obj/item/reagent_containers/pill/proc/on_consumption(mob/consumer, mob/giver)
if(icon_state == "pill4" && prob(5)) //you take the red pill - you stay in Wonderland, and I show you how deep the rabbit hole goes
- addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(to_chat), consumer, span_notice("[pick(strings(REDPILL_FILE, "redpill_questions"))]")), 50)
+ addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(to_chat), consumer, span_notice("[pick(strings(REDPILL_FILE, "redpill_questions"))]")), 5 SECONDS)
if(apply_type == INGEST)
SEND_SIGNAL(consumer, COMSIG_LIVING_PILL_CONSUMED, src, giver)
SEND_SIGNAL(src, COMSIG_PILL_CONSUMED, eater = consumer, feeder = giver)
diff --git a/code/modules/research/experimentor.dm b/code/modules/research/experimentor.dm
index 3ddc6c6562f..43f0105720d 100644
--- a/code/modules/research/experimentor.dm
+++ b/code/modules/research/experimentor.dm
@@ -509,10 +509,10 @@
investigate_log("Experimentor has drained power from its APC", INVESTIGATE_EXPERIMENTOR)
if(globalMalf == 99)
visible_message(span_warning("[src] begins to glow and vibrate. It's going to blow!"))
- addtimer(CALLBACK(src, PROC_REF(boom)), 50)
+ addtimer(CALLBACK(src, PROC_REF(boom)), 5 SECONDS)
if(globalMalf == 100)
visible_message(span_warning("[src] begins to glow and vibrate. It's going to blow!"))
- addtimer(CALLBACK(src, PROC_REF(honk)), 50)
+ addtimer(CALLBACK(src, PROC_REF(honk)), 5 SECONDS)
addtimer(CALLBACK(src, PROC_REF(reset_exp)), resetTime)
@@ -663,7 +663,7 @@
/obj/item/relic/proc/explode(mob/user)
to_chat(user, span_danger("[src] begins to heat up!"))
- addtimer(CALLBACK(src, PROC_REF(do_explode), user), rand(35, 100))
+ addtimer(CALLBACK(src, PROC_REF(do_explode), user), rand(3.5 SECONDS, 10 SECONDS))
/obj/item/relic/proc/do_explode(mob/user)
if(loc == user)
@@ -674,7 +674,7 @@
/obj/item/relic/proc/teleport(mob/user)
to_chat(user, span_notice("[src] begins to vibrate!"))
- addtimer(CALLBACK(src, PROC_REF(do_the_teleport), user), rand(10, 30))
+ addtimer(CALLBACK(src, PROC_REF(do_the_teleport), user), rand(1 SECONDS, 3 SECONDS))
/obj/item/relic/proc/do_the_teleport(mob/user)
var/turf/userturf = get_turf(user)
diff --git a/code/modules/research/xenobiology/crossbreeding/burning.dm b/code/modules/research/xenobiology/crossbreeding/burning.dm
index c21645ede96..72ee9d98516 100644
--- a/code/modules/research/xenobiology/crossbreeding/burning.dm
+++ b/code/modules/research/xenobiology/crossbreeding/burning.dm
@@ -258,7 +258,7 @@ Burning extracts:
/obj/item/slimecross/burning/oil/do_effect(mob/user)
user.visible_message(span_warning("[user] activates [src]. It's going to explode!"), span_danger("You activate [src]. It crackles in anticipation"))
- addtimer(CALLBACK(src, PROC_REF(boom)), 50)
+ addtimer(CALLBACK(src, PROC_REF(boom)), 5 SECONDS)
/// Inflicts a blastwave upon every mob within a small radius.
/obj/item/slimecross/burning/oil/proc/boom()
diff --git a/code/modules/research/xenobiology/crossbreeding/charged.dm b/code/modules/research/xenobiology/crossbreeding/charged.dm
index 0440c7e9205..76c4d3eaa14 100644
--- a/code/modules/research/xenobiology/crossbreeding/charged.dm
+++ b/code/modules/research/xenobiology/crossbreeding/charged.dm
@@ -199,7 +199,7 @@ Charged extracts:
/obj/item/slimecross/charged/gold/do_effect(mob/user)
user.visible_message(span_warning("[src] starts shuddering violently!"))
- addtimer(CALLBACK(src, PROC_REF(startTimer)), 50)
+ addtimer(CALLBACK(src, PROC_REF(startTimer)), 5 SECONDS)
/obj/item/slimecross/charged/gold/proc/startTimer()
START_PROCESSING(SSobj, src)
@@ -224,7 +224,7 @@ Charged extracts:
/obj/item/slimecross/charged/oil/do_effect(mob/user)
user.visible_message(span_danger("[src] begins to shake with rapidly increasing force!"))
- addtimer(CALLBACK(src, PROC_REF(boom)), 50)
+ addtimer(CALLBACK(src, PROC_REF(boom)), 5 SECONDS)
/obj/item/slimecross/charged/oil/proc/boom()
explosion(src, devastation_range = 2, heavy_impact_range = 3, light_impact_range = 4, explosion_cause = src) //Much smaller effect than normal oils, but devastatingly strong where it does hit.
diff --git a/code/modules/research/xenobiology/crossbreeding/chilling.dm b/code/modules/research/xenobiology/crossbreeding/chilling.dm
index 0d7396be1e5..d8cf3456ed2 100644
--- a/code/modules/research/xenobiology/crossbreeding/chilling.dm
+++ b/code/modules/research/xenobiology/crossbreeding/chilling.dm
@@ -292,7 +292,7 @@ Chilling extracts:
/obj/item/slimecross/chilling/oil/do_effect(mob/user)
user.visible_message(span_danger("[src] begins to shake with muted intensity!"))
- addtimer(CALLBACK(src, PROC_REF(boom)), 50)
+ addtimer(CALLBACK(src, PROC_REF(boom)), 5 SECONDS)
/obj/item/slimecross/chilling/oil/proc/boom()
explosion(src, devastation_range = -1, heavy_impact_range = -1, light_impact_range = 10, explosion_cause = src) //Large radius, but mostly light damage, and no flash.
diff --git a/code/modules/research/xenobiology/xenobiology.dm b/code/modules/research/xenobiology/xenobiology.dm
index e14c1e56e39..1551d6eb952 100644
--- a/code/modules/research/xenobiology/xenobiology.dm
+++ b/code/modules/research/xenobiology/xenobiology.dm
@@ -274,7 +274,7 @@
to_chat(user, span_warning("Your glow is already enhanced!"))
return
species.update_glow(user, 5)
- addtimer(CALLBACK(species, TYPE_PROC_REF(/datum/species/jelly/luminescent, update_glow), user, LUMINESCENT_DEFAULT_GLOW), 600)
+ addtimer(CALLBACK(species, TYPE_PROC_REF(/datum/species/jelly/luminescent, update_glow), user, LUMINESCENT_DEFAULT_GLOW), 1 MINUTES)
to_chat(user, span_notice("You start glowing brighter."))
if(SLIME_ACTIVATE_MAJOR)
diff --git a/code/modules/security_levels/keycard_authentication.dm b/code/modules/security_levels/keycard_authentication.dm
index 5b777e82af4..5893184b2be 100644
--- a/code/modules/security_levels/keycard_authentication.dm
+++ b/code/modules/security_levels/keycard_authentication.dm
@@ -139,7 +139,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/keycard_auth, 26)
event = event_type
waiting = TRUE
GLOB.keycard_events.fireEvent("triggerEvent", src)
- addtimer(CALLBACK(src, PROC_REF(eventSent)), 20)
+ addtimer(CALLBACK(src, PROC_REF(eventSent)), 2 SECONDS)
/obj/machinery/keycard_auth/proc/eventSent()
triggerer = null
@@ -149,7 +149,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/keycard_auth, 26)
/obj/machinery/keycard_auth/proc/triggerEvent(source)
event_source = source
update_appearance()
- addtimer(CALLBACK(src, PROC_REF(eventTriggered)), 20)
+ addtimer(CALLBACK(src, PROC_REF(eventTriggered)), 2 SECONDS)
/obj/machinery/keycard_auth/proc/eventTriggered()
event_source = null
diff --git a/code/modules/shuttle/special.dm b/code/modules/shuttle/special.dm
index 0617b9696a7..989ab4edc94 100644
--- a/code/modules/shuttle/special.dm
+++ b/code/modules/shuttle/special.dm
@@ -112,7 +112,7 @@
L.visible_message(span_revennotice("A strange purple glow wraps itself around [L] as [L.p_they()] suddenly fall[L.p_s()] unconscious."),
span_revendanger("[desc]"))
// Don't let them sit suround unconscious forever
- addtimer(CALLBACK(src, PROC_REF(sleeper_dreams), L), 100)
+ addtimer(CALLBACK(src, PROC_REF(sleeper_dreams), L), 10 SECONDS)
// Existing sleepers
for(var/i in found)
diff --git a/code/modules/station_goals/bsa.dm b/code/modules/station_goals/bsa.dm
index 1bbf57308c0..c653daf044c 100644
--- a/code/modules/station_goals/bsa.dm
+++ b/code/modules/station_goals/bsa.dm
@@ -260,7 +260,7 @@ GLOBAL_VAR_INIT(bsa_unlock, FALSE)
/obj/machinery/bsa/full/proc/reload()
ready = FALSE
use_energy(power_used_per_shot)
- addtimer(CALLBACK(src,"ready_cannon"),600)
+ addtimer(CALLBACK(src,"ready_cannon"), 1 MINUTES)
/obj/machinery/bsa/full/proc/ready_cannon()
ready = TRUE
diff --git a/code/modules/surgery/organs/internal/cyberimp/augments_chest.dm b/code/modules/surgery/organs/internal/cyberimp/augments_chest.dm
index df194bbed0f..24aadfeca14 100644
--- a/code/modules/surgery/organs/internal/cyberimp/augments_chest.dm
+++ b/code/modules/surgery/organs/internal/cyberimp/augments_chest.dm
@@ -23,7 +23,7 @@
synthesizing = TRUE
to_chat(owner, span_notice("You feel less hungry..."))
owner.adjust_nutrition(25 * seconds_per_tick)
- addtimer(CALLBACK(src, PROC_REF(synth_cool)), 50)
+ addtimer(CALLBACK(src, PROC_REF(synth_cool)), 5 SECONDS)
/obj/item/organ/internal/cyberimp/chest/nutriment/proc/synth_cool()
synthesizing = FALSE
diff --git a/code/modules/surgery/tools.dm b/code/modules/surgery/tools.dm
index d24b1a59271..85c1beab0a3 100644
--- a/code/modules/surgery/tools.dm
+++ b/code/modules/surgery/tools.dm
@@ -170,7 +170,7 @@
/obj/item/surgicaldrill/suicide_act(mob/living/user)
user.visible_message(span_suicide("[user] rams [src] into [user.p_their()] chest! It looks like [user.p_theyre()] trying to commit suicide!"))
- addtimer(CALLBACK(user, TYPE_PROC_REF(/mob/living/carbon, gib), null, null, TRUE, TRUE), 25)
+ addtimer(CALLBACK(user, TYPE_PROC_REF(/mob/living/carbon, gib), null, null, TRUE, TRUE), 2.5 SECONDS)
user.SpinAnimation(3, 10)
playsound(user, 'sound/machines/juicer.ogg', 20, TRUE)
return MANUAL_SUICIDE
diff --git a/code/modules/tooltip/tooltip.dm b/code/modules/tooltip/tooltip.dm
index 22027a3cf8e..4b9514aa38c 100644
--- a/code/modules/tooltip/tooltip.dm
+++ b/code/modules/tooltip/tooltip.dm
@@ -85,7 +85,7 @@ Notes:
queueHide = showing ? TRUE : FALSE
if (queueHide)
- addtimer(CALLBACK(src, PROC_REF(do_hide)), 1)
+ addtimer(CALLBACK(src, PROC_REF(do_hide)), 0.1 SECONDS)
else
do_hide()
diff --git a/code/modules/transport/transport_module.dm b/code/modules/transport/transport_module.dm
index baa6d9d0fc8..d027cf7ba6d 100644
--- a/code/modules/transport/transport_module.dm
+++ b/code/modules/transport/transport_module.dm
@@ -908,7 +908,7 @@
new overlay(our_turf)
turfs += our_turf
- addtimer(CALLBACK(src, PROC_REF(clear_turfs), turfs, iterations), 1)
+ addtimer(CALLBACK(src, PROC_REF(clear_turfs), turfs, iterations), 0.1 SECONDS)
/obj/structure/transport/linear/tram/proc/clear_turfs(list/turfs_to_clear, iterations)
for(var/turf/our_old_turf as anything in turfs_to_clear)
@@ -928,7 +928,7 @@
turfs += our_turf
if(iterations)
- addtimer(CALLBACK(src, PROC_REF(clear_turfs), turfs, iterations), 1)
+ addtimer(CALLBACK(src, PROC_REF(clear_turfs), turfs, iterations), 0.1 SECONDS)
/obj/structure/transport/linear/tram/proc/estop_throw(throw_direction)
for(var/mob/living/passenger in transport_contents)
diff --git a/code/modules/vehicles/mecha/mech_fabricator.dm b/code/modules/vehicles/mecha/mech_fabricator.dm
index c4acded7994..54acd183aff 100644
--- a/code/modules/vehicles/mecha/mech_fabricator.dm
+++ b/code/modules/vehicles/mecha/mech_fabricator.dm
@@ -474,7 +474,7 @@
/obj/machinery/mecha_part_fabricator/proc/AfterMaterialInsert(item_inserted, id_inserted, amount_inserted)
var/datum/material/M = id_inserted
add_overlay("fab-load-[M.name]")
- addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, cut_overlay), "fab-load-[M.name]"), 10)
+ addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, cut_overlay), "fab-load-[M.name]"), 1 SECONDS)
/obj/machinery/mecha_part_fabricator/screwdriver_act(mob/living/user, obj/item/I)
if(..())
diff --git a/code/modules/vehicles/scooter.dm b/code/modules/vehicles/scooter.dm
index 9e320c2f8de..a4f36524483 100644
--- a/code/modules/vehicles/scooter.dm
+++ b/code/modules/vehicles/scooter.dm
@@ -159,7 +159,7 @@
victim.Paralyze(1.5 SECONDS)
skater.adjustStaminaLoss(instability)
victim.visible_message(span_danger("[victim] straight up gets grinded into the ground by [skater]'s [src]! Radical!"))
- addtimer(CALLBACK(src, PROC_REF(grind)), 1)
+ addtimer(CALLBACK(src, PROC_REF(grind)), 0.1 SECONDS)
/obj/vehicle/ridden/scooter/skateboard/MouseDrop(atom/over_object)
. = ..()
diff --git a/code/modules/vehicles/vehicle_actions.dm b/code/modules/vehicles/vehicle_actions.dm
index ed9884a9ea3..c3780099966 100644
--- a/code/modules/vehicles/vehicle_actions.dm
+++ b/code/modules/vehicles/vehicle_actions.dm
@@ -353,7 +353,7 @@
rider.client.give_award(/datum/award/achievement/misc/tram_surfer, rider)
vehicle.grinding = TRUE
vehicle.icon_state = "[initial(vehicle.icon_state)]-grind"
- addtimer(CALLBACK(vehicle, TYPE_PROC_REF(/obj/vehicle/ridden/scooter/skateboard/, grind)), 2)
+ addtimer(CALLBACK(vehicle, TYPE_PROC_REF(/obj/vehicle/ridden/scooter/skateboard/, grind)), 0.2 SECONDS)
else
vehicle.obj_flags &= ~BLOCK_Z_OUT_DOWN
rider.spin(spintime = 4, speed = 1)
diff --git a/code/modules/vehicles/vehicle_key.dm b/code/modules/vehicles/vehicle_key.dm
index f6e5f7c4e28..08cb75df2d4 100644
--- a/code/modules/vehicles/vehicle_key.dm
+++ b/code/modules/vehicles/vehicle_key.dm
@@ -20,7 +20,7 @@
return SHAME
user.visible_message(span_suicide("[user] is putting \the [src] in [user.p_their()] ear and starts [user.p_their()] motor! It looks like [user.p_theyre()] trying to commit suicide!"))
user.say("Vroom vroom!!", forced="secway key suicide") //Not doing a shamestate here, because even if they fail to speak they're spinning.
- addtimer(CALLBACK(user, TYPE_PROC_REF(/mob/living/, gib)), 20)
+ addtimer(CALLBACK(user, TYPE_PROC_REF(/mob/living/, gib)), 2 SECONDS)
return MANUAL_SUICIDE
/obj/item/key/janitor
@@ -46,7 +46,7 @@
if(SKILL_LEVEL_APPRENTICE to SKILL_LEVEL_JOURNEYMAN) //At least they tried
user.visible_message(span_suicide("[user] is putting \the [src] in [user.p_their()] mouth and has inefficiently become one with the janicart! It looks like [user.p_theyre()] trying to commit suicide!"))
user.AddElement(/datum/element/cleaning)
- addtimer(CALLBACK(src, PROC_REF(manual_suicide), user), 51)
+ addtimer(CALLBACK(src, PROC_REF(manual_suicide), user), 5.1 SECONDS)
return MANUAL_SUICIDE
if(SKILL_LEVEL_EXPERT to SKILL_LEVEL_MASTER) //They are worthy enough, but can it go even further beyond?
user.visible_message(span_suicide("[user] is putting \the [src] in [user.p_their()] mouth and has skillfully become one with the janicart! It looks like [user.p_theyre()] trying to commit suicide!"))