This commit is contained in:
Pinta
2024-03-29 12:33:21 -04:00
parent 8f4c481d45
commit eb06cb3364
12 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -1245,7 +1245,7 @@ GLOBAL_LIST_EMPTY(transformation_animation_objects)
for(var/A in transformation_objects)
vis_contents += A
if(reset_after)
addtimer(CALLBACK(src,.proc/_reset_transformation_animation,filter_index),time)
addtimer(CALLBACK(src,PROC_REF(_reset_transformation_animation),filter_index),time)
/*
* Resets filters and removes transformation animations helper objects from vis contents.
+1 -1
View File
@@ -15,7 +15,7 @@
archdrops[i][ARCH_PROB] = 100
stack_trace("ARCHAEOLOGY WARNING: [parent] contained a null probability value in [i].")
callback = _callback
RegisterSignal(parent, COMSIG_PARENT_ATTACKBY,.proc/Dig)
RegisterSignal(parent, COMSIG_PARENT_ATTACKBY,PROC_REF(Dig))
RegisterSignal(parent, COMSIG_ATOM_EX_ACT,PROC_REF(BombDig))
RegisterSignal(parent, COMSIG_ATOM_SING_PULL,PROC_REF(SingDig))
+1 -1
View File
@@ -16,7 +16,7 @@
return COMPONENT_INCOMPATIBLE
RegisterSignal(parent, COMSIG_PARENT_EXAMINE,PROC_REF(examine))
RegisterSignal(parent, COMSIG_PARENT_ATTACKBY,.proc/action)
RegisterSignal(parent, COMSIG_PARENT_ATTACKBY,PROC_REF(action))
update_parent(index)
/datum/component/construction/proc/examine(datum/source, mob/user, list/examine_list)
+1 -1
View File
@@ -1,7 +1,7 @@
/datum/component/wearertargeting/earprotection
signals = list(COMSIG_CARBON_SOUNDBANG)
mobtype = /mob/living/carbon
proctype = .proc/reducebang
proctype = PROC_REF(reducebang)
/datum/component/wearertargeting/earprotection/Initialize(_valid_slots)
. = ..()
+3 -3
View File
@@ -7,8 +7,8 @@
/datum/component/knockoff/Initialize(knockoff_chance,zone_override,slots_knockoffable)
if(!isitem(parent))
return COMPONENT_INCOMPATIBLE
RegisterSignal(parent, COMSIG_ITEM_EQUIPPED,.proc/OnEquipped)
RegisterSignal(parent, COMSIG_ITEM_DROPPED,.proc/OnDropped)
RegisterSignal(parent, COMSIG_ITEM_EQUIPPED,PROC_REF(OnEquipped))
RegisterSignal(parent, COMSIG_ITEM_DROPPED,PROC_REF(OnDropped))
src.knockoff_chance = knockoff_chance
@@ -41,4 +41,4 @@
RegisterSignal(H, COMSIG_HUMAN_DISARM_HIT,PROC_REF(Knockoff), TRUE)
/datum/component/knockoff/proc/OnDropped(datum/source, mob/living/M)
UnregisterSignal(M, COMSIG_HUMAN_DISARM_HIT)
UnregisterSignal(M, COMSIG_HUMAN_DISARM_HIT)
+1 -1
View File
@@ -3,7 +3,7 @@
/datum/component/wearertargeting/phantomthief
dupe_mode = COMPONENT_DUPE_UNIQUE_PASSARGS
signals = list(COMSIG_COMBAT_TOGGLED)
proctype = .proc/handlefilterstuff
proctype = PROC_REF(handlefilterstuff)
var/filter_x
var/filter_y
var/filter_size
+2 -2
View File
@@ -3,7 +3,7 @@
/datum/component/wearertargeting
var/list/valid_slots = list()
var/list/signals = list()
var/proctype = .proc/pass
var/proctype = GLOBAL_PROC_REF(pass)
var/mobtype = /mob/living
/datum/component/wearertargeting/Initialize()
@@ -19,4 +19,4 @@
UnregisterSignal(equipper, signals)
/datum/component/wearertargeting/proc/on_drop(datum/source, mob/user)
UnregisterSignal(user, signals)
UnregisterSignal(user, signals)
+3 -3
View File
@@ -114,7 +114,7 @@
set_frequency(frequency)
if(closeOtherId != null)
addtimer(CALLBACK(.proc/update_other_id), 5)
addtimer(CALLBACK(PROC_REF(update_other_id)), 5)
if(glass)
airlock_material = "glass"
if(security_level > AIRLOCK_SECURITY_METAL)
@@ -1107,11 +1107,11 @@
if(!beingcrowbarred) //being fireaxe'd
var/obj/item/twohanded/fireaxe/F = I
if(F.wielded)
INVOKE_ASYNC(src, (density ? .proc/open :PROC_REF(close)), 2)
INVOKE_ASYNC(src, (density ? PROC_REF(open) : PROC_REF(close)), 2)
else
to_chat(user, "<span class='warning'>You need to be wielding the fire axe to do that!</span>")
else
INVOKE_ASYNC(src, (density ? .proc/open :PROC_REF(close)), 2)
INVOKE_ASYNC(src, (density ? PROC_REF(open) :PROC_REF(close)), 2)
if(istype(I, /obj/item/crowbar/power))
if(isElectrified())
+1 -1
View File
@@ -637,7 +637,7 @@ For the other part of the code, check silicon say.dm. Particularly robot talk.*/
if(HOLORECORD_SOUND)
playsound(src,entry[2],50,1)
if(HOLORECORD_DELAY)
addtimer(CALLBACK(src,.proc/replay_entry,entry_number+1),entry[2])
addtimer(CALLBACK(src,PROC_REF(replay_entry),entry_number+1),entry[2])
return
if(HOLORECORD_LANGUAGE)
var/datum/language_holder/holder = replay_holo.get_language_holder()
+1 -1
View File
@@ -453,7 +453,7 @@ RLD
choices += list(
"Change Window Type" = image(icon = 'icons/mob/radial.dmi', icon_state = "windowtype")
)
var/choice = show_radial_menu(user,src,choices, custom_check = CALLBACK(src,.proc/check_menu,user))
var/choice = show_radial_menu(user,src,choices, custom_check = CALLBACK(src,PROC_REF(check_menu),user))
if(!check_menu(user))
return
switch(choice)
+1 -1
View File
@@ -127,7 +127,7 @@
H.CloseWings()
else
H.OpenWings()
addtimer(CALLBACK(H, open ? /mob/living/carbon/human.proc/OpenWings : /mob/living/carbon/human.proc/CloseWings), wing_time)
addtimer(CALLBACK(H, open ? TYPE_PROC_REF(/mob/living/carbon/human, OpenWings) : TYPE_PROC_REF(/mob/living/carbon/human, CloseWings)), wing_time)
/datum/emote/living/flap/aflap
key = "aflap"
+1 -1
View File
@@ -310,7 +310,7 @@ GLOBAL_LIST_INIT(department_radio_keys, list(
speech_bubble_recipients.Add(M.client)
var/image/I = image('icons/mob/talk.dmi', src, "[bubble_type][say_test(message)]", FLY_LAYER)
I.appearance_flags = APPEARANCE_UI_IGNORE_ALPHA
INVOKE_ASYNC(GLOBAL_PROC, /.proc/flick_overlay, I, speech_bubble_recipients, 30)
INVOKE_ASYNC(GLOBAL_PROC, GLOBAL_PROC_REF(flick_overlay), I, speech_bubble_recipients, 30)
/mob/proc/binarycheck()
return FALSE