Remove pillcomponent (#4469)
* Remove PillComponent * Make food without any solution left delete and create trash * Replace PillComponent references with a Pill tag * Clean up * Add swallow message to food * Change to eatMessage override * Change FoodComponent transferAmount to nullable * Change properties to private
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
## Entity
|
||||
|
||||
pill-component-cannot-eat-more-message = You can't eat any more!
|
||||
pill-component-swallow-success-message = You swallow the pill.
|
||||
@@ -9,6 +9,7 @@ food-you-need-to-hold-utensil = You need to be holding a {$utensil} to eat that!
|
||||
|
||||
food-you-cannot-eat-any-more = You can't eat any more!
|
||||
food-nom = Nom
|
||||
food-swallow = You swallow the {$food}.
|
||||
|
||||
## Entity
|
||||
|
||||
|
||||
@@ -236,9 +236,9 @@
|
||||
- Gauze
|
||||
- Ointment
|
||||
- CigPack
|
||||
- Pill
|
||||
components:
|
||||
- Hypospray
|
||||
- Pill
|
||||
- SurgeryTool
|
||||
- Radio
|
||||
- type: ItemCounter
|
||||
@@ -253,7 +253,7 @@
|
||||
- Hypospray
|
||||
pill:
|
||||
whitelist:
|
||||
components:
|
||||
tags:
|
||||
- Pill
|
||||
bottle_spray:
|
||||
whitelist:
|
||||
|
||||
@@ -187,7 +187,12 @@
|
||||
- type: Sprite
|
||||
sprite: Objects/Specific/Chemistry/pills.rsi
|
||||
state: pill
|
||||
- type: Pill
|
||||
- type: Tag
|
||||
tags:
|
||||
- Pill
|
||||
- type: Food
|
||||
transferAmount: null
|
||||
eatMessage: food-swallow
|
||||
- type: SolutionContainer
|
||||
maxVol: 50
|
||||
caps: None
|
||||
|
||||
@@ -142,6 +142,9 @@
|
||||
- type: Tag
|
||||
id: Ore
|
||||
|
||||
- type: Tag
|
||||
id: Pill
|
||||
|
||||
- type: Tag
|
||||
id: Pizza
|
||||
|
||||
|
||||
Reference in New Issue
Block a user