Skip to content

Commit

Permalink
Добавление двух карамельных трости для готовки (SerbiaStrong-220#2349)
Browse files Browse the repository at this point in the history
* food

* Konfetka gotova

* time to eat

* translation
  • Loading branch information
Burenov authored Dec 17, 2024
1 parent 7f3130e commit ab18116
Show file tree
Hide file tree
Showing 11 changed files with 252 additions and 1 deletion.
17 changes: 17 additions & 0 deletions Resources/Locale/ru-RU/ss220/ingridients/caramel.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ent-CaramelFood = карамелька
.desc = Ммм... вкусно!
ent-CaramelBasedFood = заготовка карамельной трости
.desc = Всё будет, но не сразу
ent-RedCaramelCaneFood = красная карамельная трость
.desc = Точно не выдержит ваш вес
ent-GreenCaramelCaneFood = зелёная карамельная трость
.desc = Даже не пытайте опереться на неё
ent-CaramelCaneGreenRedFood = красно-зелёная карамельная трость
.desc = Трость, украшенная цветными полосками и узорами.
ent-DoubleCaramelCaneFood = двойная карамельная трость
.desc = Устройте дуель!
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
- type: entity
name: caramel
parent: FoodBakingBase
id: CaramelFood
description: Mmm... yummy!
components:
- type: Sprite
sprite: SS220/Objects/Consumable/Food/caramel.rsi/
state: caramel
- type: Construction
graph: CandyBased
node: start
defaultTarget: caramel
- type: SolutionContainerManager
solutions:
food:
maxVol: 5
reagents:
- ReagentId: Nutriment
Quantity: 4
- ReagentId: Vitamin
Quantity: 1

- type: entity
name: preparation of a caramel cane
parent: FoodBakingBase
id: CaramelBasedFood
description: Everything will happen, but not immediately
components:
- type: Sprite
sprite: SS220/Objects/Consumable/Food/caramel.rsi/
state: caramel-base
- type: Construction
graph: CandyBased
node: caramel
- type: SolutionContainerManager

- type: entity
name: red caramel cane
parent: FoodBakingBase
id: RedCaramelCaneFood
description: It definitely won't hold your weight
components:
- type: Sprite
sprite: SS220/Objects/Consumable/Food/caramel.rsi/
state: caramel-red
- type: SolutionContainerManager
solutions:
food:
maxVol: 10
reagents:
- ReagentId: Nutriment
Quantity: 8
- ReagentId: Vitamin
Quantity: 2
- type: MeleeWeapon
wideAnimationRotation: 0
damage:
types:
Piercing: 1
angle: 0
animation: WeaponArcThrust
soundHit:
path: /Audio/Weapons/bladeslice.ogg

- type: entity
name: green caramel cane
parent: FoodBakingBase
id: GreenCaramelCaneFood
description: Don't even try to lean on it
components:
- type: Sprite
sprite: SS220/Objects/Consumable/Food/caramel.rsi/
state: caramel-green
- type: SolutionContainerManager
solutions:
food:
maxVol: 10
reagents:
- ReagentId: Nutriment
Quantity: 8
- ReagentId: Vitamin
Quantity: 2
- type: MeleeWeapon
wideAnimationRotation: 0
damage:
types:
Piercing: 1
angle: 0
animation: WeaponArcThrust
soundHit:
path: /Audio/Weapons/bladeslice.ogg

- type: entity
name: red and green caramel cane
parent: FoodBakingBase
id: CaramelCaneGreenRedFood
description: A cane decorated with colored stripes and patterns.
components:
- type: Sprite
sprite: SS220/Objects/Consumable/Food/caramel.rsi/
state: caramel-green-red
- type: SolutionContainerManager
solutions:
food:
maxVol: 10
reagents:
- ReagentId: Nutriment
Quantity: 8
- ReagentId: Vitamin
Quantity: 2
- type: MeleeWeapon
wideAnimationRotation: 0
damage:
types:
Piercing: 1
angle: 0
animation: WeaponArcThrust
soundHit:
path: /Audio/Weapons/bladeslice.ogg

- type: entity
name: double caramel cane
parent: FoodBakingBase
id: DoubleCaramelCaneFood
description: Arrange a duel!
components:
- type: Sprite
sprite: SS220/Objects/Consumable/Food/caramel.rsi/
state: double-caramel
- type: SolutionContainerManager
solutions:
food:
maxVol: 20
reagents:
- ReagentId: Nutriment
Quantity: 16
- ReagentId: Vitamin
Quantity: 4
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- type: constructionGraph
id: CandyBased
start: start
graph:
- node: start
entity: CaramelFood
edges:
- to: caramel
steps:
- tool: Rolling
doAfter: 1
- node: caramel
entity: CaramelBasedFood
55 changes: 54 additions & 1 deletion Resources/Prototypes/SS220/Recipes/Cooking/meal_recipes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,57 @@
FoodMeat: 3
FoodCheeseSlice: 1
FoodTomato: 1
#SS220 Spicy UPD end
#SS220 Spicy UPD end

#SS220 caramel cane start
- type: microwaveMealRecipe
id: Caramel
name: caramelka
result: CaramelFood
time: 15
reagents:
Sugar: 10
Water: 10

- type: microwaveMealRecipe
id: CaramelRed
name: red caramelka
result: RedCaramelCaneFood
time: 15
reagents:
Grenadine: 5
solids:
CaramelBasedFood: 1

- type: microwaveMealRecipe
id: CaramelGreen
name: green caramelka
result: GreenCaramelCaneFood
time: 15
reagents:
JuiceLime: 5
solids:
CaramelBasedFood: 1

- type: microwaveMealRecipe
id: CaramelGreenRed
name: greenred caramelka
result: CaramelCaneGreenRedFood
time: 15
reagents:
Grenadine: 5
JuiceLime: 5
solids:
CaramelBasedFood: 1

- type: microwaveMealRecipe
id: double Caramel
name: double caramelka
result: DoubleCaramelCaneFood
time: 20
reagents:
Grenadine: 10
JuiceLime: 10
solids:
CaramelBasedFood: 2
#SS220 caramel cane end
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"version": 1,
"license": "EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt",
"copyright": "sprited by dinazewwr (Discord) for SS220",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "caramel"
},
{
"name": "caramel-base"
},
{
"name": "caramel-red"
},
{
"name": "caramel-green"
},
{
"name": "caramel-green-red"
},
{
"name": "double-caramel"
}
]
}

0 comments on commit ab18116

Please sign in to comment.