Commit Graph

46 Commits

Author SHA1 Message Date
Aranclanos
233a5b3b9b Fixes runtimes regarding using ointments/bruisepacks/surgery drapes while targeting eyes/mouth/groin or using them on other mobs. 2014-01-06 06:34:17 -03:00
Cheridan
bb9c09df46 Obsoletes flags = FPRINT | TABLEPASS*
*TABLEPASS was already totally obsolete.
FPRINT was used, but it was on virtually everything anyway.

Removes those flags from every instance where they were used. Also assigned and removed other flags where it made sense.

If it is desired, I can revive the flag as NOFPRINT, which would retain the original functionality, though inverted. That way it would be be used only  where it was intentional (holodeck items could use this for example).
2013-12-30 15:03:17 -06:00
Robson Richards
d3d4c79946 Merges Heal_Damage and Heal_robotic_damage procs
like I should have done in the first place.
Corrects all usages of Heal_damage so it works with the changed version.
Same goes for Heal_robotic_damage
2013-12-29 17:40:12 +00:00
Robson Richards
889b9c66f3 Merge branch 'master' of https://github.com/tgstation/-tg-station into Toxic_converter_Fix 2013-12-29 00:40:24 +00:00
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
Perakp
4e05048524 Fixes multiple embryos in single host
Added checks so you can’t have multiple embryos in a single host.
Checks are included in both facehugger.dm and alien_embryo.dm, because
there might be ways to implant embryos without facehuggers in the
future, but we also want to avoid creating and instantly deleting
objects.
Also changes chest augmentation surgery to remove any embryos. Before
you could remove the whole chest without finding the embryo inside.
2013-12-01 08:52:34 +02:00
Robson Richards
69f7119467 Removes the DME, God damn silly error 2013-11-30 13:28:40 +00:00
Robson Richards
75ff8338b8 Fixes bible spam
Fixes "r_arm" nonsense
Fixes appendicitis carrying over to robotic chest
2013-11-24 15:24:55 +00:00
Robson Richards
44bf98d1fd Invert's a check that I accidentally edited
Full type path for a list variable
2013-11-20 18:31:52 +00:00
Robson Richards
ea7db2239d Adds a necessary check against surgeries on Robotic organs
Reworks limb surgery/limb augmentation.dm to use a Switch

Ignore changes to do with "Requires_organic_chest" I removed it, but since re added it as it was preventing an exploit
2013-11-20 18:19:22 +00:00
Robson Richards
e71ea3289e Merge branch 'master' of https://github.com/tgstation/-tg-station into 13/10/2013-Limb/organ-stuff
This probably broke everything... :(
2013-11-17 18:09:14 +00:00
Robson Richards
637c3f7f63 Fixes for @Aranclanos
Diseases now have a requires and a required_limb variable
if requires is 1 then it will run a check for required_limb (WHICH USES TYPEPATHS)

Reverts a turret change that git through into the pull for some reason

added some feedback messages in certain places

removed the hulk-like snowflake check that was really crappy anyways

Reworked a part of surgery/surgery_step.dm to use a switch
2013-11-16 18:13:41 +00:00
Robson Richards
2d3c6415b3 Adds a robotic limb heal proc
this is due to the original proc having a check in it now which saves us
millions of snowflakey checks, if you wish to heal a robotic limb use
heal_robotic_damage(brute,burn) it functions the same as heal_damage
but actually heals robotic limbs instead of organic ones

Updated the welding and wiring repairs to use this proc
2013-11-10 12:58:44 +00:00
Robson Richards
6587fe30cd Fixes an earlier attempt at the previous commit
Fixes a comment that was a DIRTY LIAR
2013-11-10 02:04:00 +00:00
Robson Richards
b2b6a9ff84 Fixes Chem healing and Chem damaging of Robotic limbs
Hey @Cheridan NO ISTYPES! :D
Ugh.. I mean "Removes" 10 totally unnecessary istypes
Fixes the healing of robotic limbs so that the message actually doesn't display now.

Credit to ACCount12 for digging around and finding some nifty code
that my brain never thought of
2013-11-10 01:55:40 +00:00
Robson Richards
00d58acf5e YOU SAW NO TEST COMMENT! 2013-11-04 17:57:24 +00:00
Robson Richards
45c263e8ed Became less selfish
Made it Easier to create your own Multiple location surgeries, updated surgery/multiple_location_example.dm to reflect this
Updated surgery/limb augmentation.dm to this new way of handling Multiple location surgeries.
2013-11-04 17:32:13 +00:00
Cheridan
729dea43a2 Fixes up the implant removal messages, replaces names with paths in uplink_item.dm 2013-11-04 09:58:04 -06:00
Robson Richards
a9b725db2f Lot's of stuff, Read full Commit log
Cybernetic limbs
Multi-location operations
Limbs have sprites now (They never dropped before so it was irrelevant)
No Organic healing of Robotic limbs (But the message is still there, fixing soon)
No "organic" diseases in Robotic areas
No more operations in robotic areas - Cheer's Pete for the surgery system being so nice
Healing Robotic limbs with welders (brute) and cable (burn)
Probably other things I forget
2013-11-01 19:44:07 +00:00
Robson Richards
a3e0921814 Removes super secret definitely not a proc for Augments
This should never have happened!
2013-10-21 16:06:58 +01:00
Robson Richards
9d9f642542 Makes Icon_name Redundant due to Obj Limbs
update_icons.dm altered to reflect this.
2013-10-21 16:01:58 +01:00
Robson Richards
1c70008d0c Changes Limbs into Obj's
Reworked all the paths for it
Reworked all the procs for it
2013-10-11 19:11:55 +01:00
Pete Goodfellow
cf77991370 Fixes #1144. The ability to surgically implant the nuclear disk into a crewmember 2013-09-15 13:14:59 +01:00
kyiakl
ea4c604738 Update surgery_step.dm 2013-08-19 12:49:23 -04:00
kyiakl
9cdbcf115c Update surgery_step.dm 2013-08-19 08:11:34 -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
f9d4926ad7 Facial Reconstruction Surgery
Plastic Surgery will restore the face if it is disfigured by acid.
2013-05-08 08:52:38 -06:00
Carnie
7417b82546 Merge pull request #392 from Ikarrus/debrain
Debraining humans visually change their appearance.
2013-04-24 22:31:36 -07: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
Incoming5643
15c281267e Gives fly people a buzz lisp (lenghtens "z"s)
Fixes a spelling error in gender_reassignment.dm I missed when I wrote it
2013-04-16 21:52:40 -04:00
Pete Goodfellow
bb82a0f2c3 Adds GetTypeInAllContents, which should be self-explanatory. Recursively checks for a typepath locating in an atom.
It's used by cavity implants to make sure you can't slip the nuke disk in.
2013-03-28 13:00:32 +00: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
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