Replace the machete and laser in the borg weapons module with an e-dagger and recharging viper (#26947)

* no more lasers for you, borg.

* downgrade

* echis

* echis

* itemtoggleupdate

* daggerparenting

* fixtypo

* more bullet per bullet
This commit is contained in:
Alzore
2024-07-21 02:04:33 -05:00
committed by GitHub
parent c22906205e
commit c8725825be
11 changed files with 160 additions and 14 deletions

View File

@@ -505,8 +505,8 @@
- state: icon-syndicate - state: icon-syndicate
- type: ItemBorgModule - type: ItemBorgModule
items: items:
- WeaponAdvancedLaser - WeaponPistolEchis
- Machete - EnergyDaggerLoud
- type: entity - type: entity
id: BorgModuleOperative id: BorgModuleOperative

View File

@@ -102,6 +102,41 @@
gun_magazine: !type:ContainerSlot gun_magazine: !type:ContainerSlot
gun_chamber: !type:ContainerSlot gun_chamber: !type:ContainerSlot
- type: entity
name: echis
parent: BaseItem
id: WeaponPistolEchis
description: A viper for use by cyborgs. Creates .35 ammo on the fly from an internal ammo fabricator, which slowly self-charges.
components:
- type: Gun
fireRate: 5
selectedMode: SemiAuto
availableModes:
- SemiAuto
- FullAuto
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/pistol.ogg
- type: Sprite
sprite: Objects/Weapons/Guns/Pistols/viper.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-0
map: ["enum.GunVisualLayers.Mag"]
- type: ContainerContainer
containers:
ballistic-ammo: !type:Container
- type: ProjectileBatteryAmmoProvider
proto: BulletPistol
fireCost: 100
- type: Battery
maxCharge: 1000
startingCharge: 1000
- type: BatterySelfRecharger
autoRecharge: true
autoRechargeRate: 25
- type: AmmoCounter
- type: entity - type: entity
name: cobra name: cobra
parent: BaseWeaponPistol parent: BaseWeaponPistol

View File

@@ -81,26 +81,25 @@
temperature: 700 temperature: 700
- type: entity - type: entity
name: pen name: energy dagger
parent: EnergySword parent: EnergySword
id: EnergyDagger id: EnergyDaggerLoud
suffix: E-Dagger description: A not as loud and dangerous dagger with a beam made of pure, concentrated plasma. This one is completely undisguised.
description: 'A dark ink pen.'
components: components:
- type: ItemToggle - type: ItemToggle
soundActivate: soundActivate:
path: /Audio/Weapons/ebladeon.ogg path: /Audio/Weapons/ebladeon.ogg
params: params:
volume: -6 volume: -3
soundDeactivate: soundDeactivate:
path: /Audio/Weapons/ebladeoff.ogg path: /Audio/Weapons/ebladeoff.ogg
params: params:
volume: -6 volume: -3
- type: ItemToggleMeleeWeapon - type: ItemToggleMeleeWeapon
activatedSoundOnSwing: activatedSoundOnSwing:
path: /Audio/Weapons/eblademiss.ogg path: /Audio/Weapons/eblademiss.ogg
params: params:
volume: -6 volume: -3
variation: 0.250 variation: 0.250
activatedDamage: activatedDamage:
types: types:
@@ -111,14 +110,14 @@
activeSound: activeSound:
path: /Audio/Weapons/ebladehum.ogg path: /Audio/Weapons/ebladehum.ogg
params: params:
volume: -6 volume: -3
- type: ComponentToggler - type: ComponentToggler
components: components:
- type: Sharp - type: Sharp
- type: DisarmMalus - type: DisarmMalus
malus: 0.4 malus: 0.4
- type: Sprite - type: Sprite
sprite: Objects/Weapons/Melee/e_dagger.rsi sprite: Objects/Weapons/Melee/e_dagger_loud.rsi
layers: layers:
- state: e_sword - state: e_sword
- state: e_sword_blade - state: e_sword_blade
@@ -135,7 +134,7 @@
Blunt: 1 Blunt: 1
- type: Item - type: Item
size: Tiny size: Tiny
sprite: Objects/Weapons/Melee/e_dagger.rsi sprite: Objects/Weapons/Melee/e_dagger_loud.rsi
- type: UseDelay - type: UseDelay
delay: 1.0 delay: 1.0
- type: PointLight - type: PointLight
@@ -154,11 +153,45 @@
right: right:
- state: inhand-right-blade - state: inhand-right-blade
shader: unshaded shader: unshaded
- type: DisarmMalus
malus: 0
- type: entity
name: pen
parent: EnergyDaggerLoud
id: EnergyDagger
suffix: E-Dagger
description: 'A dark ink pen.'
components:
- type: ItemToggle
soundActivate:
path: /Audio/Weapons/ebladeon.ogg
params:
volume: -6
soundDeactivate:
path: /Audio/Weapons/ebladeoff.ogg
params:
volume: -6
- type: ItemToggleActiveSound
activeSound:
path: /Audio/Weapons/ebladehum.ogg
params:
volume: -6
- type: Sprite
sprite: Objects/Weapons/Melee/e_dagger.rsi
layers:
- state: e_sword
- state: e_sword_blade
color: "#FFFFFF"
visible: false
shader: unshaded
map: [ "blade" ]
- type: Item
size: Tiny
sprite: Objects/Weapons/Melee/e_dagger.rsi
- type: Tag - type: Tag
tags: tags:
- Write - Write
- type: DisarmMalus
malus: 0
- type: entity - type: entity
parent: BaseItem parent: BaseItem

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 385 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

View File

@@ -0,0 +1,78 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation and modified by alzore_(Discord)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "e_sword"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "e_sword_blade",
"delays": [
[
0.1,
0.1
]
]
},
{
"name": "inhand-left-blade",
"directions": 4,
"delays": [
[
0.1,
0.1
],
[
0.1,
0.1
],
[
0.1,
0.1
],
[
0.1,
0.1
]
]
},
{
"name": "inhand-right-blade",
"directions": 4,
"delays": [
[
0.1,
0.1
],
[
0.1,
0.1
],
[
0.1,
0.1
],
[
0.1,
0.1
]
]
}
]
}