Commit Graph

7479 Commits

Author SHA1 Message Date
Chinsky
ba360a2c13 Splicing virus changes it's unique ID. 2014-03-12 18:39:51 +04:00
yashaldie
55e43176b8 Merge pull request #3 from yashaldie/patch-2
Fixes Diona Nymph handling updates
2014-03-11 23:05:28 -04:00
Loganbacca
1f7a444ab1 Fixed plasma glass outputting slag
Fixes #4560

Code was missing continue statements.
2014-03-12 13:15:23 +13:00
yashaldie
bdd955b036 Fixes Diona Nymph handling updates
Diona Nymphs were not getting their Handling procs called.
2014-03-11 05:45:10 -04:00
Ccomp5950
b429605adc MedicHUD bugfix
Because the HUD stuff is now in Life() if someone dies their healthbar and status aren't updated.
We're fixing that here.
2014-03-11 02:51:13 -05:00
Ccomp5950
ebc188c600 Code effeciency project: HUD items rewrite
Before: Every tick each HUD item would recalculate and redo images for every mob in view. For items like the secHUD where we're transversing implants and the various records this gets very expensive.

After: Mobs use their hud_list variable to store varius huditem images, when conditions change for those specific huditem images it updates the specific ones on demand. As a backup every 30 ticks or so the mob will update all of their hud_list.

Also: moved proc/RoundHealth() from 2 seperate locations into __HELPERS/mobs.dm

Conflicts:
	code/modules/mob/living/living.dm
2014-03-10 21:59:58 -05:00
DJSnapshot
044766ef11 quick fix for APCs related to IPC charging. 2014-03-10 15:52:01 -07:00
Chinsky
aa65639dad Merge branch 'dev' into virus-racism 2014-03-10 19:07:28 +04:00
Chinsky
0e08c90571 Merge branch 'dev-freeze' into dev
Conflicts:
	maps/tgstation2.dmm
2014-03-10 19:05:24 +04:00
Chinsky
13b9747504 Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into dev 2014-03-10 18:48:12 +04:00
Chinsky
16dd8bfcd2 Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into virus-racism
Conflicts:
	code/modules/virus2/helpers.dm
2014-03-10 18:43:34 +04:00
Chinsky
ec9b53bcad Lowered chance of exhale spreading viruses, as it was firing way too often. 2014-03-10 17:35:50 +04:00
Chinsky
d04b22e950 Changed sneezing to spread viruses like cough, but only in front of the mob.
It gives a warning sometimes, so guy has 7 ticks to face elsewhere.
2014-03-10 17:12:50 +04:00
Chinsky
fa274ab1a7 Fixed blood injections not transmitting viruses properly.
Keep forgetting that list is associative.
2014-03-10 16:16:14 +04:00
Chinsky
cd5715650b Merge pull request #4553 from Ccomp5950/hud_rewrite
Code effeciency project: HUD items rewrite.
2014-03-10 15:54:41 +04:00
Chinsky
0d06f80c84 Merge pull request #4545 from Ccomp5950/apc_rewrite
Effeciency Project: APC / Machinery power usage.
2014-03-10 15:53:29 +04:00
Chinsky
3bd98fec1b Made it possible for virus to mutate and affect different species. 2014-03-10 00:26:37 +04:00
Chinsky
12a97e01eb Fixed some runtimes with specieism, and blood transfer ignoring viruses' racial preferences. 2014-03-10 00:06:22 +04:00
Chinsky
9cad9af0aa More random for random god.
Effects now start with random chance of firing and multiplier (like forced minormutate() on spawn).
2014-03-09 23:07:22 +04:00
Chinsky
0cb8a3377c Buffed protections.
Full biosuits and spacesuits now protect more against airborne infections, and completely against touch-based ones (when worn with gloves).
2014-03-09 22:57:09 +04:00
Chinsky
4177323dca Spaceacilline stronk.
Now it prevents new infections completely, and has a chance to cure virus on early stages (without giving antibodies though.)
2014-03-09 22:43:42 +04:00
Chinsky
a29e52b10c Stopped braindamage effect from dealing 4 digit amounts of damage to brain organ. 2014-03-09 22:32:17 +04:00
Chinsky
16ab0c9885 Fixes single pane windows not blocking airborne viruses completely. 2014-03-09 22:07:07 +04:00
Ccomp5950
084c0754ad Code effeciency project: HUD items rewrite
Before: Every tick each HUD item would recalculate and redo images for every mob in view. For items like the secHUD where we're transversing implants and the various records this gets very expensive.

After: Mobs use their hud_list variable to store varius huditem images, when conditions change for those specific huditem images it updates the specific ones on demand. As a backup every 30 ticks or so the mob will update all of their hud_list.

Also: moved proc/RoundHealth() from 2 seperate locations into __HELPERS/mobs.dm
2014-03-09 10:25:36 -05:00
Ccomp5950
63e0c5b980 Merge pull request #4539 from yashaldie/master
Fix for slime surgery runtime & o2 lockers bug
2014-03-09 01:39:30 -06:00
Ccomp5950
541c3ece76 Bugfix: All APC's will have maxcharge of 5,000
and not be at the whim of lag / how quickly it generates it's cell.
2014-03-08 05:45:22 -06:00
Ccomp5950
fb04a88774 Removed my debug lines. 2014-03-08 03:55:22 -06:00
Ccomp5950
bb9a66cc3a Effeciency Project: APC / Machinery power usage.
We no longer run auto_use_power() on every machine every tick.
We now have a global list of areas, and areas that have an APC in them (all_areas and active_areas) no more looping through world bullshit.
A bunch of snowflakey as fuck machines won't use_power() in their process, you get two options, active and idle, use them!
This means a lot of machines won't double dip on power as well so power usage for the station has dropped about 20%

Because everything is snowflakey as fuck we're going to have some machines that don't force an update on their power usage.  Fuck them.
We should catch them with the root obj/machine/proc's forcing updates.
2014-03-08 03:42:44 -06:00
Chinsky
c58314bae3 Merge branch 'dev' into virus-racism
Conflicts:
	code/modules/virus2/helpers.dm
2014-03-08 12:04:17 +04:00
Chinsky
52ad2bc4fb Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into dev 2014-03-08 12:03:27 +04:00
Chinsky
cca2c997df Merge branch 'master' into dev 2014-03-08 12:02:32 +04:00
Ccomp5950
e0e1bd9cfb APC Area update initial commit. 2014-03-07 23:42:28 -06:00
Chinsky
4dba89a288 Fix for #4542
Now synthetics do not contract viruses
2014-03-08 03:38:30 +04:00
Chinsky
c906fbf7dd Added system for viruses to affect only certain species.
Currently it ignores synthetic species competely.
2014-03-08 03:32:10 +04:00
Joey Haas
38d43fa971 Medbay, Xenobiology and Virology now have secure smartfridges. 2014-03-07 21:39:06 +01:00
Joey Haas
78e4f7e126 We now have secure smartfridges. More changes:
Changed xeno smartfridge to a secure smartfridge.
Added a chemistry/medical smartfridge for easy chemical storage.
Smartfridge usage now leaves fingerprints.
Secure smartfriges are emagable, by the way!
2014-03-07 21:32:13 +01:00
Chinsky
3554a7be4f Merge pull request #4535 from Mloc/bs12-'
Fix for apostrophes in IRC nudge.
2014-03-07 17:32:26 +04:00
yashaldie
421b1ea6ef Fixes for slime surgery runtime
don't know why the slime is coming though even though the target is supposed to be human...
2014-03-07 04:56:49 -05:00
yashaldie
69dfb92719 Fixes for slime surgery runtime
don't know why this works but it does and doesn't break other surgeries from what i can tell
2014-03-07 04:55:23 -05:00
RavingManiac
b969e680b2 Ingested acid and mutagen will now react after the ten second delay. 2014-03-06 20:20:15 +08:00
RavingManiac
f022a19452 Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into dev
Conflicts:
	maps/tgstation2.dmm
2014-03-06 19:22:06 +08:00
Mloc-Argent
63a27890fe Fix for apostrophes in IRC nudge.
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2014-03-06 09:36:58 +00:00
Mloc
08ba326878 Merge pull request #4532 from Ccomp5950/apc_breaker
APC overlay bugfix.
2014-03-06 09:09:48 +00:00
Mloc
16b1626b57 Merge pull request #4525 from Ccomp5950/pda_nano
PDA NanoUI Optimizations.
2014-03-06 09:09:05 +00:00
Ccomp5950
a379be8a55 Merge pull request #4533 from DJSnapshot/hotfix
Non-whitelisted IPCS. The real fix this time.
2014-03-06 02:22:41 -06:00
DJSnapshot
89114787e3 Non-whitelisted IPCS
Had to do a hacky fix. there was no real way around it.
Also, a couple balances with IPCs
And a totally silly death animation (Which has been commented out for now)
2014-03-05 23:44:03 -08:00
RavingManiac
3b2d3eba05 trans_to_ingest now used for consumption of food, drink and pills instead of trans_to. This adds a ten second delay between ingestion and addition of the reagents to the body. 2014-03-05 23:41:42 +08:00
Ccomp5950
e8d04262a5 Merge pull request #4524 from Ravensdale/PROTECITON
Define spelling correction
2014-03-04 23:11:43 -06:00
Ccomp5950
74a8fa152c APC overlay bugfix.
Before: If you turned off the breaker and fiddled with on/off states and turned on the breaker it wouldn't update the overlay because the check_updates wasn't doing an if(operating) check and would think it didn't need to update the overlays once you turned on the breaker.

After: Check_update() is doing a check for the breaker being on or off and taking that into account with the update_overlay flags and will update the overlays properly.

Thanks Razharas from /tg/ #coderbus for bringing this to my attention.
2014-03-04 20:57:40 -06:00
Ccomp5950
c066232ab3 Merge branch 'master' of github.com:Baystation12/Baystation12 into dev 2014-03-04 18:29:03 -06:00