mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
[MIRROR] changes your cursor to an eye when you are holding shift to indicate you will examine (#1124)
* changes your cursor to an eye when you are holding shift to indicate you will examine (#54083) * changes your cursor to an eye when you are holding shift to indicate you will examine Co-authored-by: Qustinnus <Floydje123@hotmail.com>
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
deathsound = 'sound/voice/borg_deathsound.ogg'
|
||||
speech_span = SPAN_ROBOT
|
||||
flags_1 = PREVENT_CONTENTS_EXPLOSION_1 | HEAR_1 | RAD_PROTECT_CONTENTS_1 | RAD_NO_CONTAMINATE_1
|
||||
examine_cursor_icon = null
|
||||
var/datum/ai_laws/laws = null//Now... THEY ALL CAN ALL HAVE LAWS
|
||||
var/last_lawchange_announce = 0
|
||||
var/list/alarms_to_show = list()
|
||||
|
||||
@@ -1164,7 +1164,9 @@
|
||||
if (!client)
|
||||
return
|
||||
client.mouse_pointer_icon = initial(client.mouse_pointer_icon)
|
||||
if (ismecha(loc))
|
||||
if(examine_cursor_icon && client.keys_held["Shift"]) //mouse shit is hardcoded, make this non hard-coded once we make mouse modifiers bindable
|
||||
client.mouse_pointer_icon = examine_cursor_icon
|
||||
else if (ismecha(loc))
|
||||
var/obj/vehicle/sealed/mecha/M = loc
|
||||
if(M.mouse_pointer)
|
||||
client.mouse_pointer_icon = M.mouse_pointer
|
||||
@@ -1177,7 +1179,6 @@
|
||||
///This mob is abile to read books
|
||||
/mob/proc/is_literate()
|
||||
return FALSE
|
||||
|
||||
///Can this mob read (is literate and not blind)
|
||||
/mob/proc/can_read(obj/O)
|
||||
if(is_blind())
|
||||
|
||||
@@ -41,6 +41,8 @@
|
||||
var/list/datum/action/actions
|
||||
/// A special action? No idea why this lives here
|
||||
var/list/datum/action/chameleon_item_actions
|
||||
///Cursor icon used when holding shift over things
|
||||
var/examine_cursor_icon = 'icons/effects/mouse_pointers/examine_pointer.dmi'
|
||||
|
||||
/// Whether a mob is alive or dead. TODO: Move this to living - Nodrak (2019, still here)
|
||||
var/stat = CONSCIOUS
|
||||
|
||||
Reference in New Issue
Block a user