Skip to content

Commit

Permalink
Extractable items for Ghetto Chemistry (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
DjfjdfofdjfjD authored Aug 1, 2023
1 parent 31fd0b9 commit da07d2c
Show file tree
Hide file tree
Showing 8 changed files with 80 additions and 3 deletions.
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
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
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
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

0 comments on commit da07d2c

Please sign in to comment.