Skip to content

Commit

Permalink
[Feature] Supply Pods (#162)
Browse files Browse the repository at this point in the history
* [Feature] Supply Pods

yaml hero

* fix modifier set

* fix physics

* rename capsule rsi

* fix animation timer

* ru ftl

* sigma space

* fucking rockets for my house

* fix rocket ftl

* remove capsule stuck

* edit resist und capacity

* supplypod deconstruction

* fix yaml
  • Loading branch information
PuroSlavKing authored Dec 17, 2024
1 parent 365e20f commit a6a0f58
Show file tree
Hide file tree
Showing 116 changed files with 1,460 additions and 2 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
ent-SupplyPodCircleSyndicateSurplusBundle = { ent-BaseSupplyPodTargetCircle }
.desc = { ent-BaseSupplyPodTargetCircle.desc }
.suffix = Припасы Синдиката, Синдикат
ent-SupplyPodFallingAnimationSyndicateSurplusBundle = { ent-SupplyPodSyndicateFallingAnimation }
.desc = { ent-SupplyPodSyndicateFallingAnimation.desc }
ent-SupplyPodSyndicateSurplusBundle = { ent-SupplyPodCapsuleSyndicate }
.desc = { ent-SupplyPodCapsuleSyndicate.desc }
ent-SupplyPodCircleSyndicateSuperSurplusBundle = { ent-BaseSupplyPodTargetCircle }
.desc = { ent-BaseSupplyPodTargetCircle.desc }
.suffix = Суперприпасы Синдиката, Синдикат
ent-SupplyPodFallingAnimationSyndicateSuperSurplusBundle = { ent-SupplyPodSyndicateFallingAnimation }
.desc = { ent-SupplyPodSyndicateFallingAnimation.desc }
ent-SupplyPodSyndicateSuperSurplusBundle = { ent-SupplyPodCapsuleSyndicate }
.desc = { ent-SupplyPodCapsuleSyndicate.desc }
ent-SupplyPodCircleCybersunJuggernautBundle = { ent-BaseSupplyPodTargetCircle }
.desc = { ent-BaseSupplyPodTargetCircle.desc }
.suffix = Костюм джаггернаута Cybersun, Синдикат
ent-SupplyPodFallingAnimationCybersunJuggernautBundle = { ent-SupplyPodSyndicateFallingAnimation }
.desc = { ent-SupplyPodSyndicateFallingAnimation.desc }
ent-SupplyPodCybersunJuggernautBundle = { ent-SupplyPodCapsuleSyndicate }
.desc = { ent-SupplyPodCapsuleSyndicate.desc }
ent-SupplyPodCircleNPCGondola = { ent-BaseSupplyPodTargetCircle }
.desc = { ent-BaseSupplyPodTargetCircle.desc }
.suffix = Гондола
ent-SupplyPodFallingAnimationNPCGondola = { ent-SupplyPodGondolaFallingAnimation }
.desc = { ent-SupplyPodGondolaFallingAnimation.desc }
ent-SupplyPodNPCGondola = { ent-SupplyPodCapsuleGondola }
.desc = { ent-SupplyPodCapsuleGondola.desc }
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ent-RocketMediumExplosionFallingAnimation = { ent-BaseSupplyPodFallingAnimation }
.desc = { ent-BaseSupplyPodFallingAnimation.desc }
ent-RocketSyndicateMediumExplosionFallingAnimation = { ent-BaseSupplyPodFallingAnimation }
.desc = { ent-BaseSupplyPodFallingAnimation.desc }
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
ent-BaseTargetCircle = красный круг
.desc = {""}
ent-BaseSupplyPodTargetCircle = { ent-BaseTargetCircle }
.desc = { ent-BaseTargetCircle.desc }
.suffix = Пустой, обычный
ent-BaseSupplyPodFallingAnimation = {""}
.desc = { ent-BaseTargetCircle.desc }
ent-SupplyPodDefaultFallingAnimation = { ent-BaseSupplyPodFallingAnimation }
.desc = { ent-BaseSupplyPodFallingAnimation.desc }
ent-SupplyPodBluespaceFallingAnimation = { ent-BaseSupplyPodFallingAnimation }
.desc = { ent-BaseSupplyPodFallingAnimation.desc }
ent-SupplyPodCultFallingAnimation = { ent-BaseSupplyPodFallingAnimation }
.desc = { ent-BaseSupplyPodFallingAnimation.desc }
ent-SupplyPodGondolaFallingAnimation = { ent-BaseSupplyPodFallingAnimation }
.desc = { ent-BaseSupplyPodFallingAnimation.desc }
ent-SupplyPodHonkFallingAnimation = { ent-BaseSupplyPodFallingAnimation }
.desc = { ent-BaseSupplyPodFallingAnimation.desc }
ent-SupplyPodNanoTrasenFallingAnimation = { ent-BaseSupplyPodFallingAnimation }
.desc = { ent-BaseSupplyPodFallingAnimation.desc }
ent-SupplyPodOrangeFallingAnimation = { ent-BaseSupplyPodFallingAnimation }
.desc = { ent-BaseSupplyPodFallingAnimation.desc }
ent-SupplyPodSquadFallingAnimation = { ent-BaseSupplyPodFallingAnimation }
.desc = { ent-BaseSupplyPodFallingAnimation.desc }
ent-SupplyPodSyndicateFallingAnimation = { ent-BaseSupplyPodFallingAnimation }
.desc = { ent-BaseSupplyPodFallingAnimation.desc }
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ent-SmallExplosionInstant = мгновенный эффект
.desc = {""}
.suffix = Взрыв, маленький
ent-MediumExplosionInstant = мгновенный эффект
.desc = {""}
.suffix = Взрыв, средний
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
ent-BaseRocket = ракета
.desc = Оно взорвалось... блять...
ent-Rocket = { ent-BaseRocket }
.desc = { ent-BaseRocket.desc }
ent-RocketSyndicate = { ent-BaseRocket }
.desc = { ent-BaseRocket.desc }
ent-RocketMediumExplosionCircle = { ent-Rocket }
.desc = { ent-Rocket.desc }
.suffix = Взрыв, средний
ent-RocketSyndicateMediumExplosionCircle = { ent-RocketSyndicate }
.desc = { ent-RocketSyndicate.desc }
.suffix = Взрыв, средний
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
ent-BaseSupplyPod = грузовая капсула
.desc = Оно пробило пол... блять...
ent-SupplyPodCapsuleDefault = { ent-BaseSupplyPod }
.desc = { ent-BaseSupplyPod.desc }
.suffix = Пустой, обычный
ent-SupplyPodCapsuleBluespace = { ent-BaseSupplyPod }
.desc = { ent-BaseSupplyPod.desc }
.suffix = Пустой, блюспейс
ent-SupplyPodCapsuleCult = { ent-BaseSupplyPod }
.desc = { ent-BaseSupplyPod.desc }
.suffix = Пустой, культ
ent-SupplyPodCapsuleGondola = { ent-BaseSupplyPod }
.desc = { ent-BaseSupplyPod.desc }
.suffix = Пустой, Гондола
ent-SupplyPodCapsuleOrange = { ent-BaseSupplyPod }
.desc = { ent-BaseSupplyPod.desc }
.suffix = Пустой, апельсин
ent-SupplyPodCapsuleHonk = { ent-BaseSupplyPod }
.desc = { ent-BaseSupplyPod.desc }
.suffix = Пустой, хонк
ent-SupplyPodCapsuleNanoTrasen = { ent-BaseSupplyPod }
.desc = { ent-BaseSupplyPod.desc }
.suffix = Пустой, НТ
ent-SupplyPodCapsuleSquad = { ent-BaseSupplyPod }
.desc = { ent-BaseSupplyPod.desc }
.suffix = Пустой, отряд
ent-SupplyPodCapsuleSyndicate = { ent-BaseSupplyPod }
.desc = { ent-BaseSupplyPod.desc }
.suffix = Пустой, Синдикат
4 changes: 2 additions & 2 deletions Resources/Prototypes/Catalog/uplink_catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@
id: UplinkSurplusBundle
name: uplink-surplus-bundle-name
description: uplink-surplus-bundle-desc
productEntity: CrateSyndicateSurplusBundle
productEntity: SupplyPodCircleSyndicateSurplusBundle # WWDP-EDIT
cost:
Telecrystal: 20
categories:
Expand All @@ -1105,7 +1105,7 @@
id: UplinkSuperSurplusBundle
name: uplink-super-surplus-bundle-name
description: uplink-super-surplus-bundle-desc
productEntity: CrateSyndicateSuperSurplusBundle
productEntity: SupplyPodCircleSyndicateSuperSurplusBundle # WWDP-EDIT
cost:
Telecrystal: 40
categories:
Expand Down
113 changes: 113 additions & 0 deletions Resources/Prototypes/_White/Catalog/SupplyPod/supply_pod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
# SyndicateSurplusBundle
- type: entity
parent: BaseSupplyPodTargetCircle
id: SupplyPodCircleSyndicateSurplusBundle
suffix: Surplus bundle, Syndicate
components:
- type: TimedSpawner
prototypes:
- SupplyPodFallingAnimationSyndicateSurplusBundle

- type: entity
parent: SupplyPodSyndicateFallingAnimation
categories: [ HideSpawnMenu ]
id: SupplyPodFallingAnimationSyndicateSurplusBundle
components:
- type: TimedSpawner
prototypes:
- SupplyPodSyndicateSurplusBundle

- type: entity
parent: SupplyPodCapsuleSyndicate
categories: [ HideSpawnMenu ]
id: SupplyPodSyndicateSurplusBundle
components:
- type: SurplusBundle
totalPrice: 50

# SyndicateSuperSurplusBundle
- type: entity
parent: BaseSupplyPodTargetCircle
id: SupplyPodCircleSyndicateSuperSurplusBundle
suffix: Super surplus bundle, Syndicate
components:
- type: TimedSpawner
prototypes:
- SupplyPodFallingAnimationSyndicateSuperSurplusBundle

- type: entity
parent: SupplyPodSyndicateFallingAnimation
categories: [ HideSpawnMenu ]
id: SupplyPodFallingAnimationSyndicateSuperSurplusBundle
components:
- type: TimedSpawner
prototypes:
- SupplyPodSyndicateSuperSurplusBundle

- type: entity
parent: SupplyPodCapsuleSyndicate
categories: [ HideSpawnMenu ]
id: SupplyPodSyndicateSuperSurplusBundle
components:
- type: SurplusBundle
totalPrice: 125

# CybersunJuggernautBundle
- type: entity
parent: BaseSupplyPodTargetCircle
id: SupplyPodCircleCybersunJuggernautBundle
suffix: Cybersun Juggernaut bundle, Syndicate
components:
- type: TimedSpawner
prototypes:
- SupplyPodFallingAnimationCybersunJuggernautBundle

- type: entity
parent: SupplyPodSyndicateFallingAnimation
categories: [ HideSpawnMenu ]
id: SupplyPodFallingAnimationCybersunJuggernautBundle
components:
- type: TimedSpawner
prototypes:
- SupplyPodCybersunJuggernautBundle

- type: entity
parent: SupplyPodCapsuleSyndicate
categories: [ HideSpawnMenu ]
id: SupplyPodCybersunJuggernautBundle
components:
- type: StorageFill
contents:
- id: ClothingOuterHardsuitJuggernaut
- id: ClothingMaskGasSyndicate
- id: ClothingHandsGlovesCombat
- id: DoubleEmergencyOxygenTankFilled
- id: DoubleEmergencyNitrogenTankFilled

# NPCGondola
- type: entity
parent: BaseSupplyPodTargetCircle
id: SupplyPodCircleNPCGondola
suffix: Gondola
components:
- type: TimedSpawner
prototypes:
- SupplyPodFallingAnimationNPCGondola

- type: entity
parent: SupplyPodGondolaFallingAnimation
categories: [ HideSpawnMenu ]
id: SupplyPodFallingAnimationNPCGondola
components:
- type: TimedSpawner
prototypes:
- SupplyPodNPCGondola

- type: entity
parent: SupplyPodCapsuleGondola
categories: [ HideSpawnMenu ]
id: SupplyPodNPCGondola
components:
- type: StorageFill
contents:
- id: MobGondola
19 changes: 19 additions & 0 deletions Resources/Prototypes/_White/Catalog/rockets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Rocket, medium explosion
- type: entity
parent: BaseSupplyPodTargetCircle
id: RocketMediumExplosionCircle
suffix: Explosion, medium
components:
- type: TimedSpawner
prototypes:
- RocketMediumExplosionFallingAnimation

# Syndicate rocket, medium explosion
- type: entity
parent: BaseSupplyPodTargetCircle
id: RocketSyndicateMediumExplosionCircle
suffix: Explosion, medium
components:
- type: TimedSpawner
prototypes:
- RocketSyndicateMediumExplosionFallingAnimation
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Default
- type: entity
parent: BaseSupplyPodFallingAnimation
categories: [ HideSpawnMenu ]
id: RocketMediumExplosionFallingAnimation
components:
- type: Sprite
sprite: _White/Effects/rocket_falling.rsi
layers:
- state: rocket_falling_animation
- type: TimedSpawner
prototypes:
- Rocket
intervalSeconds: 2
- type: SpawnOnDespawn
prototype: MediumExplosionInstant

# Syndicate
- type: entity
parent: BaseSupplyPodFallingAnimation
categories: [ HideSpawnMenu ]
id: RocketSyndicateMediumExplosionFallingAnimation
components:
- type: Sprite
sprite: _White/Effects/rocket_falling.rsi
layers:
- state: rocket_syndicate_falling_animation
- type: SpawnOnDespawn
prototype: MediumExplosionInstant
- type: TimedSpawner
prototypes:
- RocketSyndicate
intervalSeconds: 2
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Base target circle
- type: entity
id: BaseTargetCircle
abstract: true
placement:
mode: SnapgridCenter
components:
- type: Sprite
sprite: _White/Effects/telegraph.rsi
drawdepth: FloorTiles
layers:
- state: target_circle_holographic
shader: unshaded
color: "#FF0000"
- type: PointLight
color: "#FF0000"
- type: Timer
- type: Transform
noRot: true
anchored: true
- type: Physics
bodyType: Static
canCollide: False

# Base supply pod target circle
- type: entity
parent: BaseTargetCircle
categories: [ HideSpawnMenu ]
id: BaseSupplyPodTargetCircle
suffix: Empty, default
components:
- type: TimedSpawner
prototypes:
- BaseSupplyPodFallingAnimation
intervalSeconds: 10
- type: TimedDespawn
lifetime: 12

# Base supply pod falling animation
- type: entity
id: BaseSupplyPodFallingAnimation
categories: [ HideSpawnMenu ]
components:
- type: Sprite
sprite: _White/Effects/supplypod_falling.rsi
layers:
- state: default_falling_animation
offset: "0,3.3"
- type: Physics
bodyType: Static
canCollide: False
- type: Timer
- type: TimedSpawner
prototypes:
- SupplyPodCapsuleDefault
intervalSeconds: 2
- type: TimedDespawn
lifetime: 2.1
- type: SpawnOnDespawn
prototype: SmallExplosionInstant
- type: EmitSoundOnSpawn
sound:
path: /Audio/_White/Weapons/mortar_long_whistle.ogg
params:
variation: 0.3
volume: 4
maxDistance: 20
Loading

0 comments on commit a6a0f58

Please sign in to comment.