Gives telecrystals tech levels, restores PDA default to new PDA.

This commit is contained in:
Datraen
2016-01-08 18:06:45 -05:00
parent 9c89f9db1b
commit ee8b26b942
4 changed files with 10 additions and 2 deletions

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 = 3
var/pdachoice = 1
var/owner = null
var/default_cartridge = 0 // Access level defined by cartridge
var/obj/item/weapon/cartridge/cartridge = null //current cartridge

View File

@@ -10,6 +10,7 @@ For new antags, make sure to add "player.mind.accept_tcrystals = 1" if you want
icon_state = "telecrystal"
item_state = "telecrystal"
force = 5
origin_tech = list(TECH_MATERIAL = 2, TECH_BLUESPACE = 1, TECH_ILLEGAL = 1)
/obj/item/device/telecrystal/attack_self(mob/user as mob)
if(user.mind.accept_tcrystals) //Checks to see if antag type allows for tcrystals