From: ToastEnjoyer Date: Thu, 11 Sep 2025 02:37:10 +0000 (-0500) Subject: Laser rifle is contraband again (#40253) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=46f59300acb99f3c2373bbc83ab446e0aa77621c;p=space-station-14.git Laser rifle is contraband again (#40253) * Fixed contraband tag * practice isnt contraband * Added base * Removal --- diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml index e4cb9ebb1a..821f63856e 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml @@ -26,6 +26,38 @@ - type: StaticPrice price: 500 +- type: entity + parent: [BaseWeaponBattery, BaseGunWieldable] + id: BaseLaserRifle + abstract: true + components: + - type: Item + size: Large + - type: Sprite + sprite: Objects/Weapons/Guns/Battery/laser_gun.rsi + layers: + - state: base + map: ["enum.GunVisualLayers.Base"] + - state: mag-unshaded-4 + map: ["enum.GunVisualLayers.MagUnshaded"] + shader: unshaded + - type: MagazineVisuals + magState: mag + steps: 5 + zeroVisible: false + - type: Appearance + - type: Clothing + sprite: Objects/Weapons/Guns/Battery/laser_gun.rsi + - type: Gun + selectedMode: SemiAuto + availableModes: + - SemiAuto + - type: HitscanBatteryAmmoProvider + proto: RedLaser + fireCost: 62.5 + - type: StaticPrice + price: 420 + - type: entity id: BaseWeaponPowerCell parent: BaseItem @@ -216,40 +248,13 @@ - type: entity name: laser carbine - parent: [BaseWeaponBattery, BaseGunWieldable] + parent: [BaseLaserRifle, BaseGunWieldable, BaseSecurityContraband] id: WeaponLaserCarbine description: Favoured by Nanotrasen Security for being cheap and easy to use. - components: - - type: Item - size: Large - - type: Sprite - sprite: Objects/Weapons/Guns/Battery/laser_gun.rsi - layers: - - state: base - map: ["enum.GunVisualLayers.Base"] - - state: mag-unshaded-4 - map: ["enum.GunVisualLayers.MagUnshaded"] - shader: unshaded - - type: MagazineVisuals - magState: mag - steps: 5 - zeroVisible: false - - type: Appearance - - type: Clothing - sprite: Objects/Weapons/Guns/Battery/laser_gun.rsi - - type: Gun - selectedMode: SemiAuto - availableModes: - - SemiAuto - - type: HitscanBatteryAmmoProvider - proto: RedLaser - fireCost: 62.5 - - type: StaticPrice - price: 420 - type: entity name: practice laser carbine - parent: [WeaponLaserCarbine, BaseGunWieldable] + parent: [BaseLaserRifle, BaseGunWieldable] id: WeaponLaserCarbinePractice description: This modified laser carbine fires nearly harmless beams in the 40-watt range, for target practice. components: