Files
BatrachophrenoandGitHub ad2a83db85 Add various additional hints to guns, minor projectiles code cleanup (#21633)
As title. Adds several mechanics/assembly/disassembly hints to several
gun types, and also handles some minor code cleanup where I found
issues. No mechanical changes.
2025-12-23 20:05:54 +00:00

44 lines
1.6 KiB
Plaintext

/obj/item/gun/energy/pulse
name = "pulse carbine"
desc = "A weapon that uses advanced pulse-based beam generation technology to emit powerful laser blasts. Because of its complexity and cost, it is rarely seen in use except by specialists."
icon = 'icons/obj/guns/pulse_carbine.dmi'
icon_state = "pulse_carbine"
item_state = "pulse_carbine"
slot_flags = SLOT_BELT
force = 11
fire_sound='sound/weapons/laser1.ogg'
projectile_type = /obj/projectile/beam
sel_mode = 2
accuracy = 1
max_shots = 10
can_turret = TRUE
secondary_projectile_type = /obj/projectile/beam/pulse
secondary_fire_sound = 'sound/weapons/pulse.ogg'
can_switch_modes = FALSE
turret_sprite_set = "pulse"
turret_is_lethal = TRUE
firemodes = list(
list(mode_name="stun", projectile_type=/obj/projectile/beam/stun, fire_sound='sound/weapons/Taser.ogg'),
list(mode_name="lethal", projectile_type=/obj/projectile/beam, fire_sound='sound/weapons/laser1.ogg'),
list(mode_name="DESTROY", projectile_type=/obj/projectile/beam/pulse, fire_sound='sound/weapons/pulse.ogg', fire_delay=25)
)
/obj/item/gun/energy/pulse/mounted
name = "mounted pulse carbine"
charge_cost = 400
self_recharge = TRUE
use_external_power = TRUE
recharge_time = 10
can_turret = FALSE
/obj/item/gun/energy/pulse/pistol
name = "pulse pistol"
desc = "A weapon that uses advanced pulse-based beam generation technology to emit powerful laser blasts. This one is a really compact model."
slot_flags = SLOT_BELT|SLOT_HOLSTER
icon = 'icons/obj/guns/pulse_pistol.dmi'
icon_state = "pulse_pistol"
item_state = "pulse_pistol"
offhand_accuracy = 1
max_shots = 5