mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Datum view and some other things (#51208)
* Datumizes all uses of change_view * Cleanup and helper procs * tweaks values to match the format, hint hint, (value - 0.5) works just fine * And there's the rest * woop, braindamage * and one more * fuck you menu file * woops * we should apply that * fixes tooltip drift, thank you goon coders * you can shake but you can't zoom
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
max_integrity = 100
|
||||
buckle_lying = FALSE
|
||||
layer = ABOVE_MOB_LAYER
|
||||
var/view_range = 10
|
||||
var/view_range = 2.5
|
||||
var/cooldown = 0
|
||||
var/projectile_type = /obj/projectile/bullet/manned_turret
|
||||
var/rate_of_fire = 1
|
||||
@@ -38,7 +38,7 @@
|
||||
buckled_mob.pixel_x = 0
|
||||
buckled_mob.pixel_y = 0
|
||||
if(buckled_mob.client)
|
||||
buckled_mob.client.change_view(CONFIG_GET(string/default_view))
|
||||
buckled_mob.client.view_size.resetToDefault()
|
||||
anchored = FALSE
|
||||
. = ..()
|
||||
STOP_PROCESSING(SSfastprocess, src)
|
||||
@@ -65,7 +65,7 @@
|
||||
playsound(src,'sound/mecha/mechmove01.ogg', 50, TRUE)
|
||||
anchored = TRUE
|
||||
if(M.client)
|
||||
M.client.change_view(view_range)
|
||||
M.client.view_size.setTo(view_range)
|
||||
START_PROCESSING(SSfastprocess, src)
|
||||
|
||||
/obj/machinery/manned_turret/process()
|
||||
|
||||
Reference in New Issue
Block a user