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:
magatsuchi
2022-04-20 16:55:49 +01:00
committed by GitHub
parent d7222be1a3
commit dc8adc2924
182 changed files with 2968 additions and 4053 deletions
+6 -4
View File
@@ -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