-Implants can now be surgically removed.

-Revheads can once again re-convert de-converted revs (that are not loyalty implanted)
-Updated changelog

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5683 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
ericgfwong@hotmail.com
2013-02-10 19:01:16 +00:00
parent b51d09422b
commit 0c79eb522a
3 changed files with 42 additions and 2 deletions
+2 -2
View File
@@ -80,8 +80,8 @@
revsafe = 1
break
M.mind_initialize() //give them a mind datum if they don't have one.
if(M.mind.has_been_rev)
revsafe = 2
// if(M.mind.has_been_rev)
// revsafe = 2
if(!revsafe)
M.mind.has_been_rev = 1
ticker.mode.add_revolutionary(M.mind)
@@ -223,6 +223,38 @@
M.take_organ_damage(15)
M:eye_op_stage = 3.0
if(user.zone_sel.selecting == "head")
if(M.brain_op_stage != 0.0 && M.brain_op_stage != 1.0)
for(var/obj/item/weapon/implant/I in M)//Checking that there is an implant in the contents
if(I.imp_in == M)//Checking that it's actually implanted
if(M != user)
user.visible_message( \
"\red [user] carefully destroys [I] implant embedded in [M]'s head with [src]!", \
"\red You destroy [I] implant embedded in [M]'s head with [src]!" \
)
else
user.visible_message( \
"\red [user] begins to remove [I] implant embedded in his head with [src]!", \
"\red You destroy [I] implant embedded in your head with [src]!" \
)
if(M == user && prob(25))
user << "\red You nick an artery!"
if(istype(M, /mob/living/carbon/human))
var/datum/organ/external/affecting = M:get_organ("head")
if(affecting.take_damage(75))
M:UpdateDamageIcon()
else
M.take_organ_damage(75)
if(istype(I, /obj/item/weapon/implant/loyalty)) //Checking if the implant we found is a loyality implant.
M << "<span class='notice'> You feel a sense of liberation as Nanotrasen's grip on your mind fades away.</span>"
del(I)
M.updatehealth()
break
return
else if(user.zone_sel.selecting == "chest")
if(M:alien_op_stage == 2.0 || M:alien_op_stage == 3.0)
var/mob/living/carbon/human/H = M
+8
View File
@@ -48,6 +48,14 @@ Stuff which is in development and not yet visible to players or just code relate
should be listed in the changelog upon commit tho. Thanks. -->
<!-- To take advantage of the pretty new format (well it was new when I wrote this anyway), open the "add-to-changelog.html" file in any browser and add the stuff and then generate the html code and paste it here -->
<div class="commit sansserif">
<h2 class="date">10 Feburary 2012</h2>
<h3 class="author">Ikarrus updated:</h3>
<ul class="changes bgimages16">
<li class="rscadd">Implants can now be surgically removed. Hint: They're inside the skull.</li>
</ul>
</div>
<div class="commit sansserif">
<h2 class="date">07 Feburary 2012</h2>
<h3 class="author">Giacom updated:</h3>