Merge pull request #3183 from Segrain/master

ID cards bugfix.
This commit is contained in:
Zuhayr
2013-06-27 04:03:58 -07:00
2 changed files with 16 additions and 0 deletions

View File

@@ -80,6 +80,14 @@
var/rank = null //actual job
var/dorm = 0 // determines if this ID has claimed a dorm already
/obj/item/weapon/card/id/New()
..()
spawn(30)
if(istype(loc, /mob/living/carbon/human))
blood_type = loc:dna:b_type
dna_hash = loc:dna:unique_enzymes
fingerprint_hash = md5(loc:dna:uni_identity)
/obj/item/weapon/card/id/attack_self(mob/user as mob)
for(var/mob/O in viewers(user, null))
O.show_message(text("[] shows you: \icon[] []: assignment: []", user, src, src.name, src.assignment), 1)

View File

@@ -57,6 +57,14 @@ Stuff which is in development and not yet visible to players or just code relate
(ie. code improvements for expandability, etc.) should not be listed here. They
should be listed in the changelog upon commit though. Thanks. -->
<div class="commit sansserif">
<h2 class="date">27.06.2013</h2>
<h3 class="author">Segrain updated:</h3>
<ul class="changes bgimages16">
<li class="bugfix">ID cards properly setup bloodtype, DNA and fingerprints again.</li>
</ul>
</div>
<div class="commit sansserif">
<h2 class="date">26.06.2013</h2>
<h3 class="author">Segrain updated:</h3>