mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
fixes taj and vaurca nightvision (#12150)
This commit is contained in:
@@ -234,6 +234,10 @@
|
||||
if(istype(O))
|
||||
O.refresh_action_button()
|
||||
|
||||
/datum/action/item_action/organ/night_eyes
|
||||
check_flags = AB_CHECK_STUNNED|AB_CHECK_ALIVE|AB_CHECK_INSIDE
|
||||
button_icon_state = "night_eyes"
|
||||
|
||||
#undef AB_WEST_OFFSET
|
||||
#undef AB_NORTH_OFFSET
|
||||
#undef AB_MAX_COLUMNS
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
desc = "A pair of Tajaran eyes accustomed to the low light conditions of Adhomai."
|
||||
icon_state = "tajaran_eyes"
|
||||
action_button_name = "Activate Low Light Vision"
|
||||
default_action_type = /datum/action/item_action/organ/night_eyes
|
||||
relative_size = 8
|
||||
var/night_vision = FALSE
|
||||
var/datum/client_color/vision_color = /datum/client_color/monochrome
|
||||
@@ -21,13 +22,6 @@
|
||||
. = ..()
|
||||
disable_night_vision()
|
||||
|
||||
/obj/item/organ/internal/eyes/night/refresh_action_button()
|
||||
. = ..()
|
||||
if(.)
|
||||
action.button_icon_state = "night_eyes"
|
||||
if(action.button)
|
||||
action.button.update_icon()
|
||||
|
||||
/obj/item/organ/internal/eyes/night/attack_self(var/mob/user)
|
||||
. = ..()
|
||||
if(owner.last_special > world.time)
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
author: TheGreyWolf
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- bugfix: "Tajara & Vaurca nightvision can now be used even while restrained or laying down."
|
||||
Reference in New Issue
Block a user