Show remaining liquid in a drink when you examine it (#8721)

* Show drink volume on examine

* Approximate measurement unless a beaker

* Changed percentage threshold and added subjectivity

* Update default switch case since it can never be 0 here

* Remove int cast from PercentFull method
This commit is contained in:
themias
2022-06-21 22:02:24 -04:00
committed by GitHub
parent af41a84410
commit d76ff66d3d
3 changed files with 55 additions and 0 deletions

View File

@@ -2,6 +2,12 @@ drink-component-on-use-is-empty = {$owner} is empty!
drink-component-on-examine-is-empty = Empty
drink-component-on-examine-is-opened = Opened
drink-component-on-examine-details-text = [color={$colorName}]{$text}[/color]
drink-component-on-examine-is-full = Full
drink-component-on-examine-is-mostly-full = Mostly Full
drink-component-on-examine-is-half-full = Halfway Full
drink-component-on-examine-is-half-empty = Halfway Empty
drink-component-on-examine-is-mostly-empty = Mostly Empty
drink-component-on-examine-exact-volume = {$amount}u Full
drink-component-try-use-drink-not-open = Open {$owner} first!
drink-component-try-use-drink-is-empty = {$entity} is empty!
drink-component-try-use-drink-cannot-drink = You can't drink anything!