More horrible 515 proc compatibility. (#71333)

So i left over some basic `/whatever/proc/format` uses in the original
PR this fixes it.

Notable exceptions to the rule:
- Paths in add_verb/remove_verb, we need full path instead of a name
there to access verb metadata so we can't use proc ref macros there.
- regex.Replace, found out that it does not accept call by name. Instead
i added new REGEX_REPLACE_HANDLER so we can at least try to mark these.

There's still leftover global procs that do not use GLOBAL_PROC_REF but
they functionally equivalent so that's for later.

I don't see any reasonable way to grep for this. But if you got any
ideas please share.
This commit is contained in:
AnturK
2022-11-22 07:55:43 +00:00
committed by GitHub
parent fa7688d043
commit 84f69359a0
95 changed files with 124 additions and 119 deletions
@@ -65,4 +65,4 @@
laser_location.pixel_y = clamp(target.pixel_y + image_pixel_y.value,-15,15)
target_location.add_overlay(laser_location)
addtimer(CALLBACK(target_location, /atom/proc/cut_overlay, laser_location), 1 SECONDS)
addtimer(CALLBACK(target_location, TYPE_PROC_REF(/atom, cut_overlay), laser_location), 1 SECONDS)