Head of Security's Energy Magnum (and Warden's Energy Shotgun) (#40615)
* Energy magnum and projectile protos, locker fills, and traitor objective updates. * Fix objective * Objective and .rsi tweaks * Rewrite item description. * Remove energy shotgun self charging and decrease magnum disabler cost. * Bring magnum disabler fire cost in line with regular disabler. * Bunch of sprite improvements including charge status visuals. * whoops * Minor sprite edit for clarity --------- Co-authored-by: SlamBamActionman <slambamactionman@gmail.com>
@@ -11,7 +11,7 @@ steal-target-groups-captain-id-card = captain ID card
|
|||||||
steal-target-groups-jetpack-captain-filled = captain's jetpack
|
steal-target-groups-jetpack-captain-filled = captain's jetpack
|
||||||
steal-target-groups-weapon-antique-laser = antique laser pistol
|
steal-target-groups-weapon-antique-laser = antique laser pistol
|
||||||
steal-target-groups-nuke-disk = nuclear authentication disk
|
steal-target-groups-nuke-disk = nuclear authentication disk
|
||||||
steal-target-groups-weapon-energy-shot-gun = energy shotgun
|
steal-target-groups-weapon-energy-magnum = energy magnum
|
||||||
|
|
||||||
# Thief Collection
|
# Thief Collection
|
||||||
steal-target-groups-figurines = figurine
|
steal-target-groups-figurines = figurine
|
||||||
|
|||||||
@@ -308,7 +308,7 @@
|
|||||||
id: LockerFillHeadOfSecurityNoHardsuit
|
id: LockerFillHeadOfSecurityNoHardsuit
|
||||||
table: !type:AllSelector
|
table: !type:AllSelector
|
||||||
children:
|
children:
|
||||||
- id: WeaponEnergyShotgun
|
- id: WeaponEnergyMagnum
|
||||||
- id: BookSpaceLaw
|
- id: BookSpaceLaw
|
||||||
- id: BoxEncryptionKeySecurity
|
- id: BoxEncryptionKeySecurity
|
||||||
- id: CigarGoldCase
|
- id: CigarGoldCase
|
||||||
|
|||||||
@@ -46,6 +46,7 @@
|
|||||||
amount: 2
|
amount: 2
|
||||||
- id: NetworkConfigurator
|
- id: NetworkConfigurator
|
||||||
- id: Binoculars
|
- id: Binoculars
|
||||||
|
- id: WeaponEnergyShotgun
|
||||||
|
|
||||||
- type: entityTable
|
- type: entityTable
|
||||||
id: FillLockerWardenHarduit
|
id: FillLockerWardenHarduit
|
||||||
|
|||||||
@@ -815,7 +815,7 @@
|
|||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: energy shotgun
|
name: energy shotgun
|
||||||
parent: [BaseWeaponBattery, BaseGunWieldable, BaseGrandTheftContraband]
|
parent: [BaseWeaponBattery, BaseGunWieldable, BaseSecurityContraband]
|
||||||
id: WeaponEnergyShotgun
|
id: WeaponEnergyShotgun
|
||||||
description: A one-of-a-kind prototype energy weapon that uses various shotgun configurations. It offers the possibility of both lethal and non-lethal shots, making it a versatile weapon.
|
description: A one-of-a-kind prototype energy weapon that uses various shotgun configurations. It offers the possibility of both lethal and non-lethal shots, making it a versatile weapon.
|
||||||
components:
|
components:
|
||||||
@@ -853,20 +853,57 @@
|
|||||||
size: Large
|
size: Large
|
||||||
sprite: Objects/Weapons/Guns/Battery/inhands_64x.rsi
|
sprite: Objects/Weapons/Guns/Battery/inhands_64x.rsi
|
||||||
heldPrefix: energy
|
heldPrefix: energy
|
||||||
- type: Tag
|
|
||||||
tags:
|
|
||||||
- HighRiskItem
|
|
||||||
- type: StealTarget
|
|
||||||
stealGroup: WeaponEnergyShotgun
|
|
||||||
- type: GunRequiresWield #remove when inaccuracy on spreads is fixed
|
- type: GunRequiresWield #remove when inaccuracy on spreads is fixed
|
||||||
- type: Battery
|
- type: Battery
|
||||||
maxCharge: 1200
|
maxCharge: 1200
|
||||||
startingCharge: 1200
|
startingCharge: 1200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
name: energy magnum
|
||||||
|
parent: [BaseWeaponBatterySmall, BaseGrandTheftContraband]
|
||||||
|
id: WeaponEnergyMagnum
|
||||||
|
description: A high powered self-charging energy pistol designed for elite security personnel. It has has three firing modes allowing for either high damage, window piercing, or non-lethal disabling.
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Objects/Weapons/Guns/Battery/energy_magnum.rsi
|
||||||
|
layers:
|
||||||
|
- state: base
|
||||||
|
map: [ "enum.GunVisualLayers.Base" ]
|
||||||
|
- state: mag-unshaded-1
|
||||||
|
visible: false
|
||||||
|
map: [ "enum.GunVisualLayers.MagUnshaded" ]
|
||||||
|
shader: unshaded
|
||||||
|
- type: MagazineVisuals
|
||||||
|
magState: mag
|
||||||
|
steps: 4
|
||||||
|
zeroVisible: true
|
||||||
|
- type: Appearance
|
||||||
|
- type: Clothing
|
||||||
|
sprite: Objects/Weapons/Guns/Battery/energy_magnum.rsi
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- HighRiskItem
|
||||||
|
- type: StealTarget
|
||||||
|
stealGroup: WeaponEnergyMagnum
|
||||||
|
- type: Gun
|
||||||
|
soundGunshot:
|
||||||
|
path: /Audio/Weapons/Guns/Gunshots/laser_cannon.ogg
|
||||||
|
- type: ProjectileBatteryAmmoProvider
|
||||||
|
proto: BulletLaserMagnum
|
||||||
|
fireCost: 150
|
||||||
|
- type: BatteryWeaponFireModes
|
||||||
|
fireModes:
|
||||||
|
- proto: BulletLaserMagnum
|
||||||
|
fireCost: 150
|
||||||
|
- proto: BulletLaserWindowPiercingMagnum
|
||||||
|
fireCost: 150
|
||||||
|
- proto: BulletDisabler
|
||||||
|
fireCost: 62.5
|
||||||
- type: BatterySelfRecharger
|
- type: BatterySelfRecharger
|
||||||
autoRecharge: true
|
autoRecharge: true
|
||||||
autoRechargeRate: 24
|
autoRechargeRate: 48
|
||||||
autoRechargePause: true
|
autoRechargePause: true
|
||||||
autoRechargePauseTime: 30
|
autoRechargePauseTime: 10
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: temperature gun
|
name: temperature gun
|
||||||
|
|||||||
@@ -1325,3 +1325,52 @@
|
|||||||
proto: BulletDisablerSmg
|
proto: BulletDisablerSmg
|
||||||
count: 3 #bit stronger than a disabler if you hit your shots you goober, still not a 2 hit stun though
|
count: 3 #bit stronger than a disabler if you hit your shots you goober, still not a 2 hit stun though
|
||||||
spread: 9
|
spread: 9
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
name: magnum laser bolt
|
||||||
|
id: BulletLaserMagnum
|
||||||
|
categories: [ HideSpawnMenu ]
|
||||||
|
parent: BulletLaser
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Objects/Weapons/Guns/Projectiles/projectiles_magnum.rsi
|
||||||
|
layers:
|
||||||
|
- state: magnum
|
||||||
|
shader: unshaded
|
||||||
|
- type: PointLight
|
||||||
|
enabled: true
|
||||||
|
color: "#ff4300"
|
||||||
|
- type: Projectile
|
||||||
|
impactEffect: BulletImpactEffectOrangeDisabler
|
||||||
|
damage:
|
||||||
|
types:
|
||||||
|
Heat: 30
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
name: magnum window-piercing bolt
|
||||||
|
id: BulletLaserWindowPiercingMagnum
|
||||||
|
categories: [ HideSpawnMenu ]
|
||||||
|
parent: BulletLaser
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Objects/Weapons/Guns/Projectiles/projectiles_magnum.rsi
|
||||||
|
layers:
|
||||||
|
- state: magnum_piercing
|
||||||
|
shader: unshaded
|
||||||
|
- type: PointLight
|
||||||
|
enabled: true
|
||||||
|
color: "#ff4300"
|
||||||
|
- type: Projectile
|
||||||
|
impactEffect: BulletImpactEffectOrangeDisabler
|
||||||
|
damage:
|
||||||
|
types:
|
||||||
|
Heat: 20
|
||||||
|
- type: Fixtures
|
||||||
|
fixtures:
|
||||||
|
projectile:
|
||||||
|
shape:
|
||||||
|
!type:PhysShapeAabb
|
||||||
|
bounds: "-0.1,-0.1,0.1,0.1"
|
||||||
|
hard: false
|
||||||
|
mask:
|
||||||
|
- Opaque
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
CaptainGunStealObjective: 0.5
|
CaptainGunStealObjective: 0.5
|
||||||
CaptainJetpackStealObjective: 0.5
|
CaptainJetpackStealObjective: 0.5
|
||||||
HandTeleporterStealObjective: 0.5
|
HandTeleporterStealObjective: 0.5
|
||||||
EnergyShotgunStealObjective: 0.5
|
EnergyMagnumStealObjective: 0.5
|
||||||
|
|
||||||
- type: weightedRandom
|
- type: weightedRandom
|
||||||
id: TraitorObjectiveGroupKill
|
id: TraitorObjectiveGroupKill
|
||||||
|
|||||||
@@ -85,11 +85,11 @@
|
|||||||
state: icon
|
state: icon
|
||||||
|
|
||||||
- type: stealTargetGroup
|
- type: stealTargetGroup
|
||||||
id: WeaponEnergyShotgun
|
id: WeaponEnergyMagnum
|
||||||
name: steal-target-groups-weapon-energy-shot-gun
|
name: steal-target-groups-weapon-energy-magnum
|
||||||
sprite:
|
sprite:
|
||||||
sprite: Objects/Weapons/Guns/Battery/energy_shotgun.rsi
|
sprite: Objects/Weapons/Guns/Battery/energy_magnum.rsi
|
||||||
state: base
|
state: icon
|
||||||
|
|
||||||
# Thief Collection
|
# Thief Collection
|
||||||
|
|
||||||
|
|||||||
@@ -243,7 +243,7 @@
|
|||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: BaseTraitorStealObjective
|
parent: BaseTraitorStealObjective
|
||||||
id: EnergyShotgunStealObjective
|
id: EnergyMagnumStealObjective
|
||||||
components:
|
components:
|
||||||
- type: Objective
|
- type: Objective
|
||||||
# HoS will have this on them a lot of the time so..
|
# HoS will have this on them a lot of the time so..
|
||||||
@@ -251,7 +251,7 @@
|
|||||||
- type: NotJobRequirement
|
- type: NotJobRequirement
|
||||||
job: HeadOfSecurity
|
job: HeadOfSecurity
|
||||||
- type: StealCondition
|
- type: StealCondition
|
||||||
stealGroup: WeaponEnergyShotgun
|
stealGroup: WeaponEnergyMagnum
|
||||||
owner: job-name-hos
|
owner: job-name-hos
|
||||||
|
|
||||||
## ce
|
## ce
|
||||||
|
|||||||
@@ -91,9 +91,9 @@
|
|||||||
<GuideEntityEmbed Entity="ClothingOuterHardsuitRd" Caption=""/>
|
<GuideEntityEmbed Entity="ClothingOuterHardsuitRd" Caption=""/>
|
||||||
<GuideEntityEmbed Entity="HandTeleporter" Caption=""/>
|
<GuideEntityEmbed Entity="HandTeleporter" Caption=""/>
|
||||||
</Box>
|
</Box>
|
||||||
- Stealing the [color=#cb0000]Head of Security[/color]'s [bold]energy shotgun[/bold].
|
- Stealing the [color=#cb0000]Head of Security[/color]'s [bold]energy magnum[/bold].
|
||||||
<Box>
|
<Box>
|
||||||
<GuideEntityEmbed Entity="WeaponEnergyShotgun" Caption=""/>
|
<GuideEntityEmbed Entity="WeaponEnergyMagnum" Caption=""/>
|
||||||
</Box>
|
</Box>
|
||||||
- Stealing the [color=#f39f27]Chief Engineer[/color]'s [bold]advanced magboots[/bold].
|
- Stealing the [color=#f39f27]Chief Engineer[/color]'s [bold]advanced magboots[/bold].
|
||||||
<Box>
|
<Box>
|
||||||
|
|||||||
|
After Width: | Height: | Size: 966 B |
|
After Width: | Height: | Size: 224 B |
|
After Width: | Height: | Size: 224 B |
|
After Width: | Height: | Size: 987 B |
|
After Width: | Height: | Size: 897 B |
|
After Width: | Height: | Size: 898 B |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 490 B |
|
After Width: | Height: | Size: 493 B |
|
After Width: | Height: | Size: 537 B |
@@ -0,0 +1,53 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-NC-SA-3.0",
|
||||||
|
"copyright": "Created by BoskiYourk (GitHub), edited by spanky-spanky (GitHub)",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "icon"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "base"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mag-unshaded-3"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mag-unshaded-2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mag-unshaded-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mag-unshaded-0",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.35,
|
||||||
|
0.35,
|
||||||
|
0.35,
|
||||||
|
0.35
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "inhand-left",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "inhand-right",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "equipped-BELT",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "equipped-SUITSTORAGE",
|
||||||
|
"directions": 4
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 741 B |
|
After Width: | Height: | Size: 733 B |
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-NC-SA-3.0",
|
||||||
|
"copyright": "Created by BoskiYourk (GitHub)",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "magnum"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "magnum_piercing"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||