Commit Graph

12 Commits

Author SHA1 Message Date
D3athrow
01d2471fc9 Merge branch 'color_replace_2_electric_boogaloo' into Bleeding-Edge
Conflicts:
	code/ATMOSPHERICS/pipe/pipe_dispenser.dm
	code/game/machinery/computer/HolodeckControl.dm
	code/game/machinery/embedded_controller/embedded_controller_base.dm
	code/modules/mining/money_bag.dm
	code/modules/mob/living/carbon/carbon.dm
	code/modules/mob/living/silicon/mommi/mommi.dm
	code/modules/mob/living/simple_animal/friendly/farm_animals.dm
	code/modules/research/destructive_analyzer.dm
	code/modules/research/rdconsole.dm
	code/modules/research/xenoarchaeology/machinery/analysis_base.dm
	code/modules/research/xenoarchaeology/machinery/artifact_harvester.dm
	code/modules/research/xenoarchaeology/tools/ano_device_battery.dm
2015-04-12 16:40:59 -05:00
ComicIronic
d0e9eedd25 drop_item and click code.
drop_item now has a first arg, which is the item to drop.
Hand processing now uses drop_item properly, which fixes #3874, #3796.
Also fixes #3486.
2015-04-12 00:56:43 +01:00
elly1989@rocketmail.com
48088b79d9 ugh...this was horrible. I'm really sorry if I fucked anything up, I was literally going braindead towards the end.
Replaced every l_hand = and r_hand = and all that if(hand) crap to use standardised procs. This means we can use procs like Dropped() reliably as they will always be called when things are dropped.

Thorough documentation to come. But generally, if you want a mob's icons to update after deleting something in the inventory...use drop_from_inventory(the_thing_you_wanna_drop) just before deleting it. If you wanna put something in a mob's hands use put_in_hands() (or one of the variants). It'll try putting it in active hand first, then inactive, then the floor. They handle layers, overlays, screenlocs calling various procs such as dropped() etc for you. Easy

mob.equipped() is now mob.get_active_hand() because there was another totally unrelated proc named equipped() and stuff was confusing.

Weakening was made instantaneous.

Minor optimisations for human/handle_regular_status_updates(). I'll port these changes over to the other mobs next. Basically it should stop it constantly incrementing every status effect even after death.

umm... bunch of overlays related fixes... I think that's everything. :/

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3900 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-23 21:24:45 +00:00
mport2004@gmail.com
ec507d8277 Anything that used the updateappearance proc will no longer update hair/beards. The things that use it are DNA changes, Cloned mobs, Changlings. The proc was runtiming due code on lines 234 and 246, I looked into it a bit but don't currently know how to fix it. The proc is currently commented out so at least the skin color/body updates properly.
Thanks to Exadv1 the reagent checking code for chem got a nice performance tweak.
Minor text change to the steal ai objective.
Few runtimes/nullchecks fixed.
HoS does not spawn with a flash, Warden does not spawn with a taser, Security officers now spawn with a flash.
Wizarditis has been uncommented and nerffed quite a bit.
Moved most of the suits over to the clothing module folder.
Force 0 items won't damage humans.
The two lockboxes have been readded to the armory.
The brigs extra large power cell has been cut in half. (still twice as large as normal apcs)


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2480 316c924e-a436-60f5-8080-3fe189b3f50e
2011-11-04 12:14:39 +00:00
mport2004@gmail.com
17ed3899c4 Fixed the map/code issues that the body bags caused.
/obj/effects is now /obj/effect.
/obj/station_objects is now /obj/structure.
Did a bit of minor blob work. 
The Bay 12 body bags were replaced with closets because having two sets of code that do almost the same thing is silly.
Changed back a few of the last jobproc edits as the remove from list before assign was a check to see if the mob was fucked up and if it was remove it so we did not check it again as it would still be fucked up.
The medbay/tox monkeys names are random once more.  More random name monkeys will help with changeling and clean up the observe/mob menus.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2324 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-03 10:28:57 +00:00
baloh.matevz
b4193b0f0e - Baby steps in rewriting the DblClick() proc. Will work on it later.
- Removed all effect of wizarditis. The disease still exists but has absolutely no effect on anything. And no, this is not a removal only from the game world, it's a removal, period. Admins don't have it either. As I said however, the disease exists so you might see wizarditis as a diagnosis on your medical scanner, it won't have any effect tho.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2252 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-23 01:44:58 +00:00
uporotiy
be044b18c8 -Finished work on the "cult" gamemode. I'll still add features to it later, but it is safe to be put on secret rotation now.
-Added an energy cutlass and made a pirate version of the space suit in preparation for a later nuke update.
-Changeling now ends 15 minutes after changeling death, unless he's ressurected.
-Further fixing of wizarditis teleporting into space.
-Fixed the wise beard sprite.
-Fixed missing sprite for monkeyburgers.
-Fixed Beepsky automatically adding 2 treason points to EVERYONE.
I believe that's everything.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@365 316c924e-a436-60f5-8080-3fe189b3f50e
2010-11-02 19:13:32 +00:00
panurgomatic
d2c6d75773 - Added broken icon state for virology console.
- Raised the chance to cure brainrot and GBS, lowered the chance to teleport for wizarditis.
- Made Pandemic console buildable (and unbuildable) and placed the circuitboard in technical storage.
- Replacement lights crate can be ordered in QM.
- Added space cleaner and hand labeler to Virology.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@346 316c924e-a436-60f5-8080-3fe189b3f50e
2010-10-22 18:40:01 +00:00
panurgomatic
686b7e4872 - Disease & related fixes.
- Wizarditis should not teleport you to space. But still can teleport you to areas with no air.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@344 316c924e-a436-60f5-8080-3fe189b3f50e
2010-10-22 00:37:12 +00:00
panurgomatic
c0c940db6a - Slightly rewrote the diseases. Spreading, stage updates, etc. Check the diffs if you want details.
- Fixed wizarditis teleport lagggggg

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@339 316c924e-a436-60f5-8080-3fe189b3f50e
2010-10-21 03:23:10 +00:00
uporotiy
b7e22cc56b Commented out the lagspike wizarditis bit of code (too derpy atm to actually fix it).
Added suspenders for mime.
Changed the virus crate so that it is a secure crate now.
Added the ability for admins to choose which virus to spread when triggering an outbreak.
Changed the dorf mode secret to be more manly.
Made clown's mask a gas one.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@328 316c924e-a436-60f5-8080-3fe189b3f50e
2010-10-19 19:36:10 +00:00
panurgomatic
5360dc1ac5 - Changed the contract_disease proc clothing checks with respect to permeability_coefficient.
- Spaceacillin no longer heals all viruses.
- Some diseases must be cured with two or more chemicals simultaneously.
- Tweaked magnitis disease (now affects cyborgs).
- Added wizarditis disease.
- Tweaked some item properties.
- Added leather gloves for the Botanists.
- Some suits cannot be placed into backpack.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@321 316c924e-a436-60f5-8080-3fe189b3f50e
2010-10-19 07:46:50 +00:00