NanoTrasen might send Gifts to the station via Cargo (#16556)

* Rebase Cargo Gifts

* Remove Chaos values from gifts (for now)

* Translate CargoGifts, rename fields

* Fix gift errors, detect missing products

* Fix order Id, some crate IDs

* Fix get Station. Gifts for Sec, Med, Fire, spacing

* Minimum players for various gifts

# Conflicts:
#	Resources/Prototypes/GameRules/cargo_gifts.yml
This commit is contained in:
Tom Leys
2023-05-23 09:55:27 +12:00
committed by GitHub
parent d45e48b149
commit db81e59013
10 changed files with 514 additions and 6 deletions

View File

@@ -0,0 +1,23 @@
cargo-gifts-event-announcement = Congratulations! { $sender } has decided to send { $description } to the station { $dest }. Look for it in your next cargo shipment.
cargo-gift-default-description = A bundle of gifts
cargo-gift-default-sender = NanoTrasen
cargo-gift-default-dest = Cargo Dept.
cargo-gift-dest-bar = bar
cargo-gift-dest-eng = Engineering Dept
cargo-gift-dest-supp = Cargo Dept
cargo-gift-dest-janitor = Service Dept
cargo-gift-dest-med = Medical Dept
cargo-gift-dest-sec = Security Dept
cargo-gift-pizza-small = A small pizza party
cargo-gift-pizza-large = A large pizza party
cargo-gift-eng = Repair Materials
cargo-gift-vending = Vending machines refills
cargo-gift-cleaning = Cleaning equipment
cargo-gift-medical-supply = Medical supplies
cargo-gift-space-protection = Space Hazard Protection
cargo-gift-fire-protection = Fire Protection
cargo-gift-security-guns = Lethal Weapons
cargo-gift-security-riot = Riot Gear

View File

@@ -28,6 +28,16 @@
category: Emergency
group: market
- type: cargoProduct
id: EmergencyInternalsLarge
icon:
sprite: Clothing/Mask/breath.rsi
state: icon
product: CrateEmergencyInternalsLarge
cost: 2000
category: Emergency
group: market
- type: cargoProduct
id: EmergencyRadiation
icon:

View File

@@ -8,6 +8,16 @@
category: Food
group: market
- type: cargoProduct
id: FoodPizzaLarge
icon:
sprite: Objects/Consumable/Food/Baked/pizza.rsi
state: margherita
product: CrateFoodPizzaLarge
cost: 1800
category: Food
group: market
- type: cargoProduct
id: FoodMRE
icon:
@@ -47,3 +57,23 @@
cost: 750
category: Food
group: market
- type: cargoProduct
id: FoodSoftdrinks
icon:
sprite: Objects/Consumable/Drinks/beerglass.rsi
state: icon
product: CrateFoodSoftdrinks
cost: 1200
category: Food
group: market
- type: cargoProduct
id: FoodSoftdrinksLarge
icon:
sprite: Objects/Consumable/Drinks/beerglass.rsi
state: icon
product: CrateFoodSoftdrinksLarge
cost: 2400
category: Food
group: market

View File

@@ -33,6 +33,7 @@
- type: entity
id: CrateEmergencyInternals
parent: CrateInternals
name: Emergency Suits
components:
- type: StorageFill
contents:
@@ -42,11 +43,29 @@
amount: 3
- id: OxygenTankFilled
amount: 3
- id: EmergencyOxygenTankFilled
- id: NitrogenTankFilled
amount: 3
- id: ClothingOuterSuitEmergency
amount: 3
- type: entity
id: CrateEmergencyInternalsLarge
parent: CrateInternals
name: Emergency Suits (Large)
components:
- type: StorageFill
contents:
- id: ClothingMaskGas
amount: 12
- id: ClothingMaskBreath
amount: 12
- id: OxygenTankFilled
amount: 12
- id: NitrogenTankFilled
amount: 12
- id: ClothingOuterSuitEmergency
amount: 12
- type: entity
id: CrateSlimepersonLifeSupport
parent: CrateInternals

View File

@@ -10,6 +10,19 @@
- id: LidSalami
prob: 0.01
- type: entity
id: CrateFoodPizzaLarge
parent: CratePlastic
components:
- type: StorageFill
contents:
- id: FoodBoxPizzaFilled
amount: 16
- id: KnifePlastic
amount: 4
- id: LidSalami
prob: 0.04
- type: entity
id: CrateFoodMRE
parent: CratePlastic
@@ -90,4 +103,43 @@
- id: DrinkSodaWaterCan
amount: 2
- id: DrinkCreamCarton
amount: 2
amount: 2
- type: entity
id: CrateFoodSoftdrinks
parent: CratePlastic
components:
- type: StorageFill
contents:
- id: DrinkColaCan
amount: 4
- id: DrinkGrapeCan
amount: 2
- id: DrinkRootBeerCan
amount: 2
- id: DrinkIcedTeaCan
amount: 2
- id: DrinkLemonLimeCan
amount: 2
- id: DrinkFourteenLokoCan
amount: 2
- type: entity
id: CrateFoodSoftdrinksLarge
parent: CratePlastic
components:
- type: StorageFill
contents:
- id: DrinkColaCan
amount: 8
- id: DrinkGrapeCan
amount: 4
- id: DrinkRootBeerCan
amount: 4
- id: DrinkIcedTeaCan
amount: 4
- id: DrinkLemonLimeCan
amount: 4
- id: DrinkFourteenLokoCan
amount: 4

View File

@@ -0,0 +1,210 @@
- type: entity
id: GiftsPizzaPartySmall
parent: BaseGameRule
noSpawn: true
components:
- type: StationEvent
weight: 10
startDelay: 10
duration: 120
earliestStart: 20
- type: CargoGiftsRule
description: cargo-gift-pizza-small
sender: cargo-gift-default-sender
dest: cargo-gift-dest-bar
gifts:
FoodPizzaLarge: 1 # 16 pizzas
FoodBarSupply: 1
FoodSoftdrinks: 1
CrateVendingMachineRestockRobustSoftdrinks: 1
- type: entity
id: GiftsPizzaPartyLarge
parent: BaseGameRule
noSpawn: true
components:
- type: StationEvent
weight: 6
startDelay: 10
duration: 240
minimumPlayers: 50
earliestStart: 40
- type: CargoGiftsRule
description: cargo-gift-pizza-large
sender: cargo-gift-default-sender
dest: cargo-gift-dest-bar
gifts:
FoodPizzaLarge: 4 # 64 pizzas
FoodBarSupply: 1
FoodSoftdrinksLarge: 1
- type: entity
id: GiftsEngineering
parent: BaseGameRule
noSpawn: true
components:
- type: StationEvent
weight: 4
startDelay: 10
duration: 240
earliestStart: 30
minimumPlayers: 10
- type: CargoGiftsRule
description: cargo-gift-eng
sender: cargo-gift-default-sender
dest: cargo-gift-dest-eng
gifts:
EngineeringCableBulk: 1
AirlockKit: 1
MaterialSteel: 1
MaterialPlasteel: 1
MaterialGlass: 1
CrateVendingMachineRestockEngineering: 1
- type: entity
id: GiftsVendingRestock
parent: BaseGameRule
noSpawn: true
components:
- type: StationEvent
weight: 4
startDelay: 10
duration: 120
minimumPlayers: 40
earliestStart: 30
- type: CargoGiftsRule
description: cargo-gift-vending
sender: cargo-gift-default-sender
dest: cargo-gift-dest-supp
gifts:
CrateVendingMachineRestockHotDrinks: 3
CrateVendingMachineRestockBooze: 1
CrateVendingMachineRestockNutriMax: 1
CrateVendingMachineRestockRobustSoftdrinks: 2
CrateVendingMachineRestockVendomat: 1
CrateVendingMachineRestockGetmoreChocolateCorp: 1
- type: entity
id: GiftsJanitor
parent: BaseGameRule
noSpawn: true
components:
- type: StationEvent
weight: 8
startDelay: 10
duration: 120
minimumPlayers: 30
earliestStart: 20
- type: CargoGiftsRule
description: cargo-gift-cleaning
sender: cargo-gift-default-sender
dest: cargo-gift-dest-janitor
gifts:
ServiceJanitorial: 2
ServiceLightsReplacement: 2
ServiceJanitorBiosuit: 1
- type: entity
id: GiftsMedical
parent: BaseGameRule
noSpawn: true
components:
- type: StationEvent
weight: 8
startDelay: 10
duration: 120
earliestStart: 20
minimumPlayers: 30
- type: CargoGiftsRule
description: cargo-gift-medical-supply
sender: cargo-gift-default-sender
dest: cargo-gift-dest-med
gifts:
MedicalSupplies: 1
MedicalChemistrySupplies: 1
EmergencyBruteKit: 1
EmergencyAdvancedKit: 1
MedicalBiosuit: 1
- type: entity
id: GiftsSpacingSupplies
parent: BaseGameRule
noSpawn: true
components:
- type: StationEvent
weight: 6
startDelay: 10
duration: 120
earliestStart: 10
minimumPlayers: 40
- type: CargoGiftsRule
description: cargo-gift-space-protection
sender: cargo-gift-default-sender
dest: cargo-gift-dest-supp
gifts:
EmergencyInternalsLarge: 2
EmergencyInflatablewall: 1
EmergencyAdvancedKit: 1
MedicalBiosuit: 1
EmergencyO2Kit: 1
- type: entity
id: GiftsFireProtection
parent: BaseGameRule
noSpawn: true
components:
- type: StationEvent
weight: 3
startDelay: 10
duration: 120
earliestStart: 20
minimumPlayers: 40
- type: CargoGiftsRule
description: cargo-gift-fire-protection
sender: cargo-gift-default-sender
dest: cargo-gift-dest-supp
gifts:
EmergencyFire: 2
EmergencyBurnKit: 1
EmergencyBruteKit: 1
- type: entity
id: GiftsSecurityGuns
parent: BaseGameRule
noSpawn: true
components:
- type: StationEvent
weight: 2
startDelay: 10
duration: 120
earliestStart: 20
minimumPlayers: 50
- type: CargoGiftsRule
description: cargo-gift-security-guns
sender: cargo-gift-default-sender
dest: cargo-gift-dest-sec
gifts:
CrateSecurityArmor: 3
ArmorySmg: 1
ArmoryShotgun: 1
ArmoryLaser: 1
- type: entity
id: GiftsSecurityRiot
parent: BaseGameRule
noSpawn: true
components:
- type: StationEvent
weight: 4
startDelay: 10
duration: 120
earliestStart: 20
minimumPlayers: 50
- type: CargoGiftsRule
description: cargo-gift-security-riot
sender: cargo-gift-default-sender
dest: cargo-gift-dest-sec
gifts:
SecurityRiot: 2
CrateRestraints: 2
CrateSecurityNonlethal: 2