Commit Graph

40 Commits

Author SHA1 Message Date
Fox-McCloud 0dbea7621f The Great Del() Cull of 2015 2015-07-09 02:48:34 -04:00
Krausus ce2ed448bd Fixes runtime in organ removal 2015-05-25 07:56:32 -04:00
Krausus bfa93d5cd9 Fixes detached organ process() runtime
This may cause certain organs that wouldn't previously take damage over
time to now do so.
2015-05-16 06:23:48 -04:00
Fox-McCloud 32e868621f More Gore from Gibbing 2015-04-24 08:01:07 -04:00
DZD 415e2caaa3 Organ fixes
### Current Changes
- Removes the rejecting verb from organs, I forgot to remove this along
with organ rejection.
- Fixes droplimb runtime.
- As a result, brute damage goring and burn ashing DESTROYS whatever
limb was dismembered. They didn't do so before due to the runtime.
- Fixes another runtime in organ_external.dm
- Makes it so you can actually clone brain transplantees.
- Makes it so you can actually rejuvenate brain transplantees.
### Todo
- [ ] Make slime person braincores able to be placed in humanized
monkeys again.
- [ ] Probably fix some other stuff.
2015-04-17 18:35:03 -04:00
DZD 1dde4972f8 Fixes surgery bugs & removes organ rejection
- Makes organ stumps amputatable. (Seriously, why the fuck were they
not? You NEED to remove them to attach new limbs, including heads.)
- Removes organ rejection (But muh reelizms! No, fuck that, test dummies
were rejecting their own organs and dying. Why did this even exist?
- Organs removed from a body take SIGNIFICANTLY longer to take damage
and decay now. That brain you just removed will actually be
transplantable a minute later.
2015-04-14 22:12:19 -04:00
Tigercat2000 29c59bd51b Add check for antags in msg_admin_attack
This commit first adds a new helper proc labeled isAntag(), as well as
adding a check for antags for every instance of msg_admin_attack().

Goals of this commit:
 - Make admin ATTACK: logs indicate if attacker is an antagonist.

Note; High probability of merge conflicts, 47 files changed.
2015-04-12 08:41:53 -07:00
ZomgPonies 91e8b909c0 Squish Squash 2015-04-04 14:27:53 -04:00
VampyrBytes c0f5132664 Cleanup of internal organs
Both internal and external organs are a mess, which is making
maintaining and updating them nasty, so I'm cleaning them up, this is
the first stage

mechanical and assisted internal organs are now an object type rather
than a var in the organ which makes it much cleaner and easier to adjust

removed duplicate list of internal organs as there's no reason to have
the same objects in 2 separate lists

made New() a lot cleaner and more robust

External organs will be next
2014-08-21 10:24:13 +01:00
ZomgPonies a812f3896c Vampyr, ya dun fucked up. Test your commits next time. 2014-08-07 20:19:42 -04:00
VampyrBytes 8504a13e33 fix for #248 number 2
Last fix didn't work, this one should though
2014-08-06 08:06:41 +01:00
mwerezak 8ad91ea11c Fixes germ levels going below zero
Conflicts:
	code/modules/organs/organ_internal.dm
2014-07-13 08:53:53 -04:00
mwerezak 64ba9ab933 Fixes #5532 and increases the time required for organs to become infected from wounds
Also removes the now unnecessary get_cure_threshold() proc, caps the
rate at which an organ can receive germs from wounds, and makes germs
spread from external to internal organs happen one organ at a time
instead of all at once.

Conflicts:
	code/modules/organs/organ_internal.dm
	code/setup.dm
2014-07-13 08:13:02 -04:00
mwerezak 044399e6f0 Required spaceacillin levels no longer scale
The amount of spaceacillin required to stop infections is now a flat 5
units, instead of scaling with germ_level.
2014-07-13 07:43:57 -04:00
mwerezak e360e5732b Adjusts the curing of infections
Conflicts:
	code/modules/organs/organ_internal.dm
2014-07-13 07:36:25 -04:00
mwerezak 177137a4b5 Infections now spread between organs
Infections can now spread between internal and external organs.
Also changes the organ_failure random event to cause an infection
instead.

Conflicts:
	code/modules/events/organ_failure.dm
	code/modules/organs/organ.dm
2014-06-21 12:55:25 -04:00
mwerezak 2f9ba5d4b6 Cleans up organ processing
Conflicts:
	code/modules/organs/organ.dm
	code/modules/organs/organ_internal.dm
2014-06-21 12:48:39 -04:00
mwerezak 6e256506e3 Body temperature fixes and updates
Body temperature regulation is now based on species, and environmental
temperature now respects the air density when affecting living/humans.
This also fixes some bugs with heat/cold protection handling and
improves the way synthetic species body temperatures are handled to be
much more logical.

IPCs always gain temperature but cool down because of their environment.
When the heat transfer to the environment is reduced because of the lack
of air, this will cause IPCs to heat up.

As well, having an infection will increase your body temperature, and
body scanners now detect infections.

Conflicts:
	code/modules/mob/living/carbon/human/life.dm
	code/modules/mob/living/carbon/species.dm
2014-06-21 12:20:22 -04:00
mwerezak ba08210cd7 Re-enables organ infections, adds wound infection
Conflicts:
	code/game/atoms.dm
	code/modules/mob/living/carbon/carbon.dm
	code/setup.dm
2014-06-20 12:14:19 -04:00
mwerezak 6d44eea078 Updates l_move_time to use world.time 2014-06-20 12:12:31 -04:00
Rob Nelson 96d90dc28a Update with some bay optimizations for mobs.
Conflicts:
	code/defines/obj.dm
	code/modules/mob/living/carbon/human/human.dm
	code/modules/mob/living/carbon/human/life.dm
	code/modules/mob/living/carbon/species.dm
	code/modules/organs/blood.dm
	code/modules/organs/organ.dm
	code/modules/organs/organ_external.dm
	code/setup.dm
	compare_report.txt
2014-04-28 21:29:14 -04:00
Mloc-Argent fcdcef5931 human: move organ generation into a species proc
New proc: /datum/species/create_organs
Called in set_species when no organs exist or it's forced.
Also shuffled set_species around a bit, adding a var to human/new to
specify a species to start as.
Should fix the adminspawn vox organ runtime.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>

Conflicts:
	code/game/machinery/cloning.dm
	code/modules/mob/living/carbon/human/human.dm
	code/modules/mob/new_player/new_player.dm
	code/modules/organs/organ.dm
2014-04-28 21:09:45 -04:00
Ccomp5950 4c274837d4 Code effeciency project: Handle_Organs (human/life())
We do a bit of pre-processing to see if we want to do checks on all the organs.

First we don't even do preprocessing unless we have damage of some kind
afterwards we process what is hurt until it gets better or overall we get worse
when we go ahead and check everything else out again.

Can add a safety check in life every 30 ticks or so go ahead and check every organ again but I don't think it's needed.

Conflicts:
	code/modules/mob/living/carbon/human/human_defines.dm
	code/modules/mob/living/carbon/human/life.dm
	code/modules/organs/organ.dm
2014-03-23 08:02:45 -04:00
Zuhayr d856157f26 More dionaea tweaks, NO_PAIN, IS_PLANT and IS_SLOW specifically.
Conflicts:
	code/modules/mob/living/carbon/species.dm
2014-01-07 00:04:27 -05:00
ZomgPonies 5ce256b73c Organ/Surgery Overhaul Part 1 2013-12-19 07:25:55 -05:00
ZomgPonies 62b0b49659 Brain Borer Overhaul 2013-12-19 03:32:19 -05:00
ZomgPonies 050ecd4820 So the legbone no longer connects to the groinboner. 2013-12-06 15:26:05 -05:00
ZomgPonies 950011d4d8 Organ lag fixes 2013-11-08 09:50:34 -05:00
ZomgPonies 9cd09df68d Slime people commit 2013-10-20 21:15:51 -04:00
ZomgPonies 78f14f11cc New vending machine, enabling Ian clothes, bug fixes, map update 2013-09-28 01:38:18 -04:00
Zuhayr 49d53c376b Merge branch 'dev' of https://github.com/Baystation12/Baystation12 2013-08-03 12:39:51 -07:00
Segrain d21a29dc09 Runtime error fix. 2013-08-02 19:09:54 +03:00
comma de1309102e Splints!
Actually added 2 commits before, but now with full capabilities.
2013-08-01 05:58:55 +04:00
Chinsky 300a73da71 Should make unusable limbs treated as such. 2013-06-09 16:51:07 +04:00
Chinsky 28b62d0207 Merge branch 'bleeding-edge-freeze' into organ
Conflicts:
	html/changelog.html
2013-06-01 18:33:58 +04:00
Chinsky 275003afa8 Fixed indentation. 2013-06-01 18:20:59 +04:00
Chinsky 7806915619 Added organ mutations.
Only have sprites for humans yet.
Added is_usable() proc that checks for both limb missing or being a tentacle
2013-05-19 17:56:29 +04:00
Chinsky b5e7f7d204 Running around with fractures would damage internal organs inside of fractured areas. 2013-03-16 15:47:46 +04:00
Chinsky 38a8246994 Moved code for injecting and taking blood to separate procs.
Removed special case for blood from regent transferring proc.
Fixed humans spawning as limbles torsos.
2013-03-14 20:18:37 +04:00
Chinsky 13b6b2f61b Moved organ and blood code to module folder.
Moved most organ and blood procs to that folder.
Refactored handle_organs a little.
Added comments in some places.
2013-03-14 11:52:53 +04:00