Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extractable items for Ghetto Chemistry #209

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@
Quantity: 4
- ReagentId: Vitamin
Quantity: 2
- ReagentId: Potassium
Quantity: 3
- type: Sprite
sprite: Objects/Specific/Hydroponics/banana.rsi
- type: Produce
Expand Down
27 changes: 26 additions & 1 deletion Resources/Prototypes/Entities/Objects/Consumable/Food/snacks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,17 @@
- type: Sprite
state: energybar-open
- type: Item
- type: SolutionContainerManager
solutions:
food:
maxVol: 30
reagents:
- ReagentId: Sugar
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5 Сахара заменяет 10 унаследованных Нутриентов. Да и не только сахар в батончике. Сахар сейчас не утоляет голод, так что добавляй ещё 10 нутриентов. К тому же ты убрал максимальный объём, что у парента в 30. Так что чини.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5 Сахара заменяет 10 унаследованных Нутриентов. Да и не только сахар в батончике. Сахар сейчас не утоляет голод, так что добавляй ещё 10 нутриентов. К тому же ты убрал максимальный объём, что у парента в 30. Так что чини.

поправлю это

Quantity: 5
- ReagentId: Nutriment
Quantity: 10
- type: Extractable
grinableSolutionName: food

- type: entity
name: popcorn
Expand Down Expand Up @@ -206,6 +217,17 @@
state: syndicakes
- type: Item
- type: Food
- type: SolutionContainerManager
solutions:
food:
maxVol: 30
reagents:
- ReagentId: Sugar
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут тоже самое

Quantity: 5
- ReagentId: Nutriment
Quantity: 10
- type: Extractable
grinableSolutionName: food
trash: FoodPacketSyndiTrash

- type: entity
Expand Down Expand Up @@ -276,10 +298,13 @@
- type: SolutionContainerManager
solutions:
food:
maxVol: 1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Верни ограничение ёмкости.

reagents:
- ReagentId: Nutriment
Quantity: 1
- ReagentId: Sugar
Quantity: 3
- type: Extractable
grinableSolutionName: food
- type: Item
sprite: Objects/Consumable/Food/snacks.rsi
heldPrefix: packet
Expand Down
8 changes: 8 additions & 0 deletions Resources/Prototypes/Entities/Objects/Misc/paper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,14 @@
- type: PhysicalComposition
materialComposition:
Steel: 25
- type: SolutionContainerManager
solutions:
pen:
reagents:
- ReagentId: Iodine
Quantity: 5
- type: Extractable
grinableSolutionName: pen

- type: entity
name: Cybersun pen
Expand Down
8 changes: 8 additions & 0 deletions Resources/Prototypes/Entities/Objects/Power/lights.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@
materialComposition:
Glass: 25
- type: SpaceGarbage
- type: SolutionContainerManager
solutions:
glowstick:
reagents:
- ReagentId: Nitrogen
Quantity: 15
- type: Extractable
grindableSolutionName: glowstick

- type: entity
parent: BaseLightbulb
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/Entities/Objects/Power/powercells.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
- type: Extractable
juiceSolution:
reagents:
- ReagentId: Zinc
Quantity: 5
- ReagentId: Lithium
Quantity: 15
- type: Tag
tags:
- DroneUsable
Expand Down
8 changes: 8 additions & 0 deletions Resources/Prototypes/Entities/Objects/Specific/atmos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,11 @@
materialComposition:
Steel: 400
Glass: 100
- type: SolutionContainerManager
solutions:
gasanalyser:
reagents:
- ReagentId: Mercury
Quantity: 15
- type: Extractable
grindableSolutionName: gasanalyser
10 changes: 10 additions & 0 deletions Resources/Prototypes/Entities/Objects/Tools/glowstick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@
startValue: 5.0
endValue: 1.5
property: Radius
- type: SolutionContainerManager
solutions:
glowstick:
reagents:
- ReagentId: Oxygen
Quantity: 10
- ReagentId: Hydrogen
Quantity: 10
- type: Extractable
grindableSolutionName: glowstick

- type: entity
name: red glowstick
Expand Down
16 changes: 16 additions & 0 deletions Resources/Prototypes/Entities/Objects/Tools/matches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@
unlitIcon: match_unlit
litIcon: match_lit
burntIcon: match_burnt
- type: SolutionContainerManager
solutions:
match:
reagents:
- ReagentId: Phosphorus
Quantity: 2
- type: Extractable
grinableSolutionName: match

- type: entity
parent: Matchstick
Expand All @@ -51,6 +59,14 @@
- state: match_burnt
- type: Matchstick
state: Burnt
- type: SolutionContainerManager
solutions:
match:
reagents:
- ReagentId: Carbon
Quantity: 5
- type: Extractable
grinableSolutionName: match

- type: entity
name: match box
Expand Down
Loading