Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Resources/Prototypes/Entities/Objects/Power/powercells.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
- type: Appearance
- type: PowerCellVisuals
- type: Riggable
- type: HitscanBatteryAmmoProvider
proto: RedLaser
fireCost: 50
- type: ProjectileBatteryAmmoProvider #HitscanBatteryAmmoProvider
proto: InfantryLasboltPistol #RedLaser
fireCost: 30 #original is 50

- type: entity
name: potato battery
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,10 @@
- type: Appearance

- type: entity
name: SHI 90c Kamakawi laser carbine
name: Jury Rigged SHI 90c 'Taiyo' Laser Rifle
parent: [BaseWeaponBattery, BaseGunWieldable]
id: WeaponLaserCarbine
description: Favoured by Nanotrasen Security for being cheap and easy to use.
description: A Taiyo laser rifle that has been jury rigged to run on an internal battery. It seems like someone welded the battery into the rifle, voiding the warranty.
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Battery/laser_gun.rsi
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,293 @@
#the projectile used for hullrot lasguns, i pray this one works
- type: entity
id: InfantryLasboltMedium
name: las bolt
parent: BaseBullet
categories: [ HideSpawnMenu ]
components:
- type: Projectile
damage:
types:
Heat: 15
Structural: 20
#harmorPenetration: 15
stoppingPower: 1
#color: "#ff0101"
- type: Fixtures
fixtures:
projectile:
shape:
!type:PhysShapeAabb
bounds: "-0.15,-0.3,0.15,0.3"
hard: false
mask:
- Opaque # WWDP allow shooting through windows
- type: Reflective
reflective:
- Energy
- type: FlyBySound
sound:
collection: EnergyMiss
params:
volume: 5
- type: PointLight
radius: 3
color: "#ff0101"
energy: 1
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/projectiles.rsi #_Crescent/Objects/Weapons/Projectiles/plasma.rsi
layers:
- state: beam #icon
color: "#ff0101"
rotation: 90
- type: ProjectilePhasePrevent

- type: entity
id: InfantryLasboltPistol
name: pistol las bolt
parent: BaseBullet
categories: [ HideSpawnMenu ]
components:
- type: Projectile
damage:
types:
Heat: 8
Structural: 10
#harmorPenetration: 15
stoppingPower: 1
#color: "#07ff13"
- type: Fixtures
fixtures:
projectile:
shape:
!type:PhysShapeAabb
bounds: "-0.15,-0.3,0.15,0.3"
hard: false
mask:
- Opaque # WWDP allow shooting through windows
- type: Reflective
reflective:
- Energy
- type: FlyBySound
sound:
collection: EnergyMiss
params:
volume: 5
- type: PointLight
radius: 3
color: "#07ff13"
energy: 1
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/projectiles.rsi
layers:
- state: beam #icon
color: "#07ff13"
rotation: 90
- type: ProjectilePhasePrevent

- type: entity
name : hullrot disabler bolt
id: HullrotBulletDisabler
parent: BaseBullet
categories: [ HideSpawnMenu ]
components:
- type: Reflective
reflective:
- Energy
- type: FlyBySound
sound:
collection: EnergyMiss
params:
volume: 5
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/projectiles_tg.rsi
layers:
- state: omnilaser
shader: unshaded
- type: Physics
- type: Fixtures
fixtures:
projectile:
shape:
!type:PhysShapeAabb
bounds: "-0.15,-0.3,0.15,0.3"
hard: false
mask:
- Opaque # WWDP allow shooting through windows
- type: Ammo
- type: StaminaDamageOnCollide
damage: 10
- type: Projectile
impactEffect: BulletImpactEffectDisabler
damage:
types:
Shock: 1 #can't remove this because it just makes it deal blunt... which is fucked
soundHit:
collection: WeakHit
forceSound: true

######################

#Energy Cells

#Lasrifle Energy Cell
- type: entity
name: SHI 90c Las-rifle Power Cell
id: lasgunriflepowercell
description: The SHI 90c Las-rifle Power Cell is the most ubiquitous weapons-grade power cell in the taypan market today. Able to be used as a regular power cell, in times of need.
parent: BaseItem
components:
- type: Item
storedRotation: -90
- type: Battery
maxCharge: 1080 #same size as a regular high-capacity cell
startingCharge: 1080
- type: PowerCell
- type: Explosive
explosionType: Default
maxIntensity: 200
intensitySlope: 1.5
- type: Sprite
sprite: Objects/Power/power_cells.rsi
layers:
- map: [ "enum.PowerCellVisualLayers.Base" ]
state: small
color: "#e5222c"
- map: [ "enum.PowerCellVisualLayers.Unshaded" ]
state: o2
shader: unshaded
- type: SolutionContainerManager
solutions:
battery:
maxVol: 5
- type: InjectableSolution
solution: battery
- type: DrawableSolution
solution: battery
- type: Extractable
juiceSolution:
reagents:
- ReagentId: Zinc
Quantity: 5
- type: Tag
tags:
- PowerCell
- EnergygunCell
- type: Appearance
- type: MachinePart
part: PowerCell
rating: 2
- type: PowerCellVisuals
- type: Riggable
- type: ProjectileBatteryAmmoProvider
proto: InfantryLasboltMedium
fireCost: 27 #should give atleast 40 shots, not too many that it's OP, but high enough that it's got viability as a gun.
#- type: HitscanBatteryAmmoProvider
#proto: HullrotRedLaser
#fireCost: 27 #should give atleast 40 shots, not too many that it's OP, but high enough that it's got viability as a gun.

#Laspistol Energy Cell
- type: entity
name: SHI 60c Las-pistol Power Cell
id: lasgunpistolpowercell
description: The SHI 60c Las-pistol Power Cell is the most ubiquitous weapons-grade power cell in the taypan market today. Able to be used as a regular power cell, in times of need.
parent: BaseItem
components:
- type: Item
storedRotation: -90
- type: Battery
maxCharge: 1080 #same size as a regular high-capacity cell
startingCharge: 1080
- type: PowerCell
- type: Explosive
explosionType: Default
maxIntensity: 200
intensitySlope: 1.5
- type: Sprite
sprite: Objects/Power/power_cells.rsi
layers:
- map: [ "enum.PowerCellVisualLayers.Base" ]
state: small
color: "#07ff13"
- map: [ "enum.PowerCellVisualLayers.Unshaded" ]
state: o2
shader: unshaded
- type: SolutionContainerManager
solutions:
battery:
maxVol: 5
- type: InjectableSolution
solution: battery
- type: DrawableSolution
solution: battery
- type: Extractable
juiceSolution:
reagents:
- ReagentId: Zinc
Quantity: 5
- type: Tag
tags:
- PowerCell
- PistolEnergygunCell
- type: Appearance
- type: MachinePart
part: PowerCell
rating: 2
- type: PowerCellVisuals
- type: Riggable
- type: ProjectileBatteryAmmoProvider
proto: InfantryLasboltPistol
fireCost: 13 #gives it 80 shots, more ammo, but it's weaker than a proper lasgun.

#Disabler Energy Cell
- type: entity
name: SHI 30c "Yamete" Disabler Power Cell
id: lasgunpowercelldisabler
description: The SHI 30c "Yamete" Disabler Power Cell is a power cell tuned to non-lethal frequencies, for capturing your targets alive. Wish your foes a SHInotastic! ending with this power cell.
parent: BaseItem
components:
- type: Item
storedRotation: -90
- type: Battery
maxCharge: 1080 #same size as a regular high-capacity cell
startingCharge: 1080
- type: PowerCell
- type: Explosive
explosionType: Default
maxIntensity: 200
intensitySlope: 1.5
- type: Sprite
sprite: Objects/Power/power_cells.rsi
layers:
- map: [ "enum.PowerCellVisualLayers.Base" ]
state: small
color: "#22cee5"
- map: [ "enum.PowerCellVisualLayers.Unshaded" ]
state: o2
shader: unshaded
- type: SolutionContainerManager
solutions:
battery:
maxVol: 5
- type: InjectableSolution
solution: battery
- type: DrawableSolution
solution: battery
- type: Extractable
juiceSolution:
reagents:
- ReagentId: Zinc
Quantity: 5
- type: Tag
tags:
- PowerCell
- DisablerEnergyCell
- type: Appearance
- type: MachinePart
part: PowerCell
rating: 2
- type: PowerCellVisuals
- type: Riggable
- type: ProjectileBatteryAmmoProvider
proto: HullrotBulletDisabler
fireCost: 27 #should give the battery 40 shots
Loading
Loading