mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
[MIRROR] PAI overlay on PDAs [MDB IGNORE] (#17898)
* PAI overlay on PDAs * conflicts2 Co-authored-by: texan-down-under <73374039+etherware-novice@users.noreply.github.com> Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
This commit is contained in:
co-authored by
texan-down-under
Tom
parent
6074568bbc
commit
e6bc6bd760
@@ -204,6 +204,7 @@ GLOBAL_LIST_EMPTY(TabletMessengers) // a list of all active messengers, similar
|
||||
user.put_in_hands(inserted_pai)
|
||||
balloon_alert(user, "removed pAI")
|
||||
inserted_pai = null
|
||||
update_appearance(UPDATE_ICON)
|
||||
return TRUE
|
||||
|
||||
// Gets IDs/access levels from card slot. Would be useful when/if PDAs would become modular PCs. //guess what
|
||||
@@ -414,6 +415,7 @@ GLOBAL_LIST_EMPTY(TabletMessengers) // a list of all active messengers, similar
|
||||
inserted_pai = null
|
||||
if(inserted_disk == gone)
|
||||
inserted_disk = null
|
||||
update_appearance(UPDATE_ICON)
|
||||
return ..()
|
||||
|
||||
// On-click handling. Turns on the computer if it's off and opens the GUI.
|
||||
@@ -723,6 +725,7 @@ GLOBAL_LIST_EMPTY(TabletMessengers) // a list of all active messengers, similar
|
||||
return
|
||||
inserted_pai = attacking_item
|
||||
balloon_alert(user, "inserted pai")
|
||||
update_appearance(UPDATE_ICON)
|
||||
return
|
||||
|
||||
if(istype(attacking_item, /obj/item/stock_parts/cell))
|
||||
|
||||
Reference in New Issue
Block a user