Commit Graph

145 Commits

Author SHA1 Message Date
fleure
84ee1ca8b1 Merge pull request #2314 from Giacom/toxin_filter
Symptom Fixes.
2014-01-13 13:20:29 -08:00
Giacom
c8120da49c Merge pull request #2283 from YotaXP/list2text-refactor
Optimized and refactored list2text, text2list, and replacetext.
2014-01-11 10:11:13 -08:00
Giacomand
21a21f9ecc Third time's the charm.
Self-respiration will now properly keep you from dying of oxygen loss.
Stimulant's activation chance was increased so you had a constant flow of hyperzine.
2014-01-11 12:01:13 +00:00
Giacomand
3a026b3f4d Fixes toxic compensation giving you toxins while at full health. 2014-01-10 13:44:57 +00:00
Giacom
bc42827194 Typo fix. 2014-01-08 17:55:32 +00:00
Giacom
f89673ae18 Made self-respiration use dexalin instead. 2014-01-08 13:15:06 +00:00
YotaXP
f98a57b750 Optimized and refactored list2text, text2list, and replacetext.
Also fixed some grammar in the station blueprint code.
2014-01-07 22:15:25 -05:00
Giacom
c270e177a8 Correctly set the values so there's no chance for underhealing
Apparently damage_converter converts 6 or 12 damage, plus the randomness of the symptoms makes it hard to predict.
2014-01-07 21:35:23 +00:00
Giacom
8ba1d2c033 Fixed a flaw with the toxin filter.
Increased the amount of damage the toxin filter heals to be able to keep up with the damage converter symptom.
2014-01-07 21:27:25 +00:00
Aranclanos
d5ddac3a00 Merge pull request #1934 from RobRichards1997/30/11/2013-Toxic-Converter-Cyberlimb-Fix
Cyber limbs fixes [FIXES #1920] + [Fixes #2180] + [RUNTIME FIX]
2013-12-30 10:23:54 -08:00
Robson Richards
6397796058 Removes a Check by Aran's request 2013-12-30 17:31:39 +00: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
08ec9df967 Fixes it for Nonhuman mobs. 2013-12-29 02:25:12 +00:00
Robson Richards
819bb9451d <3 Aranclanos, You always know what's best. 2013-12-29 00:52:13 +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
Robson Richards
78d1c8c112 Changes the heal proc to use get_damage twice instead of using the proc twice. - for Gia. 2013-12-19 19:49:10 +00:00
Incoming
ac1a96fd43 feature: renames the monkeyizing var to "notransform" since that's how it was being used in the code, as a flag to tell code to ignore transformation (initially because they were already turning into a monkey).
bugfix: gives notransform to etheral jaunting based on an observed edge case where a wizard was staff of changed while starting a jaunt and got stuck in bluespace for the rest of the round

meta: modified revive() so I could remove all that horrible snowflake I introduced to let reviving simple mobs come back
2013-12-19 11:50:33 -05:00
Robson Richards
69f7119467 Removes the DME, God damn silly error 2013-11-30 13:28:40 +00:00
Giacomand
2e5d4c4fcc Merge branch 'master' of https://github.com/tgstation/-tg-station into virus_tweak
Resolved Conflicts:
	html/changelog.html
2013-11-27 15:58:42 +00:00
Giacomand
61a7049cd7 Viruses are less random and you can determine the level of symptom you would get. Virus food will generate low level symptoms, Mutagen will generate medium level symptoms and Liquid Plasma will generate high level symptoms.
Virologist starts with a small bottle of liquid plasma.
Filled in the gaps between the chem master with RGBA(255, 255, 255, 1) so you do not accidentally click on the floor anymore.
ChemMasters now has the green light overlay, which is only used by Pandemics but it looks better than red.
2013-11-26 19:33:39 +00:00
Robson Richards
890362a61a Commiting some soft Updates of commits I'm behind on and Committing the rest via git. 2013-11-17 18:02:43 +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
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
Incoming5643
f7af62d0ad Wait, no, NOW everything is wonderful, ignore that last commit. 2013-09-16 00:07:34 -04:00
Incoming5643
ff07c68577 Changes ismob to istype, everything is wonderful again 2013-09-15 23:58:34 -04:00
Incoming5643
a7676594e2 ismob is a shit and broke everything, fixing it 2013-09-15 22:17:32 -04:00
Incoming
b9586d621c Merge branch 'master' of https://github.com/tgstation/-tg-station into sliming
Conflicts:
	code/datums/diseases/robotic_transformation.dm
	code/datums/diseases/xeno_transformation.dm
	code/modules/reagents/Chemistry-Reagents.dm
2013-09-12 19:59:53 -04:00
Incoming
839591f6eb only to delete them again in a flurry of destruction! 2013-09-12 18:59:31 -04:00
Incoming
ff088cfb91 Restoring more up to date versions of robotic_transformation.dm and xeno_transformation.dm 2013-09-12 18:58:21 -04:00
Incoming
8191b7a793 Added a strategic ismob so that if for some reason new_mob is something that isn't a mob it doesn't runtime.
BADMIN'S NOTE: This means you can var edit a tranformation virus' new_form to change what an infectee will turn into pretty much anything. Turning into something that isn't a mob will ghostize the player obviously.
2013-09-12 11:13:06 -04:00
Incoming
1e68ae1a1b runtime fix: pick() from empty list 2013-09-11 23:14:42 -04:00
Incoming
222d359c66 Standardized transformation diseases 2013-09-11 22:49:09 -04:00
Incoming
eb79461e92 Black slime extract now inflicts a disease that turns the victim into a slime after a short while instead of immediately turning them through the chem itself. This gives people a chance to call out over radio about what happened if they were the victim of a drive-by sliming. Likewise it gives them a faint hope of reversing the process with the cure, frost oil (in the code frost oil is hilariously toxic to slimes). Source of frost oil are botany and (irony) xenobio. The disease is fast spreading, and infected are likely to only have 30 seconds to a minute to find frost oil, but it's highly effective once taken.
On the plus side for xenobiologists this allows for them to place black slime extract in things (medibots, food) without it becoming immediately apparent to victims what's been sabotaged.

This disease cannot be spread in any fashion besides black slime extract. (Because that would be so hideously broken if it was transmittable)

The flavor texts for the stages are an allusion to nethack, where the process of getting slimed is much the same (http://nethack.wikia.com/wiki/Sliming)

One other feature of note: mutant slime people retain the old black slime extract behavior, getting slimed almost immediately after exposure. This means that you can replicate pre-pull black extract by creating a mixture of equal parts black and green extract.
2013-09-10 19:12:18 -04:00
ACCount12
9c5b82efbf Update xeno_transformation.dm
xenomicrobes fixed
2013-09-04 20:21:09 -07:00
ACCount12
3b46cfd140 Update robotic_transformation.dm
roburgers fixed
2013-09-04 20:21:04 -07:00
Giacomand
31ce223ca3 * Quick typo fix for the beard symptom. 2013-08-09 18:45:22 +01:00
carnie
e7b586a095 Replaced organ helper procs with a single more versatile and strealined one. 2013-08-01 14:42:32 +01:00
carnie
02be173c60 Renamed variables:
b_type to blood_type
h_color to hair_color
f_color to facial_hair_color
f_style to facial_hair_style
h_style to hair_style
2013-08-01 13:48:41 +01:00
Giacomand
ff78d8a725 * Quickly changed some values and made the longevity use it's initial value. 2013-07-26 15:31:09 +01:00
Giacomand
08243a8cf5 * Made healing symptoms better and more useful. 2013-07-26 15:24:12 +01:00
Ikarrus
0a29301abc Symptom: Vitiligo
Extremely Noticable.
	Decreases resistance slightly.
	Reduces stage speed slightly.
	Reduces transmission.
	Critical Level.

BONUS
	Makes the mob lose skin pigmentation.
2013-06-15 16:48:20 -06:00
Giacomand
19af7689c0 * Fixes damage converter converting when there is only toxin damage in the mob.
* Increased the damage probability to be more effective.
2013-06-06 07:54:31 +01:00
carnie
043028db83 Resolves #283
DNA modification uses normally distributed random numbers. Radiation strength dictates the standard deviation of the change in the hex character which is hit (higher output means greater chance for a large change) . Similarly, radiation duration dictates how likely we are to hit the hex-character we clicked on (longer duration means more likely to hit). Irradiation is strength*duration. All balancing is done via multiplier defines so you can rebalance it easily.

DNA blocks and structuring all use defines. Making modification/expansion easier. I'll likely expand this into a datum-based system to allow more interesting features, reduce code further and allow admins to interact with the way dna strings behave.

DNA strings can be spliced together using merge_text().
 e.g. string 1: "Hello World"
 string 2: "Seeya______"
 result: "Seeya World"
 This isn't used except for admin-spawnable SE injectors at the moment.

r_hair, g_hair, b_hair, r_facial, g_facial, b_facial, r_eyes, g_eyes, b_eyes were removed and made into 3 short hex-colors.

Skin tones now support colours other than shades of brown. I've had to restrict it heavily until other stuff is done. Skin tones include Albino Caucasian, Oriental, Mediterranean, etc.

Data disks and DNA injectors were reworked to use associative lists so transferring data is just a matter of doing list.Copy()

var/dna is now defined at /mob/living/carbon level. Only monkeys and humans may have dna currently. Support is there for all carbon-based lifeforms to have dna.

DNA modifier console has almost all controls on one screen.

UIs and UEs can be injected separately (appearance and name, respectively)

dna helper procs like ready_dna() and such were changed to make them more versatile. There is now a hardset_dna() proc as an alternative to ready_dna which can initialize dna with properties passed into it or update an existing dna string (useful for cloning and antag spawning)

Every block of SEs are in randomised positions.

Disabled automatic logging of world.log, as it produced undesirable behaviour.

Mr Muggles and God Emperor of Mankind disks removed.

Floor() removed. (it was completely uneccesary, that is what round() is).

Fixed spelling mistakes in modularchangling.dm (thanks tenebrosity)

Tanning removed from beaches (again)

Experimental: monkeys and humans do not have dna until first attempt to read dna (using check_dna_integrity(mob))
This is mainly due to the way everything is hardcoded into New().

Changelog.html updated
Signed-off-by: carnie <elly1989@rocketmail.com>
2013-04-24 09:37:30 +01:00
giacomand@gmail.com
3443c31c6a - Made cryogenics cells stop cooling you down in life() if there is less than 10 moles of gas in the pipe's gas mixture. Fixes Issue 1367.
- Restructured viruses in the reagent container to be more maintainable. Should also fix some issues with vaccines.
 - Restructured some code in the PANDEMIC.
 - You can now mix vaccines together, it will combine the list of viruses it will vaccine against.
 - Fixed Carp stunning Cyborgs.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5817 316c924e-a436-60f5-8080-3fe189b3f50e
2013-03-06 21:18:15 +00:00
ericgfwong@hotmail.com
070b650b16 -New symptom that generates inaprovaline, effectively making oxygen unnecessary.
-Replaced some notice spans with a more appropriate danger span
-Reduced resistance of visionloss symptom and added a check to stop spamming you with "You are blinded!" notices
-Added a check to the reagent symptoms so you don't get ridiculously high volumes in your body if you wait long enough

-Added more coins around the station
-Moved message monitor decryption key to CE's office since the RD can't even access it any more (and is not relevent to his duties)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5766 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-23 04:23:26 +00:00
ericgfwong@hotmail.com
e5af38a856 Added three more symptoms: Choking, deafness, and visionloss. That should be all of them now.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5763 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-22 06:52:49 +00:00
ericgfwong@hotmail.com
5833ea8095 Fixing bugs with some new symptoms.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5762 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-22 06:13:34 +00:00
giacomand@gmail.com
78abe5bfda - The user wasn't being put into the arguments of the proc, which allows admins to create their own disesases. I put the argument back. Fixes Issue 1312
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5753 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-21 13:46:03 +00:00
ericgfwong@hotmail.com
9a51a66cb4 Added a couple more symptoms. Modified shedding a bit and renamed it to a more medical term.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5737 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-18 23:50:42 +00:00
ericgfwong@hotmail.com
3b2250f2c2 Committing tgstation.2.1.2:
The AI has been moved to Research Division, and Telecoms has been moved into the former AI chamber. Affected areas: Telecoms Satellite, Research Division South & Command Sector.

-Reduced tech levels of subspace equipment
-Removed CE's teleporter access (No longer needed to access tcomms)
-Reduced grey space suit slowdown
-Increased voidsuit slowdown
-Engineering and mining hardsuits hold different equipment now

-Updated Changelog

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5734 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-18 21:09:30 +00:00