Commit Graph

12 Commits

Author SHA1 Message Date
Razharas 358a85eb3d Completed the transition to a new proc
All the logging i have found in the code was changed to use the
proc(maybe i missed something)
Killed all runtimes found so far
Proc now handles all the checks, no need to add checks in the body of
object
2013-12-17 22:56:04 +04:00
kyiakl c5abdfbd24 Issue #1012 Fix 2013-08-15 21:33:39 -04:00
carnie e7b586a095 Replaced organ helper procs with a single more versatile and strealined one. 2013-08-01 14:42:32 +01:00
golfer45 56caecebd2 Brute Damage for brain removal
added 75 brute damage for saw step, and new text, added 25 for brian removal step. Fixes demrianed bodies not bleeding + makes more sense
2013-06-17 08:14:34 -03:00
golfer45 0a70ab9acb Brute Damage for brain removal
Added 75 brute damage when head is sawed through + some new text for it, and 25 when brain is removed, this fixes an issue in which blood would not be tracked behind dead debrained bodies, and makes a little more sense
2013-06-17 08:11:56 -03:00
Ikarrus cc3bf1f655 Changed stand_icon to face_standing so update_body won't have to be used to clear it.
Used update_hair(0) instead of update_hair()
2013-04-24 19:23:04 -06:00
Ikarrus b0c398da67 Debraining humans visually change their appearance.
https://dl.dropboxusercontent.com/u/831776/debrain1.png
https://dl.dropboxusercontent.com/u/831776/debrain2.png
2013-04-17 08:32:07 -06:00
petethegoat@gmail.com 89f6892ffd Added exceptions to the cavity implant for the nuke disk and organs (because it would interfere with the getbrain/getappendix procs).
Added alien brains and surgery for getting them out of aliens. It differs from the human brain removal surgery.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5784 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-25 23:56:31 +00:00
petethegoat@gmail.com efe09a57c8 Adds cavity implant surgery. Turn people into walking bombs, etc.
Adds two new variables to surgery steps- accept_hand, and accept_any_item. They are compatible and you can use both at once.
Removes the always_advance variable on surgery steps, in favour of the success() and failure() procs returning 1 or 0 to advance or not.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5765 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-22 18:10:28 +00:00
petethegoat@gmail.com 6d5fe9d0e6 Standardised vending.dm, and also updated vending machines to use the new wire datums.
Fixes issue 1309. Kitchen Vendomat vends "weapon"

Removes the cautery step from debraining, as it was pretty pointless and needlessly confusing.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5754 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-21 15:25:05 +00:00
petethegoat@gmail.com 9f56f974fe Committing most of Incoming's proposed commit: http://forums.nanotrasen.com/viewtopic.php?f=16&t=12229
Adds lipoplasty, plastic surgery and gender reassignment surgery.

Adds a var/target_must_be_fat to the surgery datum, for surgeries exclusive to fatties.
Adds a var/always_advance to the surgery step datum, for when it should advance to the next step even on failure.

Adds /proc/get_location_accessible(), which is used by surgery to make sure you have access to the area you're operating on.
It's a fairly horrible, but it's not called that often, so it should be fine. Correct me if I'm wrong.

Updated the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5727 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-18 02:12:18 +00:00
petethegoat@gmail.com 75a7d34ec9 Committing datum based surgery proper. There's a brief explanation in surgery.dm, if you want to know how it works.
Basically, surgeries are now initiated by bedsheets or surgical drapes, and consist of separate steps.
Appendicitis is sort of hacky, but it should work for now. I'll update it when I add processing organs.

Added getbrain() and getappendix() procs, which can be used instead of checking the old (now missing) x_op_stage variables.

Added a surgical apron, using old sprites by matty.

Updated the map:
Removed the note with spell descriptions from the wizard's den for Kor.
Updated the operating room.
Updated xenobio to have appropriate tools for slime surgery.

Path changes:
/obj/item/brain > /obj/item/organ/brain
/obj/item/weapon/reagent_containers/food/snacks/appendix > /obj/item/organ/appendix
/obj/item/weapon/reagent_containers/food/snacks/appendix/inflamed > /obj/item/organ/appendix


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5703 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-14 01:20:58 +00:00