mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
Modular Wristbound Sprite Revert (#10206)
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
desc_info = "A NanoTrasen design, this wristbound computer allows the user to quickly and safely access critical info, without taking their hands out of the equation."
|
||||
icon = 'icons/obj/modular_wristbound.dmi'
|
||||
icon_state = "wristbound"
|
||||
item_state = "wristbound"
|
||||
icon_state_menu = "menu"
|
||||
icon_state_screensaver = "standby"
|
||||
hardware_flag = PROGRAM_WRISTBOUND
|
||||
@@ -14,29 +13,6 @@
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
light_strength = 1
|
||||
menu_light_color = COLOR_GREEN
|
||||
var/flipped = FALSE
|
||||
contained_sprite = TRUE
|
||||
|
||||
/obj/item/modular_computer/wristbound/verb/swapwrists()
|
||||
set category = "Object"
|
||||
set name = "Flip Wristbound Computer Wrist"
|
||||
set src in usr
|
||||
|
||||
if(usr.stat || usr.restrained())
|
||||
return
|
||||
|
||||
flipped = !flipped
|
||||
if(flipped)
|
||||
overlay_state = "[item_state]_alt"
|
||||
item_state = "[item_state]_alt"
|
||||
else
|
||||
item_state = initial(item_state)
|
||||
overlay_state = initial(overlay_state)
|
||||
to_chat(usr, SPAN_NOTICE("You change \the [src] to be on your [src.flipped ? "left" : "right"] hand."))
|
||||
if(ismob(loc))
|
||||
var/mob/M = src.loc
|
||||
M.update_inv_gloves()
|
||||
M.update_inv_wear_id()
|
||||
|
||||
/obj/item/modular_computer/CouldUseTopic(var/mob/user)
|
||||
..()
|
||||
|
||||
@@ -21,25 +21,21 @@
|
||||
|
||||
/obj/item/modular_computer/wristbound/preset/advanced/cargo
|
||||
icon_state = "wristbound_cargo"
|
||||
item_state = "wristbound_cargo"
|
||||
_app_preset_type = /datum/modular_computer_app_presets/cargo_delivery
|
||||
enrolled = 1
|
||||
|
||||
/obj/item/modular_computer/wristbound/preset/advanced/engineering
|
||||
icon_state = "wristbound_engineering"
|
||||
item_state = "wristbound_engineering"
|
||||
_app_preset_type = /datum/modular_computer_app_presets/engineering
|
||||
enrolled = 1
|
||||
|
||||
/obj/item/modular_computer/wristbound/preset/advanced/medical
|
||||
icon_state = "wristbound_medical"
|
||||
item_state = "wristbound_medical"
|
||||
_app_preset_type = /datum/modular_computer_app_presets/medical
|
||||
enrolled = 1
|
||||
|
||||
/obj/item/modular_computer/wristbound/preset/advanced/security
|
||||
icon_state = "wristbound_security"
|
||||
item_state = "wristbound_security"
|
||||
_app_preset_type = /datum/modular_computer_app_presets/security
|
||||
enrolled = 1
|
||||
|
||||
@@ -49,13 +45,11 @@
|
||||
|
||||
/obj/item/modular_computer/wristbound/preset/advanced/research
|
||||
icon_state = "wristbound_science"
|
||||
item_state = "wristbound_science"
|
||||
_app_preset_type = /datum/modular_computer_app_presets/research
|
||||
enrolled = 1
|
||||
|
||||
/obj/item/modular_computer/wristbound/preset/advanced/command
|
||||
icon_state = "wristbound_command"
|
||||
item_state = "wristbound_command"
|
||||
_app_preset_type = /datum/modular_computer_app_presets/command
|
||||
enrolled = 1
|
||||
|
||||
@@ -82,4 +76,4 @@
|
||||
|
||||
/obj/item/modular_computer/wristbound/preset/advanced/representative
|
||||
_app_preset_type = /datum/modular_computer_app_presets/representative
|
||||
enrolled = 1
|
||||
enrolled = 1
|
||||
Reference in New Issue
Block a user