mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
Modular Tablets: Converting PDAs to the NtOS System (SKYRAT VERSION) (#12920)
* hot-patch 1 * hot patch 2 * hot patch 3 * slight issue
This commit is contained in:
@@ -139,10 +139,12 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
|
||||
id.update_icon()
|
||||
|
||||
if(worn)
|
||||
if(istype(worn, /obj/item/pda))
|
||||
var/obj/item/pda/PDA = worn
|
||||
PDA.id = id
|
||||
id.forceMove(PDA)
|
||||
if(istype(worn, /obj/item/modular_computer/tablet/pda))
|
||||
var/obj/item/modular_computer/tablet/pda/PDA = worn
|
||||
var/obj/item/computer_hardware/card_slot/card = PDA.all_components[MC_CARD]
|
||||
|
||||
if(card)
|
||||
card.try_insert(id)
|
||||
else if(istype(worn, /obj/item/storage/wallet))
|
||||
var/obj/item/storage/wallet/W = worn
|
||||
W.front_id = id
|
||||
|
||||
Reference in New Issue
Block a user