diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Cartridges/missile_catridge.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Cartridges/missile_catridge.yml new file mode 100644 index 00000000000..1bcf509f6a1 --- /dev/null +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Cartridges/missile_catridge.yml @@ -0,0 +1,33 @@ +- type: entity + id: MissileBaseCartridge + parent: BaseItem + abstract: true + components: + - type: Sprite + drawdepth: Items + - type: Fixtures + fixtures: + fix1: + shape: + !type:PhysShapeAabb + bounds: "-0.10,-0.05,0.10,0.05" + density: 0.5 + mask: + - ItemMask + restitution: 0.7 # Small and bouncy + friction: 0.2 + - type: Tag + tags: + - Cartridge + - type: Item + size: Tiny + - type: EmitSoundOnLand + sound: + collection: HeavyBulletBounce + - type: EmitSoundOnCollide + sound: + collection: HeavyBulletBounce + - type: StaticPrice + price: 1 + +# removed the spacegarbage component, so missiles ammo (not the projectiles) won't get deleted whilst in transit. diff --git a/Resources/Prototypes/_Crescent/Entities/Turrets/Missile/cartridges.yml b/Resources/Prototypes/_Crescent/Entities/Turrets/Missile/cartridges.yml index 7e409af7f1c..5dcfadd4593 100644 --- a/Resources/Prototypes/_Crescent/Entities/Turrets/Missile/cartridges.yml +++ b/Resources/Prototypes/_Crescent/Entities/Turrets/Missile/cartridges.yml @@ -2,7 +2,7 @@ id: Cartridge48mmRocket name: 48mm assault rocket description: Luckily not armed. You think. - parent: BaseCartridge + parent: MissileBaseCartridge components: - type: Tag tags: @@ -25,7 +25,7 @@ id: Cartridge48mmRocketGorlex name: dread gorlex 48mm assault rocket description: Luckily not armed. You think. Seems to be a Gorlex Security Consulting-modified warhead. - parent: BaseCartridge + parent: MissileBaseCartridge components: - type: Tag tags: @@ -50,7 +50,7 @@ id: Cartridge60mmRocketGorlex name: dread gorlex 60mm light missile description: Luckily not armed. You think. Seems to be a Gorlex Security Consulting-modified warhead. - parent: BaseCartridge + parent: MissileBaseCartridge components: - type: Tag tags: @@ -73,7 +73,7 @@ id: Cartridge60mmRocketNCWL name: homeguard-issue 60mm light missile description: Luckily not armed. You think. Seems to be a Homeguard Fleet-issue warhead. - parent: BaseCartridge + parent: MissileBaseCartridge components: - type: Tag tags: @@ -96,7 +96,7 @@ id: Cartridge60mmRocket name: 60mm light missile description: Luckily not armed. You think. - parent: BaseCartridge + parent: MissileBaseCartridge components: - type: Tag tags: @@ -119,7 +119,7 @@ id: Cartridge60mmRocketAdvanced name: advanced 60mm light missile description: Luckily not armed. You think. This seems to be an improved design. - parent: BaseCartridge + parent: MissileBaseCartridge components: - type: Tag tags: @@ -144,7 +144,7 @@ id: Cartridge95mmRocket name: high-explosive 95mm heavy assault missile description: Luckily not armed. You think. - parent: BaseCartridge + parent: MissileBaseCartridge components: - type: Tag tags: @@ -167,7 +167,7 @@ id: Cartridge95mmRocketNCWL name: homeguard-issue 95mm heavy assault missile description: Luckily not armed. You think. Seems to be issued by the Homeguard Fleet. Seems to have a bigger fuel bay and heavier armor plating than usual. - parent: BaseCartridge + parent: MissileBaseCartridge components: - type: Tag tags: @@ -190,7 +190,7 @@ id: Cartridge95mmRocketGSC name: dread gorlex 95mm heavy assault missile description: Luckily not armed. You think. Seems to be a Gorlex-modified design. Seems to have upgraded thruster nozzles and a bigger payload, although the tracking module has been degraded and the fuel bay is smaller than usual. - parent: BaseCartridge + parent: MissileBaseCartridge components: - type: Tag tags: @@ -215,7 +215,7 @@ id: Cartridge240mmRocket name: 240mm heat-seeking heavy torpedo description: A massive, bulky torpedo with an inbuilt tracking and course correction system. It's slow speed allows it to phase through deflector bubbles. Slow and easy to shoot down. - parent: BaseCartridge + parent: MissileBaseCartridge components: - type: Tag tags: @@ -239,7 +239,7 @@ id: Cartridge240mmRocketNCWL name: homeguard-issue 240mm heat-seeking heavy torpedo description: A massive, bulky torpedo with an inbuilt tracking and course correction system. It's slow speed allows it to phase through deflector bubbles. Slow and easy to shoot down. This one seems to be issued by the Union Homeguard, upgraded in all aspects. - parent: BaseCartridge + parent: MissileBaseCartridge components: - type: Tag tags: @@ -265,7 +265,7 @@ id: Cartridge330mmRocket name: 330mm heat-seeking heavy cruise missile description: A massive, bulky cruise missile with an inbuilt tracking and course correction system. It's slow speed allows it to phase through deflector bubbles. Slow and easy to shoot down. - parent: BaseCartridge + parent: MissileBaseCartridge components: - type: Tag tags: @@ -283,4 +283,4 @@ - type: Appearance - type: SpentAmmoVisuals - type: StaticPrice - price: 500 \ No newline at end of file + price: 500 diff --git a/Resources/Prototypes/_Crescent/Entities/Turrets/Projectile/cartridges.yml b/Resources/Prototypes/_Crescent/Entities/Turrets/Projectile/cartridges.yml index 6e323257dbb..b59d84653a8 100644 --- a/Resources/Prototypes/_Crescent/Entities/Turrets/Projectile/cartridges.yml +++ b/Resources/Prototypes/_Crescent/Entities/Turrets/Projectile/cartridges.yml @@ -70,7 +70,7 @@ - type: entity id: Cartridge120mm name: cartridge (120mm USM) - parent: BaseCartridge + parent: MissileBaseCartridge components: - type: Tag tags: @@ -91,7 +91,7 @@ - type: entity id: Cartridge120mmPlasma name: cartridge (120mm plasma-core USM) - parent: BaseCartridge + parent: MissileBaseCartridge components: - type: Tag tags: @@ -112,7 +112,7 @@ - type: entity id: Cartridge120mmGyrostable name: cartridge (120mm gyrostable USM) - parent: BaseCartridge + parent: MissileBaseCartridge components: - type: Tag tags: @@ -171,7 +171,7 @@ id: Cartridge300mm name: cartridge (300mm FMJ USM) description: A full metal jacket artillery shell with a standard explosive payload. Heavy. - parent: BaseCartridge + parent: MissileBaseCartridge components: - type: Tag tags: