Stomach YAML tweaks (short-term satiety) (#9326)
This commit is contained in:
@@ -24,7 +24,7 @@ namespace Content.Server.Body.Components
|
||||
/// Initial internal solution storage volume
|
||||
/// </summary>
|
||||
[DataField("maxVolume")]
|
||||
public FixedPoint2 InitialMaxVolume { get; private set; } = FixedPoint2.New(100);
|
||||
public FixedPoint2 InitialMaxVolume { get; private set; } = FixedPoint2.New(20);
|
||||
|
||||
/// <summary>
|
||||
/// Time in seconds between reagents being ingested and them being
|
||||
|
||||
@@ -290,7 +290,7 @@ namespace Content.Server.Chemistry.Components
|
||||
return;
|
||||
}
|
||||
|
||||
var actualVolume = FixedPoint2.Min(individualVolume, FixedPoint2.New(50));
|
||||
var actualVolume = FixedPoint2.Min(individualVolume, FixedPoint2.New(20));
|
||||
for (int i = 0; i < pillAmount; i++)
|
||||
{
|
||||
var pill = _entities.SpawnEntity("Pill", _entities.GetComponent<TransformComponent>(Owner).Coordinates);
|
||||
|
||||
@@ -22,7 +22,7 @@ chem-master-window-packaging-text = Packaging
|
||||
chem-master-current-text-label = Label:
|
||||
chem-master-window-pills-label = Pills:
|
||||
chem-master-window-pill-type-label = Pill type:
|
||||
chem-master-window-max-pills-volume-text = max 50u/each
|
||||
chem-master-window-max-pills-volume-text = max 20u/each
|
||||
chem-master-window-max-bottles-volume-text = max 30u/each
|
||||
chem-master-window-create-pill-button = Create
|
||||
chem-master-window-create-bottle-button = Create
|
||||
|
||||
@@ -147,8 +147,6 @@
|
||||
stomach:
|
||||
maxVol: 250
|
||||
- type: Stomach
|
||||
maxVolume: 250
|
||||
digestionDelay: 20
|
||||
# The stomach metabolizes stuff like foods and drinks.
|
||||
# TODO: Have it work off of the ent's solution container, and move this
|
||||
# to intestines instead.
|
||||
|
||||
@@ -6,3 +6,10 @@
|
||||
- type: Metabolizer
|
||||
metabolizerTypes: [ Rat ]
|
||||
|
||||
- type: entity
|
||||
id: OrganRatStomach
|
||||
parent: OrganAnimalStomach
|
||||
suffix: "rat"
|
||||
components:
|
||||
- type: Stomach
|
||||
maxVolume: 50 # they're hungry
|
||||
|
||||
@@ -13,8 +13,6 @@
|
||||
compatibility: Slime
|
||||
- type: Brain
|
||||
- type: Stomach
|
||||
maxVolume: 250
|
||||
digestionDelay: 20
|
||||
- type: Metabolizer
|
||||
maxReagents: 6
|
||||
metabolizerTypes: [ Slime ]
|
||||
|
||||
@@ -105,8 +105,7 @@
|
||||
stomach:
|
||||
maxVol: 100
|
||||
- type: Stomach
|
||||
maxVolume: 100
|
||||
digestionDelay: 20
|
||||
maxVolume: 10
|
||||
- type: Metabolizer
|
||||
maxReagents: 3
|
||||
metabolizerTypes: [Animal]
|
||||
|
||||
@@ -12,28 +12,9 @@
|
||||
compatibility: Biological
|
||||
mechanisms:
|
||||
- OrganRatLungs
|
||||
- OrganHumanStomach
|
||||
- OrganHumanLiver
|
||||
- OrganHumanHeart
|
||||
- OrganHumanKidneys
|
||||
- OrganRatStomach
|
||||
- OrganAnimalLiver
|
||||
- OrganAnimalHeart
|
||||
- OrganAnimalKidneys
|
||||
- type: Damageable
|
||||
damageContainer: Biological
|
||||
|
||||
- type: entity
|
||||
id: OrganRatLungs
|
||||
parent: BaseAnimalOrgan
|
||||
name: lungs
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: Mechanism
|
||||
size: 1
|
||||
compatibility: Biological
|
||||
- type: Lung
|
||||
- type: Metabolizer
|
||||
removeEmpty: true
|
||||
solutionOnBody: false
|
||||
solution: "Lung"
|
||||
metabolizerTypes: [ Rat ]
|
||||
groups:
|
||||
- id: Gas
|
||||
rateModifier: 100.0
|
||||
@@ -123,7 +123,7 @@
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
food:
|
||||
maxVol: 50
|
||||
maxVol: 20
|
||||
reagents:
|
||||
- ReagentId: Dexalin
|
||||
Quantity: 15
|
||||
@@ -136,7 +136,7 @@
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
food:
|
||||
maxVol: 50
|
||||
maxVol: 20
|
||||
reagents:
|
||||
- ReagentId: Dylovene
|
||||
Quantity: 15
|
||||
@@ -149,7 +149,7 @@
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
food:
|
||||
maxVol: 50
|
||||
maxVol: 20
|
||||
reagents:
|
||||
- ReagentId: Hyronalin
|
||||
Quantity: 15
|
||||
@@ -162,7 +162,7 @@
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
food:
|
||||
maxVol: 50
|
||||
maxVol: 20
|
||||
reagents:
|
||||
- ReagentId: Iron
|
||||
Quantity: 15
|
||||
@@ -175,7 +175,7 @@
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
food:
|
||||
maxVol: 50
|
||||
maxVol: 20
|
||||
reagents:
|
||||
- ReagentId: Kelotane
|
||||
Quantity: 15
|
||||
@@ -188,7 +188,7 @@
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
food:
|
||||
maxVol: 50
|
||||
maxVol: 20
|
||||
reagents:
|
||||
- ReagentId: SpaceDrugs
|
||||
Quantity: 15
|
||||
@@ -201,7 +201,7 @@
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
food:
|
||||
maxVol: 50
|
||||
maxVol: 20
|
||||
reagents:
|
||||
- ReagentId: Tricordrazine
|
||||
Quantity: 15
|
||||
@@ -214,7 +214,7 @@
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
food:
|
||||
maxVol: 50
|
||||
maxVol: 20
|
||||
reagents:
|
||||
- ReagentId: Romerol
|
||||
Quantity: 10
|
||||
|
||||
@@ -272,7 +272,7 @@
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
food:
|
||||
maxVol: 50
|
||||
maxVol: 20
|
||||
- type: SolutionSpiker
|
||||
sourceSolution: food
|
||||
- type: DeleteOnTrigger
|
||||
|
||||
Reference in New Issue
Block a user