Merge pull request #746 from Datraen/TeleCrystal-Item2

Gives telecrystals tech levels, restores PDA default to new PDA.
This commit is contained in:
Neerti
2016-01-12 01:17:17 -07:00
4 changed files with 10 additions and 2 deletions
+1 -1
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
@@ -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