mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-31 00:49:06 +01:00
InUs Game-Helm Upgrade (#15684)
* InUs Game-Helm Upgrade * forgor * bribed
This commit is contained in:
@@ -288,3 +288,14 @@ note dizziness decrements automatically in the mob's Life() proc.
|
||||
|
||||
if(is_floating)
|
||||
addtimer(CALLBACK(src, PROC_REF(start_floating)), 2.4)
|
||||
|
||||
/atom/proc/quick_jitter(var/jitter_time = 5)
|
||||
set waitfor = 0
|
||||
|
||||
jitter_time--
|
||||
|
||||
pixel_x = jitter_time ? get_standard_pixel_x() + rand(-3, 3) : get_standard_pixel_x()
|
||||
pixel_y = jitter_time ? get_standard_pixel_y() + rand(-1, 1) : get_standard_pixel_y()
|
||||
|
||||
if(jitter_time)
|
||||
addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, quick_jitter), jitter_time), 1)
|
||||
|
||||
@@ -1223,12 +1223,6 @@ var/list/intents = list(I_HELP,I_DISARM,I_GRAB,I_HURT)
|
||||
client.init_verbs()
|
||||
return src
|
||||
|
||||
/mob/proc/get_standard_pixel_x()
|
||||
return initial(pixel_x)
|
||||
|
||||
/mob/proc/get_standard_pixel_y()
|
||||
return initial(pixel_y)
|
||||
|
||||
/mob/proc/remove_nearsighted()
|
||||
disabilities &= ~NEARSIGHTED
|
||||
|
||||
|
||||
Reference in New Issue
Block a user