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-weapon-antique-laser = antique laser pistol
|
||||
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
|
||||
steal-target-groups-figurines = figurine
|
||||
|
||||
@@ -308,7 +308,7 @@
|
||||
id: LockerFillHeadOfSecurityNoHardsuit
|
||||
table: !type:AllSelector
|
||||
children:
|
||||
- id: WeaponEnergyShotgun
|
||||
- id: WeaponEnergyMagnum
|
||||
- id: BookSpaceLaw
|
||||
- id: BoxEncryptionKeySecurity
|
||||
- id: CigarGoldCase
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
amount: 2
|
||||
- id: NetworkConfigurator
|
||||
- id: Binoculars
|
||||
- id: WeaponEnergyShotgun
|
||||
|
||||
- type: entityTable
|
||||
id: FillLockerWardenHarduit
|
||||
|
||||
@@ -815,7 +815,7 @@
|
||||
|
||||
- type: entity
|
||||
name: energy shotgun
|
||||
parent: [BaseWeaponBattery, BaseGunWieldable, BaseGrandTheftContraband]
|
||||
parent: [BaseWeaponBattery, BaseGunWieldable, BaseSecurityContraband]
|
||||
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.
|
||||
components:
|
||||
@@ -853,20 +853,57 @@
|
||||
size: Large
|
||||
sprite: Objects/Weapons/Guns/Battery/inhands_64x.rsi
|
||||
heldPrefix: energy
|
||||
- type: Tag
|
||||
tags:
|
||||
- HighRiskItem
|
||||
- type: StealTarget
|
||||
stealGroup: WeaponEnergyShotgun
|
||||
- type: GunRequiresWield #remove when inaccuracy on spreads is fixed
|
||||
- type: Battery
|
||||
maxCharge: 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
|
||||
autoRecharge: true
|
||||
autoRechargeRate: 24
|
||||
autoRechargeRate: 48
|
||||
autoRechargePause: true
|
||||
autoRechargePauseTime: 30
|
||||
autoRechargePauseTime: 10
|
||||
|
||||
- type: entity
|
||||
name: temperature gun
|
||||
|
||||
@@ -1325,3 +1325,52 @@
|
||||
proto: BulletDisablerSmg
|
||||
count: 3 #bit stronger than a disabler if you hit your shots you goober, still not a 2 hit stun though
|
||||
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
|
||||
CaptainJetpackStealObjective: 0.5
|
||||
HandTeleporterStealObjective: 0.5
|
||||
EnergyShotgunStealObjective: 0.5
|
||||
EnergyMagnumStealObjective: 0.5
|
||||
|
||||
- type: weightedRandom
|
||||
id: TraitorObjectiveGroupKill
|
||||
|
||||
@@ -85,11 +85,11 @@
|
||||
state: icon
|
||||
|
||||
- type: stealTargetGroup
|
||||
id: WeaponEnergyShotgun
|
||||
name: steal-target-groups-weapon-energy-shot-gun
|
||||
id: WeaponEnergyMagnum
|
||||
name: steal-target-groups-weapon-energy-magnum
|
||||
sprite:
|
||||
sprite: Objects/Weapons/Guns/Battery/energy_shotgun.rsi
|
||||
state: base
|
||||
sprite: Objects/Weapons/Guns/Battery/energy_magnum.rsi
|
||||
state: icon
|
||||
|
||||
# Thief Collection
|
||||
|
||||
|
||||
@@ -243,7 +243,7 @@
|
||||
|
||||
- type: entity
|
||||
parent: BaseTraitorStealObjective
|
||||
id: EnergyShotgunStealObjective
|
||||
id: EnergyMagnumStealObjective
|
||||
components:
|
||||
- type: Objective
|
||||
# HoS will have this on them a lot of the time so..
|
||||
@@ -251,7 +251,7 @@
|
||||
- type: NotJobRequirement
|
||||
job: HeadOfSecurity
|
||||
- type: StealCondition
|
||||
stealGroup: WeaponEnergyShotgun
|
||||
stealGroup: WeaponEnergyMagnum
|
||||
owner: job-name-hos
|
||||
|
||||
## ce
|
||||
|
||||
@@ -91,9 +91,9 @@
|
||||
<GuideEntityEmbed Entity="ClothingOuterHardsuitRd" Caption=""/>
|
||||
<GuideEntityEmbed Entity="HandTeleporter" Caption=""/>
|
||||
</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>
|
||||
<GuideEntityEmbed Entity="WeaponEnergyShotgun" Caption=""/>
|
||||
<GuideEntityEmbed Entity="WeaponEnergyMagnum" Caption=""/>
|
||||
</Box>
|
||||
- Stealing the [color=#f39f27]Chief Engineer[/color]'s [bold]advanced magboots[/bold].
|
||||
<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"
|
||||
}
|
||||
]
|
||||
}
|
||||