mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-26 06:39:22 +01:00
Phoron Bore Adjustment Take 2 (#9015)
* Phoron Bore Fire Delay Phoron bores have a windup of one second. * Phoron bore default range dropped to 3.
This commit is contained in:
@@ -176,6 +176,8 @@
|
||||
|
||||
action_button_name = "Toggle internal generator"
|
||||
|
||||
var/winding = FALSE // Are we winding up to fire?
|
||||
|
||||
var/generator_state = GEN_OFF
|
||||
var/datum/looping_sound/small_motor/soundloop
|
||||
var/time_started //to keep the soundloop from being "stopped" too soon and playing indefinitely
|
||||
@@ -268,6 +270,15 @@
|
||||
audible_message(SPAN_NOTICE("\The [src] goes quiet."),SPAN_NOTICE("A motor noise cuts out."), runemessage = "goes quiet")
|
||||
generator_state = GEN_OFF
|
||||
|
||||
/obj/item/gun/magnetic/matfed/phoronbore/special_check(mob/user)
|
||||
if(!winding)
|
||||
winding = TRUE
|
||||
if(do_after(user, 1 SECOND, src) && ..()) // Super after do_after, due to clumsy check force-firing.
|
||||
winding = FALSE
|
||||
return TRUE
|
||||
winding = FALSE
|
||||
return FALSE
|
||||
|
||||
/obj/item/gun/magnetic/matfed/phoronbore/loaded
|
||||
cell = /obj/item/cell/apc
|
||||
capacitor = /obj/item/stock_parts/capacitor
|
||||
|
||||
@@ -171,7 +171,7 @@
|
||||
penetrating = 0
|
||||
check_armour = "melee"
|
||||
irradiate = 20
|
||||
range = 6
|
||||
range = 3
|
||||
hud_state = "plasma_rifle_blast"
|
||||
|
||||
/obj/item/projectile/bullet/magnetic/bore/Initialize(loc, range_mod) // i'm gonna be real honest i dunno how this works but it does
|
||||
|
||||
Reference in New Issue
Block a user