]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Better DNA forensics & ReagentData (#26699)
authorSlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>
Thu, 8 Aug 2024 23:27:27 +0000 (01:27 +0200)
committerGitHub <noreply@github.com>
Thu, 8 Aug 2024 23:27:27 +0000 (09:27 +1000)
commit07174d0aaf2832bc6ecc3a6baba21bc0aa5e0556
treed806c87d1ea3a6385ddb477e080a47a6e2d7712c
parentc43fcdfa06cc44d3c61b6a930de2e4f2ca7d0a7e
Better DNA forensics & ReagentData (#26699)

* Added the ability for blood to track DNA using ReagentData; Forensic Scanner now accounts for solution DNA, non-DNA holders have "Unknown DNA"

* Removes touch DNA for puddles, adds DNA to vomit

* DNA now leaves traces in containers and those marked without don't show DNA on scan (except for puddles), gibbed parts have DNA

* Fix stupid metamorphic glass bug grrr

* Removed SpillableComponent since DnaSubstanceTraceComponent is used instead

* Removes data field from maps, adds DNA tracking for some missed items

* Give default value, fix missing values.

* Fixes recipe bug

* Review changes

* Make the Data list into a nullable type

* Revert map changes

* Move gibbed unknown DNA to forensicssystem
45 files changed:
Content.Client/Forensics/ForensicScannerMenu.xaml.cs
Content.Server/Body/Systems/BloodstreamSystem.cs
Content.Server/Chemistry/EntitySystems/VaporSystem.cs
Content.Server/Chemistry/TileReactions/CleanDecalsReaction.cs
Content.Server/Chemistry/TileReactions/CleanTileReaction.cs
Content.Server/Chemistry/TileReactions/CreateEntityTileReaction.cs
Content.Server/Chemistry/TileReactions/ExtinguishTileReaction.cs
Content.Server/Chemistry/TileReactions/FlammableTileReaction.cs
Content.Server/Chemistry/TileReactions/PryTileReaction.cs
Content.Server/Chemistry/TileReactions/SpillIfPuddlePresentTileReaction.cs
Content.Server/Chemistry/TileReactions/SpillTileReaction.cs
Content.Server/Fluids/EntitySystems/PuddleSystem.cs
Content.Server/Fluids/EntitySystems/SmokeSystem.cs
Content.Server/Forensics/Components/DnaSubstanceTraceComponent.cs [new file with mode: 0644]
Content.Server/Forensics/Components/ForensicScannerComponent.cs
Content.Server/Forensics/Systems/ForensicScannerSystem.cs
Content.Server/Forensics/Systems/ForensicsSystem.cs
Content.Server/Implants/SubdermalImplantSystem.cs
Content.Server/Medical/VomitSystem.cs
Content.Shared/Chemistry/Components/Solution.cs
Content.Shared/Chemistry/EntitySystems/SharedSolutionContainerSystem.cs
Content.Shared/Chemistry/Reaction/ITileReaction.cs
Content.Shared/Chemistry/Reagent/DNAData.cs [new file with mode: 0644]
Content.Shared/Chemistry/Reagent/ReagentId.cs
Content.Shared/Chemistry/Reagent/ReagentPrototype.cs
Content.Shared/Chemistry/Reagent/ReagentQuantity.cs
Content.Shared/Forensics/Events.cs
Content.Shared/Forensics/ForensicScannerEvent.cs
Resources/Locale/en-US/forensics/forensics.ftl
Resources/Prototypes/Entities/Effects/puddle.yml
Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks-cartons.yml
Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks.yml
Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_bottles.yml
Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_cans.yml
Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_cups.yml
Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_special.yml
Resources/Prototypes/Entities/Objects/Consumable/Drinks/trash_drinks.yml
Resources/Prototypes/Entities/Objects/Specific/Janitorial/janitor.yml
Resources/Prototypes/Entities/Objects/Specific/chemical-containers.yml
Resources/Prototypes/Entities/Objects/Specific/chemistry-bottles.yml
Resources/Prototypes/Entities/Objects/Specific/chemistry-vials.yml
Resources/Prototypes/Entities/Objects/Specific/chemistry.yml
Resources/Prototypes/Entities/Objects/Tools/bucket.yml
Resources/Prototypes/Entities/Structures/Specific/Janitor/janicart.yml
Resources/Prototypes/tags.yml