sizing, naming

This commit is contained in:
Kyep
2020-08-09 13:09:42 -07:00
parent 6927ad1b31
commit fe8f360320
2 changed files with 3 additions and 2 deletions
@@ -80,7 +80,7 @@
/obj/item/radio/electropack/tgui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = TRUE, datum/tgui/master_ui = null, datum/tgui_state/state = GLOB.tgui_inventory_state)
ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open)
if(!ui)
ui = new(user, src, ui_key, "Electropack", name, 360, 400, master_ui, state)
ui = new(user, src, ui_key, "Electropack", name, 360, 200, master_ui, state)
ui.open()
/obj/item/radio/electropack/tgui_data(mob/user)
@@ -119,7 +119,7 @@ GLOBAL_LIST_INIT(default_medbay_channels, list(
/obj/item/radio/tgui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = TRUE, datum/tgui/master_ui = null, datum/tgui_state/state = GLOB.tgui_inventory_state)
ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open)
if(!ui)
ui = new(user, src, ui_key, "Radio", name, 360, 400, master_ui, state)
ui = new(user, src, ui_key, "Radio", name, 360, 300, master_ui, state)
ui.open()
/obj/item/radio/tgui_data(mob/user)
@@ -600,6 +600,7 @@ GLOBAL_LIST_INIT(default_medbay_channels, list(
//Giving borgs their own radio to have some more room to work with -Sieve
/obj/item/radio/borg
name = "Cyborg Radio"
var/mob/living/silicon/robot/myborg = null // Cyborg which owns this radio. Used for power checks
var/obj/item/encryptionkey/keyslot = null//Borg radios can handle a single encryption key
icon = 'icons/obj/robot_component.dmi' // Cyborgs radio icons should look like the component.