Adds comments, changelog.

This commit is contained in:
Datraen
2016-01-03 01:27:44 -05:00
parent 37e1913fda
commit 6df5225059
3 changed files with 14 additions and 1 deletions
@@ -1,3 +1,8 @@
/*
Telecrystal item
Does nothing if not suitable antag type, checks for accept_tcrystals = 1 in a mob's mind.
For new antags, make sure to add "player.mind.accept_tcrystals = 1" if you want tradable tcrystals.
*/
/obj/item/device/telecrystal
name = "Red crystal"
desc = "A strange, red, glowing crystal."
@@ -7,7 +12,7 @@
force = 5
/obj/item/device/telecrystal/attack_self(mob/user as mob)
if(user.mind.accept_tcrystals)
if(user.mind.accept_tcrystals) //Checks to see if antag type allows for tcrystals
user.mind.tcrystals += 1
qdel(src)
return