Commit Graph

65 Commits

Author SHA1 Message Date
Jeremy Liberman f43ef06431 Virology - NanoUI, gameplay tweaks, bugfixes
Conflicts:
	.gitignore
	code/game/machinery/kitchen/smartfridge.dm
	code/game/machinery/machinery.dm
	code/modules/food/recipes_microwave.dm
	code/modules/reagents/Chemistry-Holder.dm
	code/modules/reagents/Chemistry-Reagents.dm
	code/modules/virus2/isolator.dm
	nano/js/nano_base_helpers.js
2014-04-19 15:42:49 -04:00
Chinsky e19190dd15 Splicing virus changes it's unique ID. 2014-03-14 02:16:34 -04:00
Chinsky e8b8c29946 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-14 02:13:56 -04:00
Chinsky 660a87baa7 Made it possible for virus to mutate and affect different species. 2014-03-14 02:13:22 -04:00
Chinsky 467cbdd5ba Fixed some runtimes with specieism, and blood transfer ignoring viruses' racial preferences. 2014-03-14 02:13:08 -04:00
Chinsky 26553e120e More random for random god.
Effects now start with random chance of firing and multiplier (like forced minormutate() on spawn).
2014-03-14 02:12:47 -04:00
Chinsky 7d5e21822a Buffed protections.
Full biosuits and spacesuits now protect more against airborne infections, and completely against touch-based ones (when worn with gloves).
2014-03-14 02:12:28 -04:00
Chinsky 5e6710757b Spaceacilline stronk.
Now it prevents new infections completely, and has a chance to cure virus on early stages (without giving antibodies though.)
2014-03-14 02:11:55 -04:00
Chinsky aee7d69412 Stopped braindamage effect from dealing 4 digit amounts of damage to brain organ.
Conflicts:
	code/modules/virus2/effect.dm
2014-03-14 02:11:25 -04:00
Chinsky b5f3e62bf9 Fixes single pane windows not blocking airborne viruses completely. 2014-03-14 02:10:05 -04:00
Chinsky a775e925be Added system for viruses to affect only certain species.
Currently it ignores synthetic species competely.

Conflicts:
	code/modules/virus2/disease2.dm
	code/modules/virus2/helpers.dm
2014-03-14 02:09:40 -04:00
Ccomp5950 1e5514e27e 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/__HELPERS/mobs.dm
	code/game/objects/items/weapons/implants/implanter.dm
	code/modules/mob/dead/observer/observer.dm
	code/modules/mob/living/carbon/human/human_damage.dm
	code/modules/mob/living/carbon/human/life.dm
	code/modules/mob/living/living.dm
	code/modules/mob/living/living_defines.dm
	code/modules/mob/living/silicon/silicon.dm
	code/modules/virus2/helpers.dm
	code/setup.dm
	icons/mob/hud.dmi
2014-03-10 08:07:29 -04:00
Ccomp5950 e7d4f4ad4b 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.

Conflicts:
	code/modules/mob/mob.dm
	code/modules/power/apc.dm
2014-03-08 17:03:29 -05:00
Chinsky 0b47e16828 Fix for #4542
Now synthetics do not contract viruses

Conflicts:
	code/modules/virus2/helpers.dm
2014-03-08 16:44:59 -05:00
ZomgPonies dc1a375c74 Virology tweaks 2014-03-02 01:19:26 -05:00
Rob Nelson b97a21ed94 Check for internals and accessibility on toxic farts.
Conflicts:
	code/modules/mob/living/carbon/human/emote.dm
2014-01-28 23:38:31 -05:00
Rob Nelson db21525feb SAY HELO TO DNA2, N3X15'S AWFUL FUCKING RECODE OF DNA
Conflicts:
	baystation12.dme
	code/game/gamemodes/setupgame.dm
	code/game/objects/items/weapons/dna_injector.dm
	code/modules/mob/living/carbon/human/human.dm
	code/modules/mob/living/carbon/human/human_defines.dm
	code/modules/mob/new_player/new_player.dm
2014-01-20 00:43:19 -05:00
alex-gh 8ae4ad268e 'Unidentified Foreign Body' Effect is no longer abtainable through virology, random events can still spawn it 2014-01-13 06:34:16 +01:00
alex-gh cc349de85c Suiciding syndrome actually kills you now 2014-01-13 06:26:38 +01:00
ZomgPonies 87c56b4b23 Vampire commit 2 2013-12-14 05:19:54 -05:00
ZomgPonies 912601a30d Vampire Gamemode! 2013-12-13 19:38:49 -05:00
ZomgPonies fd1c767a0a New disease effect 2013-11-24 03:09:42 -05:00
ZomgPonies 4bfad39ae3 Code Fixes 2013-11-04 19:47:34 -05:00
ZomgPonies 8a4ae68fc3 Update icon fixes 2013-11-03 04:07:45 -05:00
ZomgPonies 6f552d6eab Virus optimizations 2013-10-20 19:59:10 -04:00
ZomgPonies 355f52ea7d Medical sideffect runtime fixes 2013-10-14 01:28:29 -04:00
ZomgPonies 5daf979b72 Pretty much all new click code 2013-10-12 14:44:36 -04:00
ZomgPonies 771de60525 Optimizations and bugfixes galore 2013-10-08 10:32:47 -04:00
ZomgPonies 853d490660 Various fixes. 2013-09-27 02:41:41 -04:00
ZomgPonies 2ffdf37166 Overhaul of random events 2013-09-25 23:22:32 -04:00
ZomgPonies 900a3526bf poop syndrome in disease and disease2 2013-09-25 06:48:59 -04:00
ZomgPonies b0942938d9 Re-added UFB 2013-09-22 20:00:53 -04:00
ZomgPonies c1222034ee BS12 -> Ponies merge 2013-09-09 10:51:16 -04:00
Mloc-Argent a084f74c7d Expansion of every "icon = ''" path.
Supposed to help compilation times.  Who knows.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-09-01 21:53:36 +01:00
Mloc e20f2e1409 Small fixes to hair.
Hair styles that aren't designed to have color shifts will no longer be affected.
Balding virus symptom now only applies to humans.

Signed-off-by: Mloc <colmohici@gmail.com>
2013-08-22 15:12:59 +01:00
Mloc-Argent c188e46efc Removes alien virus.
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-08-20 21:54:37 +01:00
Erthilo 070cb50f8d PDAs can be used when buckled (and not in any other way restrained or stunned). Rejuvenate now completely heals a target or broken organs and viruses too. 2013-08-11 17:13:58 +01:00
Mloc-Argent dd303f9f82 Fixes for virology machinery.
Browser UI properly updates on click and on process()
Dishincubator now properly removes radiation (again)

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-08-06 11:59:50 +01:00
Segrain 0a4e4310fd Fix for #3432. 2013-08-06 01:32:34 +03:00
Segrain 440b37dcf4 Fix for #3430. 2013-08-05 03:06:31 +03:00
comma e0f7097c23 Makes engineered viruses airborne too, since otherwise they are nigh useless. 2013-07-09 14:16:58 +04:00
comma 1b9d6f67e2 Made mutation change virus ID. 2013-07-01 17:22:20 +04:00
Chinsky 8bd7d77916 Medical record viral DB now should list scanned virus2 stamms.
Fixed runtime in analyzer DB uploading.
Fixed derp in get_info() proc for viri
2013-06-28 23:57:16 +04:00
Chinsky 051edc2227 Started implementing of ViroDB.
-Analyzers now add info about viruses they scan to global list.
-Health analyzers will only find known viruses.
2013-06-28 15:43:58 +04:00
Chinsky a4325d69eb Fixes for runtimes and viruses staying in blood after curing. 2013-06-21 21:37:20 +04:00
Chinsky a3587dc81d Adds new virology machine - centrifuge.
Used for extracting virus samples or antibodies.
Accepts only vials.
2013-06-19 02:33:32 +04:00
Chinsky 960a22ee43 Changes way viruses are stored in mobs.
Now it's an associative list:
uniqueID - virus datum

Updated most instances to match it.
2013-06-19 02:28:53 +04:00
Chinsky 898da9b310 Moved function of infecting blood samples with viruses to incubator from the cure machine. 2013-06-16 11:31:42 +04:00
Chinsky 6f45ff68c7 Changes to effects:
fixed indentation in some cases.
added feedback message to disorientation effect.
changed mucus virus transfer to proper proc
2013-06-16 11:30:47 +04:00
Chinsky 5aa1170bd3 Changed isolator to be able to isolate any virus from sample. 2013-06-16 11:29:18 +04:00