Files
necromanceranne d76d2f5438 Laser Gun Update: Deep Lore, Gun Variety, Pew Pew (#93520)
## About The Pull Request

Updates the laser gun into four proper subtypes: Standard, Pistol, Rifle
and Carbine.

<img width="229" height="210" alt="image"
src="https://github.com/user-attachments/assets/12c03076-8ebf-4d87-8c98-6a8cce6821db"
/>

Current sprites are pending a palette change.

**Standard:** Functions as you would expect. Same as ever.

**Pistol**: Lower charge, 20 force, normal sized, recharges faster.

**Carbine**: 15 force, 26 mag, two round burst. Projectiles flight
slightly faster. Cannot dual-wield.

**Rifle**: 20 force. 40 mag. Two round burst. EMP resistant (not
immune). Projectiles fly slightly faster. Cannot dual-wield (not that
you need to).

All but the rifle can be sourced from cargo. You can also buy the sovl
version of the laser gun if you're especially nostalgic.

### Armory Changes

The Armory now can potentially spawn either pistols, carbines or
standard. The weighting leans closer to spawning carbines and standard
as opposed to pistols.

### Lore Dump

The laser line of weapons now all have lore. That rich, deep lore that
every game needs and is totally not important at all to the meat and
potatoes of the game. I'm paid by the hour ($0.00)

### Code Tidying

Lasers are old and a total mess code-wise so we've tidied up while we're
here.

## Why It's Good For The Game

Variety is the spice of life and also some of these weapons could have
used a face lift. Especially the laser carbine. Both functionaltiy wise
and appearance wise.

A bit of randomness in the armory means some rounds might have unique
outcomes compared to others. Sometimes, items in cargo don't see
particularly much use, so peppering in a few random potential deviations
can maybe nudge people to utilize variant gear on future rounds.

I'm obsessed with writing too much information. I blame Hatterhat.

## Changelog
🆑
add: Three variants of the laser gun; Carbine (replacing the existing
one), Pistol and Rifle! Find it (possibly) in your armory today!
balance: The armory laser guns might be different variants of the laser
gun, rather than always being the standard. The standard is the same as
ever, even if it looks different.
add: If you care, the sovl version is available as a goodie. And in the
hands of pirates...
spellcheck: Lore! LORE FOR LASER GUNS! LOOOORE! Examine laser guns
closely and you might learn more about them.
balance: The new set of laser guns come with brand new sprites.
/🆑

---------

Co-authored-by: StaringGasMask <62149527+Exester509@users.noreply.github.com>
2025-11-20 22:21:16 -05:00

98 lines
2.7 KiB
Plaintext

// Weapon exports. Stun batons, disablers, etc.
/datum/export/weapon
abstract_type = /datum/export/weapon
include_subtypes = FALSE
/datum/export/weapon/baton
cost = CARGO_CRATE_VALUE * 0.5
unit_name = "stun baton"
export_types = list(/obj/item/melee/baton/security)
exclude_types = list(/obj/item/melee/baton/security/cattleprod)
include_subtypes = TRUE
/datum/export/weapon/knife
cost = CARGO_CRATE_VALUE * 0.5
unit_name = "combat knife"
export_types = list(/obj/item/knife/combat)
/datum/export/weapon/taser
cost = CARGO_CRATE_VALUE
unit_name = "advanced taser"
export_types = list(/obj/item/gun/energy/e_gun/advtaser)
/datum/export/weapon/laser
cost = CARGO_CRATE_VALUE
unit_name = "laser gun"
export_types = list(/obj/item/gun/energy/laser)
exclude_types = list(
/obj/item/gun/energy/laser/pistol,
/obj/item/gun/energy/laser/assault,
)
/datum/export/weapon/laser_pistol
cost = CARGO_CRATE_VALUE * 0.2
unit_name = "laser pistol"
export_types = list(/obj/item/gun/energy/laser/pistol)
/datum/export/weapon/laser_assault
cost = CARGO_CRATE_VALUE * 10
unit_name = "assault laser gun"
export_types = list(/obj/item/gun/energy/laser/assault)
/datum/export/weapon/disabler
cost = CARGO_CRATE_VALUE * 0.5
unit_name = "disabler"
export_types = list(/obj/item/gun/energy/disabler)
/datum/export/weapon/energy_gun
cost = CARGO_CRATE_VALUE * 1.5
unit_name = "energy gun"
export_types = list(/obj/item/gun/energy/e_gun)
/datum/export/weapon/inferno
cost = CARGO_CRATE_VALUE * 1.5
unit_name = "inferno pistol"
export_types = list(/obj/item/gun/energy/laser/thermal/inferno)
/datum/export/weapon/cryo
cost = CARGO_CRATE_VALUE * 1.5
unit_name = "cryo pistol"
export_types = list(/obj/item/gun/energy/laser/thermal/cryo)
/datum/export/weapon/shotgun
cost = CARGO_CRATE_VALUE * 1.5
unit_name = "combat shotgun"
export_types = list(/obj/item/gun/ballistic/shotgun/automatic/combat)
/datum/export/weapon/flashbang
cost = CARGO_CRATE_VALUE * 0.025
unit_name = "flashbang grenade"
export_types = list(/obj/item/grenade/flashbang)
/datum/export/weapon/teargas
cost = CARGO_CRATE_VALUE * 0.025
unit_name = "tear gas grenade"
export_types = list(/obj/item/grenade/chem_grenade/teargas)
/datum/export/weapon/flash
cost = CARGO_CRATE_VALUE * 0.025
unit_name = "handheld flash"
export_types = list(/obj/item/assembly/flash)
include_subtypes = TRUE
/datum/export/weapon/handcuffs
cost = CARGO_CRATE_VALUE * 0.015
unit_name = "pair"
message = "of handcuffs"
export_types = list(/obj/item/restraints/handcuffs)
/datum/export/weapon/wt550
cost = CARGO_CRATE_VALUE * 1.5
unit_name = "WT-550 automatic rifle"
export_types = list(/obj/item/gun/ballistic/automatic/wt550)