Hyposprays Draw from Jugs (#25544)

* Hyposprays Draw from Jugs

* Fix last onlyMobs usage in yml

* Some Suggested Changes

* Remove unnecessary datafield name declarations

* Remove unnecessary dirtying of component

* Same line parentheses

* Added client-side HypospraySystem

* Cache UI values and only updates if values change

* empty line

* Update label

* Label change

* Reimplement ReactionMixerSystem

* Remove DataField from Hypospray Toggle Mode

* Change ToggleMode from enum to Bool OnlyAffectsMobs

* Add DataField required back since it's required for replays...?

* update EligibleEntity and uses of it

* Add user argument back

* Adds newline

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>

* Guard for dirty entity

* Adds summary tag

---------

Co-authored-by: Plykiya <plykiya@protonmail.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
Plykiya
2024-03-29 20:59:16 -07:00
committed by GitHub
parent 3fc02edd4e
commit f192d7901f
16 changed files with 369 additions and 299 deletions

View File

@@ -1,13 +1,21 @@
## UI
hypospray-volume-text = Volume: [color=white]{$currentVolume}/{$totalVolume}[/color]
hypospray-all-mode-text = Only Injects
hypospray-mobs-only-mode-text = Draws and Injects
hypospray-invalid-text = Invalid
hypospray-volume-label = Volume: [color=white]{$currentVolume}/{$totalVolume}u[/color]
Mode: [color=white]{$modeString}[/color]
## Entity
hypospray-component-inject-other-message = You inject {$other}.
hypospray-component-inject-self-message = You inject yourself.
hypospray-component-inject-self-clumsy-message = Oops! You injected yourself.
hypospray-component-empty-message = It's empty!
hypospray-component-empty-message = Nothing to inject.
hypospray-component-feel-prick-message = You feel a tiny prick!
hypospray-component-transfer-already-full-message = {$owner} is already full!
hypospray-cant-inject = Can't inject into {$target}!
hypospray-verb-mode-label = Toggle Container Draw
hypospray-verb-mode-inject-all = You cannot draw from containers anymore.
hypospray-verb-mode-inject-mobs-only = You can now draw from containers.

View File

@@ -18,7 +18,7 @@
- type: ExaminableSolution
solution: hypospray
- type: Hypospray
onlyMobs: false
onlyAffectsMobs: false
- type: UseDelay
delay: 0.5
- type: StaticPrice
@@ -49,7 +49,7 @@
- type: ExaminableSolution
solution: hypospray
- type: Hypospray
onlyMobs: false
onlyAffectsMobs: false
- type: UseDelay
delay: 0.5
@@ -73,6 +73,7 @@
- type: ExaminableSolution
solution: hypospray
- type: Hypospray
onlyAffectsMobs: false
- type: UseDelay
delay: 0.5
@@ -113,6 +114,7 @@
- type: Hypospray
solutionName: pen
transferAmount: 15
onlyAffectsMobs: false
- type: Appearance
- type: SolutionContainerVisuals
maxFillLevels: 1
@@ -202,6 +204,7 @@
- type: Hypospray
solutionName: pen
transferAmount: 20
onlyAffectsMobs: false
- type: SolutionContainerManager
solutions:
pen:
@@ -232,6 +235,7 @@
- type: Hypospray
solutionName: pen
transferAmount: 20
onlyAffectsMobs: false
- type: SolutionContainerManager
solutions:
pen:
@@ -262,6 +266,7 @@
- type: Hypospray
solutionName: pen
transferAmount: 20
onlyAffectsMobs: false
- type: SolutionContainerManager
solutions:
pen:
@@ -293,6 +298,7 @@
- type: Hypospray
solutionName: pen
transferAmount: 30
onlyAffectsMobs: false
- type: SolutionContainerManager
solutions:
pen:
@@ -330,6 +336,7 @@
- type: Hypospray
solutionName: pen
transferAmount: 30
onlyAffectsMobs: false
- type: StaticPrice
price: 500
- type: Tag
@@ -389,6 +396,7 @@
- type: Hypospray
solutionName: pen
transferAmount: 30
onlyAffectsMobs: false
- type: StaticPrice
price: 500
- type: Tag
@@ -410,7 +418,7 @@
- type: ExaminableSolution
solution: hypospray
- type: Hypospray
onlyMobs: false
onlyAffectsMobs: false
- type: UseDelay
delay: 0.5
- type: StaticPrice # A new shitcurity meta