Disposable turret for uplink (#17973)

* Disposable turret for uplink

* Adjusted firerate and ammo capacity

* Fix funny yaml mistake

* adjust cargo value

* Fix price for real this time

* Made it buyable for scientist traitors
This commit is contained in:
Arendian
2023-07-14 06:48:59 +02:00
committed by GitHub
parent 5c9a6bb262
commit 579b0093fa
5 changed files with 113 additions and 1 deletions

View File

@@ -178,6 +178,9 @@ uplink-chimp-ammo-desc = A box of 10 omega particle cartridges for the CHIMP. Om
uplink-proximity-mine-name = Proximity Mine
uplink-proximity-mine-desc = A mine disguised as a wet floor sign.
uplink-disposable-turret-name = Disposable Ballistic Turret
uplink-disposable-turret-desc = Looks and functions like a normal electrical toolbox. Upon hitting the toolbox it will transform into a ballistic turret, theoretically shooting at anyone except members of the syndicate.
# Armor
uplink-chameleon-name = Chameleon Kit
uplink-chameleon-desc = A backpack full of items that contain chameleon technology allowing you to disguise as pretty much anything on the station, and more!

View File

@@ -40,6 +40,27 @@
- id: CableHVStack10
orGroup: GlovesOrWires
- type: entity
id: ToolboxElectricalTurretFilled
name: electrical toolbox
suffix: Filled
parent: ToolboxElectricalTurret
components:
- type: StorageFill
contents:
- id: Screwdriver
- id: Crowbar
- id: Wirecutter
- id: CableApcStack10
- id: CableMVStack10
- id: trayScanner
prob: 0.9
- id: ClothingHandsGlovesColorYellow
prob: 0.05
orGroup: GlovesOrWires
- id: CableHVStack10
orGroup: GlovesOrWires
- type: entity
id: ToolboxMechanicalFilled
name: mechanical toolbox

View File

@@ -744,6 +744,22 @@
- Scientist
- Chef
- type: listing
id: UplinkDisposableTurret
name: uplink-disposable-turret-name
description: uplink-disposable-turret-desc
productEntity: ToolboxElectricalTurretFilled
cost:
Telecrystal: 12
categories:
- UplinkJob
conditions:
- !type:BuyerJobCondition
whitelist:
- StationEngineer
- AtmosphericTechnician
- Scientist
# Armor
- type: listing

View File

@@ -59,6 +59,37 @@
- type: Item
sprite: Objects/Tools/Toolboxes/toolbox_yellow.rsi
- type: entity
name: electrical toolbox
suffix: Syndicate, Turret
parent: ToolboxElectrical
id: ToolboxElectricalTurret
description: A toolbox typically stocked with electrical gear.
components:
- type: Damageable
damageContainer: Inorganic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 1
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:SpawnEntitiesBehavior
spawn:
WeaponTurretSyndicateDisposable:
min: 1
max: 1
- type: StaticPrice
price: 1350
- type: entity
name: artistic toolbox
parent: ToolboxBase

View File

@@ -120,6 +120,47 @@
factions:
- Syndicate
- type: entity
parent: BaseWeaponTurret
name: disposable ballistic turret
id: WeaponTurretSyndicateDisposable
suffix: Syndicate, Disposable
components:
- type: Faction
factions:
- Syndicate
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 600
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/metalbreak.ogg
- !type:SpawnEntitiesBehavior
spawn:
WeaponTurretSyndicateBroken:
min: 1
max: 1
- type: Gun
fireRate: 2.5
selectedMode: FullAuto
availableModes:
- FullAuto
soundGunshot: /Audio/Weapons/Guns/Gunshots/gun_sentry.ogg
- type: BallisticAmmoProvider
proto: CartridgePistol
capacity: 125
- type: entity
parent: BaseWeaponTurret
id: WeaponTurretNanoTrasen