Creates telecrystal item for exchanging telecrystals between antags.

This commit is contained in:
Datraen
2016-01-03 01:22:48 -05:00
parent 8e70e4e91a
commit 37e1913fda
10 changed files with 33 additions and 4 deletions
+6 -2
View File
@@ -13,7 +13,7 @@ var/global/list/obj/item/device/pda/PDAs = list()
slot_flags = SLOT_ID | SLOT_BELT
//Main variables
var/pdachoice = 1
var/pdachoice = 3
var/owner = null
var/default_cartridge = 0 // Access level defined by cartridge
var/obj/item/weapon/cartridge/cartridge = null //current cartridge
@@ -319,9 +319,13 @@ var/global/list/obj/item/device/pda/PDAs = list()
new /obj/item/weapon/pen(src)
pdachoice = isnull(H) ? 1 : (ishuman(H) ? H.pdachoice : 1)
switch(pdachoice)
if(1) icon = 'icons/obj/pda.dmi'
if(2) icon = 'icons/obj/pda_slim.dmi'
if(3) icon = 'icons/obj/pda_old.dmi'
else icon = 'icons/obj/pda.dmi'
else
icon = 'icons/obj/pda_old.dmi'
log_debug("Invalid switch for PDA, defaulting to old PDA icons. [pdachoice] chosen.")
/obj/item/device/pda/proc/can_use()