mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 03:59:59 +01:00
[MIRROR] You no longer need to hold shift to open the context menu as a ghost (#3122)
* You no longer need to hold shift to open the context menu as a ghost (#56646) * You no longer need to hold shift to open the context menu as a ghost Co-authored-by: Qustinnus <Floydje123@hotmail.com>
This commit is contained in:
@@ -20,3 +20,6 @@
|
||||
|
||||
update_icon(preferred_form)
|
||||
updateghostimages()
|
||||
client.set_right_click_menu_mode(FALSE)
|
||||
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ GLOBAL_VAR_INIT(observer_default_invisibility, INVISIBILITY_OBSERVER)
|
||||
light_range = 1
|
||||
light_power = 2
|
||||
light_on = FALSE
|
||||
shift_to_open_context_menu = FALSE
|
||||
var/can_reenter_corpse
|
||||
var/datum/hud/living/carbon/hud = null // hud
|
||||
var/bootime = 0
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
world.update_status()
|
||||
client.screen = list() //remove hud items just in case
|
||||
client.images = list()
|
||||
client.set_right_click_menu_mode(shift_to_open_context_menu)
|
||||
|
||||
if(!hud_used)
|
||||
create_mob_hud()
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
throwforce = 10
|
||||
blocks_emissive = EMISSIVE_BLOCK_GENERIC
|
||||
pass_flags_self = PASSMOB
|
||||
var/shift_to_open_context_menu = TRUE
|
||||
|
||||
///when this be added to vis_contents of something it inherit something.plane, important for visualisation of mob in openspace.
|
||||
vis_flags = VIS_INHERIT_PLANE
|
||||
|
||||
Reference in New Issue
Block a user