Commit Graph

260 Commits

Author SHA1 Message Date
petethegoat@gmail.com
189b6fa491 Some minor surgery updates.
Actually ticked in cavity_implant.dm to the dme.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5769 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-23 22:02:24 +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
4341235bcc Added a tool_check() proc to surgery steps.
It can be used to check for specific properties on the tool used, such as whether a welding tool is lit or not.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5755 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-21 16:31:59 +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
7c9eff11cb Fixed and improved the get_accessible_location() proc.
Fixed some (wrong) magic numbers in detective_work.dm.
Updated body_parts_covered on all suits. 

Changed defines:
UPPER_TORSO > CHEST
LOWER_TORSO > GROIN
THERMAL_PROTECTION_UPPER_TORSO > THERMAL_PROTECTION_CHEST
THERMAL_PROTECTION_LOWER_TORSO > THERMAL_PROTECTION_GROIN

Changed paths:
/obj/item/clothing/suit/armor/det_suit > /obj/item/clothing/suit/armor/vest/det_suit


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5751 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-21 00:53:45 +00:00
petethegoat@gmail.com
1685c34401 Cleaned up the optable and operating computer code.
Fixes issue 1316. Operating Computer broken

Updated the surgical drill sprite.

Removed code/game/objects/items/weapons/surgery_tools.dm, as the tools have now been moved to the surgery module.

Removed the music folder, as it has been empty and unused since the beginning of time.

Path changes:
/obj/machinery/optable > /obj/structure/optable

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5748 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-20 20:11:50 +00:00
petethegoat@gmail.com
d8864ec8c4 Fixed a small issue with gender reassignment surgery and removed a stray file from my last commit.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5728 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-18 02:35:16 +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
58c7f79398 Moved
var/obj/item/weapon/back
var/obj/item/clothing/mask/wear_mask
var/obj/item/weapon/tank/internal

from /mob to /mob/living/carbon.

/mob/proc/abiotic() no longer does any extra checks even if full_body == 1.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5722 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-17 18:53:09 +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