@@ -24,7 +24,7 @@ namespace Content.Server.Body.Components
|
|||||||
/// Initial internal solution storage volume
|
/// Initial internal solution storage volume
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataField("maxVolume")]
|
[DataField("maxVolume")]
|
||||||
public FixedPoint2 InitialMaxVolume { get; private set; } = FixedPoint2.New(20);
|
public FixedPoint2 InitialMaxVolume { get; private set; } = FixedPoint2.New(50);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Time in seconds between reagents being ingested and them being
|
/// Time in seconds between reagents being ingested and them being
|
||||||
|
|||||||
@@ -290,7 +290,7 @@ namespace Content.Server.Chemistry.Components
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var actualVolume = FixedPoint2.Min(individualVolume, FixedPoint2.New(20));
|
var actualVolume = FixedPoint2.Min(individualVolume, FixedPoint2.New(25));
|
||||||
for (int i = 0; i < pillAmount; i++)
|
for (int i = 0; i < pillAmount; i++)
|
||||||
{
|
{
|
||||||
var pill = _entities.SpawnEntity("Pill", _entities.GetComponent<TransformComponent>(Owner).Coordinates);
|
var pill = _entities.SpawnEntity("Pill", _entities.GetComponent<TransformComponent>(Owner).Coordinates);
|
||||||
|
|||||||
@@ -314,11 +314,22 @@ namespace Content.Server.Nutrition.EntitySystems
|
|||||||
|
|
||||||
// All stomach are full or can't handle whatever solution we have.
|
// All stomach are full or can't handle whatever solution we have.
|
||||||
if (firstStomach == null)
|
if (firstStomach == null)
|
||||||
|
{
|
||||||
|
_solutionContainerSystem.TryAddSolution(args.Drink.Owner, args.DrinkSolution, drained);
|
||||||
|
_popupSystem.PopupEntity(Loc.GetString("drink-component-try-use-drink-had-enough"),
|
||||||
|
uid, Filter.Entities(uid));
|
||||||
|
|
||||||
|
if (forceDrink)
|
||||||
{
|
{
|
||||||
_popupSystem.PopupEntity(Loc.GetString("drink-component-try-use-drink-had-enough-other"),
|
_popupSystem.PopupEntity(Loc.GetString("drink-component-try-use-drink-had-enough-other"),
|
||||||
uid, Filter.Entities(args.User));
|
uid, Filter.Entities(args.User));
|
||||||
|
|
||||||
_spillableSystem.SpillAt(uid, drained, "PuddleSmear");
|
_spillableSystem.SpillAt(uid, drained, "PuddleSmear");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_solutionContainerSystem.TryAddSolution(args.Drink.Owner, args.DrinkSolution, drained);
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ chem-master-window-packaging-text = Packaging
|
|||||||
chem-master-current-text-label = Label:
|
chem-master-current-text-label = Label:
|
||||||
chem-master-window-pills-label = Pills:
|
chem-master-window-pills-label = Pills:
|
||||||
chem-master-window-pill-type-label = Pill type:
|
chem-master-window-pill-type-label = Pill type:
|
||||||
chem-master-window-max-pills-volume-text = max 20u/each
|
chem-master-window-max-pills-volume-text = max 25u/each
|
||||||
chem-master-window-max-bottles-volume-text = max 30u/each
|
chem-master-window-max-bottles-volume-text = max 30u/each
|
||||||
chem-master-window-create-pill-button = Create
|
chem-master-window-create-pill-button = Create
|
||||||
chem-master-window-create-bottle-button = Create
|
chem-master-window-create-bottle-button = Create
|
||||||
|
|||||||
7
Resources/Prototypes/Body/Mechanisms/reptilian.yml
Normal file
7
Resources/Prototypes/Body/Mechanisms/reptilian.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
- type: entity
|
||||||
|
id: OrganReptilianStomach
|
||||||
|
parent: OrganAnimalStomach
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Stomach
|
||||||
|
maxVolume: 50
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
mechanisms:
|
mechanisms:
|
||||||
- OrganAnimalHeart
|
- OrganAnimalHeart
|
||||||
- OrganHumanLungs
|
- OrganHumanLungs
|
||||||
- OrganAnimalStomach
|
- OrganReptilianStomach
|
||||||
- OrganAnimalLiver
|
- OrganAnimalLiver
|
||||||
- OrganHumanKidneys
|
- OrganHumanKidneys
|
||||||
# criticalThreshold: 100
|
# criticalThreshold: 100
|
||||||
|
|||||||
@@ -123,7 +123,7 @@
|
|||||||
- type: SolutionContainerManager
|
- type: SolutionContainerManager
|
||||||
solutions:
|
solutions:
|
||||||
food:
|
food:
|
||||||
maxVol: 20
|
maxVol: 25
|
||||||
reagents:
|
reagents:
|
||||||
- ReagentId: Dexalin
|
- ReagentId: Dexalin
|
||||||
Quantity: 15
|
Quantity: 15
|
||||||
@@ -136,7 +136,7 @@
|
|||||||
- type: SolutionContainerManager
|
- type: SolutionContainerManager
|
||||||
solutions:
|
solutions:
|
||||||
food:
|
food:
|
||||||
maxVol: 20
|
maxVol: 25
|
||||||
reagents:
|
reagents:
|
||||||
- ReagentId: Dylovene
|
- ReagentId: Dylovene
|
||||||
Quantity: 15
|
Quantity: 15
|
||||||
@@ -149,7 +149,7 @@
|
|||||||
- type: SolutionContainerManager
|
- type: SolutionContainerManager
|
||||||
solutions:
|
solutions:
|
||||||
food:
|
food:
|
||||||
maxVol: 20
|
maxVol: 25
|
||||||
reagents:
|
reagents:
|
||||||
- ReagentId: Hyronalin
|
- ReagentId: Hyronalin
|
||||||
Quantity: 15
|
Quantity: 15
|
||||||
@@ -162,7 +162,7 @@
|
|||||||
- type: SolutionContainerManager
|
- type: SolutionContainerManager
|
||||||
solutions:
|
solutions:
|
||||||
food:
|
food:
|
||||||
maxVol: 20
|
maxVol: 25
|
||||||
reagents:
|
reagents:
|
||||||
- ReagentId: Iron
|
- ReagentId: Iron
|
||||||
Quantity: 15
|
Quantity: 15
|
||||||
@@ -175,7 +175,7 @@
|
|||||||
- type: SolutionContainerManager
|
- type: SolutionContainerManager
|
||||||
solutions:
|
solutions:
|
||||||
food:
|
food:
|
||||||
maxVol: 20
|
maxVol: 25
|
||||||
reagents:
|
reagents:
|
||||||
- ReagentId: Kelotane
|
- ReagentId: Kelotane
|
||||||
Quantity: 15
|
Quantity: 15
|
||||||
@@ -188,7 +188,7 @@
|
|||||||
- type: SolutionContainerManager
|
- type: SolutionContainerManager
|
||||||
solutions:
|
solutions:
|
||||||
food:
|
food:
|
||||||
maxVol: 20
|
maxVol: 25
|
||||||
reagents:
|
reagents:
|
||||||
- ReagentId: SpaceDrugs
|
- ReagentId: SpaceDrugs
|
||||||
Quantity: 15
|
Quantity: 15
|
||||||
@@ -201,7 +201,7 @@
|
|||||||
- type: SolutionContainerManager
|
- type: SolutionContainerManager
|
||||||
solutions:
|
solutions:
|
||||||
food:
|
food:
|
||||||
maxVol: 20
|
maxVol: 25
|
||||||
reagents:
|
reagents:
|
||||||
- ReagentId: Tricordrazine
|
- ReagentId: Tricordrazine
|
||||||
Quantity: 15
|
Quantity: 15
|
||||||
@@ -214,7 +214,7 @@
|
|||||||
- type: SolutionContainerManager
|
- type: SolutionContainerManager
|
||||||
solutions:
|
solutions:
|
||||||
food:
|
food:
|
||||||
maxVol: 20
|
maxVol: 25
|
||||||
reagents:
|
reagents:
|
||||||
- ReagentId: Romerol
|
- ReagentId: Romerol
|
||||||
Quantity: 10
|
Quantity: 10
|
||||||
|
|||||||
@@ -272,7 +272,7 @@
|
|||||||
- type: SolutionContainerManager
|
- type: SolutionContainerManager
|
||||||
solutions:
|
solutions:
|
||||||
food:
|
food:
|
||||||
maxVol: 20
|
maxVol: 25
|
||||||
- type: SolutionSpiker
|
- type: SolutionSpiker
|
||||||
sourceSolution: food
|
sourceSolution: food
|
||||||
- type: DeleteOnTrigger
|
- type: DeleteOnTrigger
|
||||||
|
|||||||
Reference in New Issue
Block a user