Port vomit from Nyano (#8349)

This commit is contained in:
Rane
2022-05-23 19:03:27 -04:00
committed by GitHub
parent 80a68b3867
commit b210df0d03
16 changed files with 249 additions and 7 deletions

View File

@@ -52,6 +52,8 @@
contents:
- id: SyringeSpaceacillin
amount: 1
- id: SyringeIpecac
amount: 1
- id: PillDylovene
amount: 3

View File

@@ -48,6 +48,51 @@
- !type:DiseaseReagentCure
reagent: SpaceCleaner
- type: disease
id: SpaceFlu
name: space flu
cureResist: 0.08
effects:
- !type:DiseaseVomit
probability: 0.01
- !type:DiseasePopUp
probability: 0.025
- !type:DiseaseSnough
probability: 0.025
snoughSound:
collection: Sneezes
- !type:DiseaseHealthChange
probability: 0.015
damage:
types:
Heat: 1
cures:
- !type:DiseaseBedrestCure
maxLength: 100
- type: disease
id: Bird Flew
name: bird flew
cureResist: 0.08
effects:
- !type:DiseaseVomit
probability: 0.015
- !type:DiseasePopUp
probability: 0.025
- !type:DiseaseSnough
probability: 0.025
snoughMessage: disease-cough
snoughSound:
collection: Coughs
- !type:DiseaseHealthChange
probability: 0.05
damage:
groups:
Caustic: 1
cures:
- !type:DiseaseBedrestCure
maxLength: 120
- type: disease
id: VanAusdallsRobovirus
name: Van Ausdall's Robovirus

View File

@@ -5,10 +5,12 @@
cureResist: 0.15
effects:
- !type:DiseaseHealthChange
probability: 0.35
probability: 0.3
damage:
types:
Cellular: 1
- !type:DiseaseVomit
probability: 0.01
- !type:DiseasePopUp
probability: 0.03
cures:

View File

@@ -118,10 +118,24 @@
- type: entity
name: vomit
id: PuddleVomit
parent: PuddleBase
id: PuddleVomit # No parent because we don't want the visualizer
description: Gross.
components:
- type: Transform
anchored: true
- type: Clickable
- type: Evaporation
- type: Physics
- type: Fixtures
fixtures:
- shape:
!type:PhysShapeAabb
bounds: "-0.4,-0.4,0.4,0.4"
mask:
- ItemMask
layer:
- SlipLayer
hard: false
- type: Sprite
sprite: Fluids/vomit.rsi
state: vomit-0
@@ -135,9 +149,6 @@
Quantity: 5
- ReagentId: Water
Quantity: 5
- type: Appearance
visuals:
- type: PuddleVisualizer
- type: Slippery
launchForwardsMultiplier: 2.0
- type: StepTrigger

View File

@@ -268,6 +268,19 @@
- ReagentId: Spaceacillin
Quantity: 15
- type: entity
name: ipecac syringe
parent: Syringe
id: SyringeIpecac
components:
- type: SolutionContainerManager
solutions:
injector:
maxVol: 15
reagents:
- ReagentId: Ipecac
Quantity: 15
#this is where all the syringes are so i didn't know where to put it
- type: entity
name: corpium syringe

View File

@@ -108,6 +108,12 @@
damage:
groups:
Caustic: 1
- !type:ChemVomit
probability: 0.04
conditions:
- !type:ReagentThreshold
reagent: Ethanol
min: 3
- type: reagent
id: Gin

View File

@@ -249,6 +249,19 @@
types:
Radiation: -1
- type: reagent
id: Ipecac
name: ipecac
group: Medicine
desc: Induces vomiting. Useful for stopping a poisoning that isn't done metabolizing.
physicalDesc: inky
color: "#422912"
metabolisms:
Medicine:
effects:
- !type:ChemVomit
probability: 0.3
- type: reagent
id: Inaprovaline
name: reagent-name-inaprovaline
@@ -366,6 +379,8 @@
types:
Cellular: -1
Radiation: 1
- !type:ChemVomit
probability: 0.05
- type: reagent
id: Romerol

View File

@@ -254,6 +254,13 @@
damage:
types:
Poison: 4
- !type:ChemVomit
probability: 0.025
conditions:
- !type:ReagentThreshold
min: 3
- !type:OrganType
type: Animal
- type: reagent
id: Amatoxin

View File

@@ -142,6 +142,16 @@
products:
Inaprovaline: 3
- type: reaction
id: Ipecac
reactants:
Dylovene:
amount: 1
Ammonia:
amount: 1
products:
Ipecac: 2
- type: reaction
id: TranexamicAcid
reactants: