mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-16 01:25:10 +01:00
Vision bugfixes (#16771)
* Fixes see_invisible getting overridden - Fixes see_invisible from being overwritten if your see_invisible_default is > SEE_INVISIBLE_LEVEL_ONE. * Fixes ghost manifest() proc runtiming - Fixes a runtime of when manifest() was called on a ghost with no user. Allows admins to call manifest() without it runtiming. * Fixes the ghost 'Toggle Visibility' verb - Due to it being a variable on the proc itself, it wouldn't properly call and store the time.. * Fixes feysight - Feysight was trying to give vision into the 'see_invisible 60' layer but had forgotten to also give you the plane_holder for that layer. * fix span * More fixes - Allows ghosts to ACTUALLY USE the ghost whisper and become visible proc if their is_manifest is enabled via admins. - Allows admins to give any /mob verbs and procs instead of just /mob/living via admin add_verb topic * False
This commit is contained in:
@@ -13,10 +13,12 @@
|
||||
/datum/modifier/feysight/on_applied()
|
||||
holder.see_invisible = 60
|
||||
holder.see_invisible_default = 60
|
||||
holder.plane_holder.set_vis(VIS_GHOSTS,TRUE)
|
||||
|
||||
/datum/modifier/feysight/on_expire()
|
||||
holder.see_invisible_default = initial(holder.see_invisible_default)
|
||||
holder.see_invisible = holder.see_invisible_default
|
||||
holder.plane_holder.set_vis(VIS_GHOSTS,FALSE)
|
||||
|
||||
/datum/modifier/feysight/can_apply(var/mob/living/L)
|
||||
if(L.stat)
|
||||
|
||||
Reference in New Issue
Block a user