mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
98 lines
5.1 KiB
Plaintext
98 lines
5.1 KiB
Plaintext
// Phase weapons go here
|
||
//CHOMP Edit: Each phase gun now has the same safety lock as frontier phasers. Every pathname now has "locked" and "unlocked", basically. This code comes from /code/modules/projectiles/guns/energy/laser_vr.dm.
|
||
|
||
/obj/item/gun/energy/locked/phasegun
|
||
name = "EW26 Artemis" //ChompEDIT
|
||
desc = "The RayZar EW26 Artemis, also known as the 'phase carbine', is a downsized energy-based weapon specifically designed for use against wildlife. This one has a safety interlock that prevents firing while in proximity to the facility." //ChompEDIT
|
||
description_fluff = "RayZar is Ward-Takahashi’s main consumer weapons brand, known for producing and licensing a wide variety of specialist energy weapons of various types and quality primarily for the civilian market."
|
||
icon = 'icons/obj/gun.dmi' // CHOMPEdit: Gun Sprites
|
||
icon_state = "phasecarbine"
|
||
item_state = "phasecarbine"
|
||
wielded_item_state = "phasecarbine-wielded"
|
||
slot_flags = SLOT_BACK|SLOT_BELT
|
||
charge_cost = 160 //Chompedit Bringing charge cost down for all phase weapons. 15 shots on normal cell
|
||
projectile_type = /obj/item/projectile/energy/phase
|
||
one_handed_penalty = 15
|
||
recoil_mode = 0
|
||
|
||
/obj/item/gun/energy/locked/phasegun/unlocked
|
||
desc = "The RayZar EW26 Artemis, also known as the 'phase carbine', is a downsized energy-based weapon specifically designed for use against wildlife." //ChompEDIT
|
||
req_access = newlist() //for toggling safety
|
||
locked = 0
|
||
lockable = 0
|
||
|
||
/obj/item/gun/energy/locked/phasegun/unlocked/mounted
|
||
self_recharge = 1
|
||
use_external_power = 1
|
||
one_handed_penalty = 0
|
||
|
||
/obj/item/gun/energy/locked/phasegun/unlocked/mounted/cyborg
|
||
charge_cost = 160 //ChompEdit Reduced from 480 to 200, further reduced to 80 to match normal phase guns
|
||
recharge_time = 16 //ChompEdit set up to 16 due to lower charge cost
|
||
|
||
/obj/item/gun/energy/locked/phasegun/pistol
|
||
name = "EW15 Apollo" //ChompEDIT
|
||
desc = "The RayZar EW15 Apollo, also known as the 'phase pistol', is an energy-based handgun specifically designed for self-defense against aggressive wildlife. This one has a safety interlock that prevents firing while in proximity to the facility." //ChompEDIT
|
||
icon_state = "phase"
|
||
item_state = "taser" //I don't have an in-hand sprite, taser will be fine
|
||
w_class = ITEMSIZE_NORMAL
|
||
slot_flags = SLOT_BELT|SLOT_HOLSTER
|
||
charge_cost = 160 //Chompedit Bringing charge cost down for all phase weapons. 15 shots on normal cell
|
||
projectile_type = /obj/item/projectile/energy/phase/light
|
||
one_handed_penalty = 0
|
||
move_delay = 0 // CHOMPEdit: Pistols have move_delay of 0
|
||
|
||
/obj/item/gun/energy/locked/phasegun/pistol/unlocked
|
||
desc = "The RayZar EW15 Apollo, also known as the 'phase pistol', is an energy-based handgun specifically designed for self-defense against aggressive wildlife." //ChompEDIT
|
||
req_access = newlist() //for toggling safety
|
||
locked = 0
|
||
lockable = 0
|
||
|
||
/obj/item/gun/energy/locked/phasegun/pistol/unlocked/mounted
|
||
name = "mounted phase pistol"
|
||
self_recharge = 1
|
||
use_external_power = 1
|
||
|
||
/obj/item/gun/energy/locked/phasegun/pistol/unlocked/mounted/cyborg
|
||
charge_cost = 160 //Chompedit, bringing in line with normal phase weapons
|
||
recharge_time = 7
|
||
|
||
|
||
/obj/item/gun/energy/locked/phasegun/rifle
|
||
name = "EW31 Orion" //ChompEDIT
|
||
desc = "The RayZar EW31 Orion, also known as the 'phase rifle', is a specialist energy-based weapon intended for use against hostile wildlife. This one has a safety interlock that prevents firing while in proximity to the facility." //ChompEDIT
|
||
icon_state = "phaserifle"
|
||
item_state = "phaserifle"
|
||
wielded_item_state = "phaserifle-wielded"
|
||
w_class = ITEMSIZE_LARGE
|
||
slot_flags = SLOT_BACK
|
||
charge_cost = 160 //Chompedit Bringing charge cost down for all phase weapons. 15 shots on normal cell
|
||
projectile_type = /obj/item/projectile/energy/phase/heavy
|
||
accuracy = 15
|
||
one_handed_penalty = 30
|
||
|
||
/obj/item/gun/energy/locked/phasegun/rifle/unlocked
|
||
desc = "The RayZar EW31 Orion, also known as the 'phase rifle', is a specialist energy-based weapon intended for use against hostile wildlife." //ChompEDIT
|
||
req_access = newlist() //for toggling safety
|
||
locked = 0
|
||
lockable = 0
|
||
|
||
/obj/item/gun/energy/locked/phasegun/cannon
|
||
name = "EW50 Gaia" //ChompEDIT
|
||
desc = "The RayZar EW50 Gaia, also known as the 'phase cannon', is a massive energy weapon purpose-built for clearing land. You feel dirty just looking at it. This one has a safety interlock that prevents firing while in proximity to the facility." //ChompEDIT
|
||
icon_state = "phasecannon"
|
||
item_state = "phasecannon"
|
||
wielded_item_state = "phasecannon-wielded" //TODO: New Sprites
|
||
w_class = ITEMSIZE_HUGE // This thing is big.
|
||
slot_flags = SLOT_BACK
|
||
charge_cost = 160 //Chompedit Bringing charge cost down for all phase weapons. 15 shots on normal cell
|
||
projectile_type = /obj/item/projectile/energy/phase/heavy/cannon
|
||
accuracy = 15
|
||
one_handed_penalty = 65
|
||
|
||
/obj/item/gun/energy/locked/phasegun/cannon/unlocked
|
||
desc = "The RayZar EW50 Gaia, also known as the 'phase cannon', is a massive energy weapon purpose-built for clearing land. You feel dirty just looking at it." //ChompEDIT
|
||
req_access = newlist() //for toggling safety
|
||
locked = 0
|
||
lockable = 0
|