mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 09:31:13 +00:00
Update the codebase to 515. (#15553)
* Update the codebase to 515. * edit that * WHOOPS * maor * maybe works * libcall and shit * do that too * remove that * auxtools isnt updated so get rid of it * actually remove auxtools lol Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
spikes++
|
||||
update_icon()
|
||||
if (spikes < max_spikes)
|
||||
addtimer(CALLBACK(src, .proc/regen_spike), spike_gen_time, TIMER_UNIQUE)
|
||||
addtimer(CALLBACK(src, PROC_REF(regen_spike)), spike_gen_time, TIMER_UNIQUE)
|
||||
|
||||
/obj/item/gun/launcher/spikethrower/examine(mob/user)
|
||||
..(user)
|
||||
@@ -57,7 +57,7 @@
|
||||
/obj/item/gun/launcher/spikethrower/consume_next_projectile()
|
||||
if(spikes < 1) return null
|
||||
spikes--
|
||||
addtimer(CALLBACK(src, .proc/regen_spike), spike_gen_time, TIMER_UNIQUE)
|
||||
addtimer(CALLBACK(src, PROC_REF(regen_spike)), spike_gen_time, TIMER_UNIQUE)
|
||||
return new /obj/item/spike(src)
|
||||
|
||||
//This gun only functions for vaurca warriors. The on-sprite is too huge to render properly on other sprites.
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
update_maptext()
|
||||
update_icon()
|
||||
|
||||
addtimer(CALLBACK(src, .proc/try_recharge), recharge_time * 2 SECONDS, TIMER_UNIQUE)
|
||||
addtimer(CALLBACK(src, PROC_REF(try_recharge)), recharge_time * 2 SECONDS, TIMER_UNIQUE)
|
||||
|
||||
/obj/item/gun/energy/consume_next_projectile()
|
||||
if(!power_supply)
|
||||
@@ -106,7 +106,7 @@
|
||||
if(!power_supply.checked_use(charge_cost))
|
||||
return null
|
||||
if(self_recharge)
|
||||
addtimer(CALLBACK(src, .proc/try_recharge), recharge_time * 2 SECONDS, TIMER_UNIQUE)
|
||||
addtimer(CALLBACK(src, PROC_REF(try_recharge)), recharge_time * 2 SECONDS, TIMER_UNIQUE)
|
||||
return new projectile_type(src)
|
||||
|
||||
/obj/item/gun/energy/proc/get_external_power_supply()
|
||||
|
||||
@@ -170,7 +170,7 @@
|
||||
if(!capacitor)
|
||||
return null
|
||||
if (self_recharge)
|
||||
addtimer(CALLBACK(src, .proc/try_recharge), recharge_time * 2 SECONDS, TIMER_UNIQUE)
|
||||
addtimer(CALLBACK(src, PROC_REF(try_recharge)), recharge_time * 2 SECONDS, TIMER_UNIQUE)
|
||||
var/obj/item/projectile/beam/A = new projectile_type(src)
|
||||
A.damage = capacitor.damage
|
||||
var/damage_coeff = 1
|
||||
|
||||
@@ -156,11 +156,11 @@
|
||||
..()
|
||||
if(source)
|
||||
to_chat(user, "<span class='notice'>\The [src] snaps back onto \the [source].</span>")
|
||||
INVOKE_ASYNC(source, /obj/item/minigunpack/.proc/remove_gun)
|
||||
INVOKE_ASYNC(source, TYPE_PROC_REF(/obj/item/minigunpack, remove_gun))
|
||||
source.update_icon()
|
||||
user.update_inv_back()
|
||||
|
||||
/obj/item/gun/projectile/automatic/rifle/minigun/Move()
|
||||
..()
|
||||
if(loc != source.loc)
|
||||
INVOKE_ASYNC(source, /obj/item/minigunpack/.proc/remove_gun)
|
||||
INVOKE_ASYNC(source, TYPE_PROC_REF(/obj/item/minigunpack, remove_gun))
|
||||
|
||||
Reference in New Issue
Block a user