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

Meat crates and cooking supplies event #2089

Merged
merged 10 commits into from
Oct 19, 2024
Merged
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cargo-gift-dest-kitchen = kitchen
cargo-gift-kitchen = cooking supplies
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ent-CrateExoticMeat = ящик с экзотическим мясом
.desc = Содержит более 10 кусков необычного мяса со всех краёв галактики!
ent-CrateMeat = ящик с мясом
.desc = Содержит 10 кусков мяса с колониальных ферм NanoTrasen!
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cargo-gift-dest-kitchen = кухне
cargo-gift-kitchen = поварские припасы
21 changes: 21 additions & 0 deletions Resources/Prototypes/GameRules/cargo_gifts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,3 +234,24 @@
ArmorySmg: 3
ArmoryShotgun: 3
#ss220-gammaend

#ss220 cooking supplies begin
- type: entity
id: GiftsKitchen
parent: CargoGiftsBase
components:
- type: StationEvent
weight: 6
duration: 120
minimumPlayers: 30
earliestStart: 20
- type: CargoGiftsRule
description: cargo-gift-kitchen
dest: cargo-gift-dest-kitchen
gifts:
MeatCrate: 1
ExoticMeatCrate: 1
FoodDinnerware: 1
FoodCook: 1
CrateVendingMachineRestockChefvend: 1
#ss220 cooking supplies end
20 changes: 20 additions & 0 deletions Resources/Prototypes/SS220/Catalog/Cargo/cargo_food.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,23 @@
cost: 3200
category: cargoproduct-category-name-food
group: market

- type: cargoProduct
id: MeatCrate
icon:
sprite: Objects/Consumable/Food/meat.rsi
state: plain
product: CrateMeat
cost: 1200
category: cargoproduct-category-name-food
group: market

- type: cargoProduct
id: ExoticMeatCrate
icon:
sprite: Objects/Consumable/Food/meat.rsi
state: xeno
product: CrateExoticMeat
cost: 2500
category: cargoproduct-category-name-food
group: market
101 changes: 101 additions & 0 deletions Resources/Prototypes/SS220/Catalog/Fills/Crates/food.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,104 @@
amount: 3
- id: FoodMeatSalami
prob: 0.04

- type: entity
id: CrateExoticMeat
parent: CrateFreezer
name: exotic meat crate
description: Contains over 10 pieces of unusual meat from all corners of the galaxy.
components:
- type: StorageFill
contents:
#base
- id: FoodMeatFish
amount: 4
- id: FoodMeatXeno
amount: 4
#random common one
- id: FoodMeatCrab
amount: 3
prob: 0.1
orGroup: commonMeat
- id: FoodMeatSnail
amount: 3
prob: 0.1
orGroup: commonMeat
- id: FoodMeatSpider
amount: 3
prob: 0.1
orGroup: commonMeat
- id: FoodMeatRat
amount: 3
prob: 0.1
orGroup: commonMeat
- id: FoodMeatSnake
amount: 3
prob: 0.1
orGroup: commonMeat
# rare ones. Small chance to get some
- id: FoodMeatGoliath
amount: 3
prob: 0.25
- id: FoodMeatTomato
amount: 3
prob: 0.25
- id: FoodMeatPenguin
amount: 3
prob: 0.25
- id: FoodMeatBear
amount: 3
prob: 0.25
# flesh
- id: FoodMeatHuman
amount: 2
prob: 0.1
orGroup: flesh
- id: FoodMeatSlime
amount: 2
prob: 0.1
orGroup: flesh
- id: FoodMeatLizard
amount: 2
prob: 0.1
orGroup: flesh
- id: FoodMeatPlant
amount: 2
prob: 0.1
orGroup: flesh
# very rare
- id: FoodMeatClown
amount: 3
prob: 0.01
- id: FoodMeatRouny
amount: 1
prob: 0.01
# funny
- id: FoodMeatCorgi
amount: 1
prob: 0.0001 # never. 0.01%
Kirus59 marked this conversation as resolved.
Show resolved Hide resolved


- type: entity
id: CrateMeat
parent: CrateFreezer
name: meat crate
description: Contains 10 pieces of meat from NanoTrasen colonial farms!
components:
- type: StorageFill
contents:
# basic boring meat
- id: FoodMeat
amount: 5
# bird meat
- id: FoodMeatChicken
amount: 4
prob: 0.3
orGroup: BirdMeat
- id: FoodMeatDuck
amount: 4
prob: 0.3
orGroup: BirdMeat
# some bacon
- id: FoodMeatBacon
amount: 2
Loading