|
4 | 4 | description_fluff = "Lawson Arms is Hephaestus Industries’ main personal-energy-weapon branding, often sold alongside MarsTech projectile weapons to security and law enforcement agencies."
|
5 | 5 | icon_state = "energystun100"
|
6 | 6 | item_state = null //so the human update icon uses the icon_state instead.
|
7 |
| - fire_delay = 10 // Handguns should be inferior to two-handed weapons. |
| 7 | + fire_delay = 1 SECOND // Handguns should be inferior to two-handed weapons. |
8 | 8 |
|
9 | 9 | projectile_type = /obj/item/projectile/beam/stun/med
|
10 | 10 | origin_tech = list(TECH_COMBAT = 3, TECH_MAGNET = 2)
|
|
13 | 13 | firemodes = list(
|
14 | 14 | list(mode_name="stun", projectile_type=/obj/item/projectile/beam/stun/med, modifystate="energystun", charge_cost = 240),
|
15 | 15 | list(mode_name="lethal", projectile_type=/obj/item/projectile/beam, modifystate="energykill", charge_cost = 480),
|
16 |
| - ) |
| 16 | + ) |
17 | 17 |
|
18 | 18 |
|
19 | 19 | /obj/item/gun/energy/gun/mounted
|
20 | 20 | name = "mounted energy gun"
|
21 |
| - self_recharge = 1 |
22 |
| - use_external_power = 1 |
| 21 | + self_recharge = TRUE |
| 22 | + use_external_power = TRUE |
23 | 23 |
|
24 | 24 | /obj/item/gun/energy/gun/burst
|
25 |
| - name = "burst laser" |
| 25 | + name = "burst energy gun" |
26 | 26 | desc = "The Lawson Arms FM-2t is a versatile energy based weapon, capable of switching between stun or kill with a three round burst option for both settings."
|
27 | 27 | description_fluff = "Lawson Arms is Hephaestus Industries’ main personal-energy-weapon branding, often sold alongside MarsTech projectile weapons to security and law enforcement agencies."
|
28 | 28 | icon_state = "riflestun100"
|
29 | 29 | item_state = null //so the human update icon uses the icon_state instead.
|
30 | 30 | charge_cost = 100
|
31 | 31 | force = 8
|
32 | 32 | w_class = ITEMSIZE_LARGE //Probably gonna make it a rifle sooner or later
|
33 |
| - fire_delay = 6 |
| 33 | + fire_delay = 0.8 SECONDS |
34 | 34 |
|
35 | 35 | projectile_type = /obj/item/projectile/beam/stun/weak
|
36 | 36 | origin_tech = list(TECH_COMBAT = 4, TECH_MAGNET = 2, TECH_ILLEGAL = 3)
|
|
40 | 40 | // one_handed_penalty = 30
|
41 | 41 |
|
42 | 42 | firemodes = list(
|
43 |
| - list(mode_name="stun", burst=1, projectile_type=/obj/item/projectile/beam/stun/weak, modifystate="riflestun", charge_cost = 100), |
44 |
| - list(mode_name="stun burst", burst=3, fire_delay=null, move_delay=4, burst_accuracy=list(0,0,0), dispersion=list(0.0, 0.2, 0.5), projectile_type=/obj/item/projectile/beam/stun/weak, modifystate="riflestun"), |
45 |
| - list(mode_name="lethal", burst=1, projectile_type=/obj/item/projectile/beam/burstlaser, modifystate="riflekill", charge_cost = 200), |
46 |
| - list(mode_name="lethal burst", burst=3, fire_delay=null, move_delay=4, burst_accuracy=list(0,0,0), dispersion=list(0.0, 0.2, 0.5), projectile_type=/obj/item/projectile/beam/burstlaser, modifystate="riflekill"), |
47 |
| - ) |
| 43 | + list(mode_name = "stun", burst = 1, projectile_type = /obj/item/projectile/beam/stun/weak, |
| 44 | + modifystate = "riflestun" |
| 45 | + ), |
| 46 | + list(mode_name = "stun burst", burst = 3, fire_delay = 1 SECOND, move_delay = 4, |
| 47 | + burst_accuracy = list(0,0,0), dispersion = list(0.0, 0.2, 0.5), |
| 48 | + projectile_type = /obj/item/projectile/beam/stun/weak, modifystate = "riflestun" |
| 49 | + ), |
| 50 | + list(mode_name = "lethal", burst = 1, projectile_type = /obj/item/projectile/beam/burstlaser, |
| 51 | + modifystate = "riflekill", charge_cost = 200 |
| 52 | + ), |
| 53 | + list(mode_name = "lethal burst", burst = 3, fire_delay = 1 SECOND, move_delay = 4, |
| 54 | + burst_accuracy = list(0,0,0), dispersion = list(0.0, 0.2, 0.5), |
| 55 | + projectile_type = /obj/item/projectile/beam/burstlaser, modifystate = "riflekill", |
| 56 | + charge_cost = 200 |
| 57 | + ), |
| 58 | + ) |
48 | 59 |
|
49 | 60 | /obj/item/gun/energy/gun/nuclear
|
50 | 61 | name = "advanced energy gun"
|
|
55 | 66 | slot_flags = SLOT_BELT
|
56 | 67 | force = 8 //looks heavier than a pistol
|
57 | 68 | w_class = ITEMSIZE_LARGE //Looks bigger than a pistol, too.
|
58 |
| - fire_delay = 6 //This one's not a handgun, it should have the same fire delay as everything else |
| 69 | + fire_delay = 0.8 SECONDS //This one's not a handgun, it should have the same fire delay as everything else |
59 | 70 | cell_type = /obj/item/cell/device/weapon/recharge
|
60 | 71 | battery_lock = 1
|
61 | 72 | modifystate = null
|
|
64 | 75 | // one_handed_penalty = 15 // It's rather bulky, so holding it in one hand is a little harder than with two, however it's not 'required'.
|
65 | 76 |
|
66 | 77 | firemodes = list(
|
67 |
| - list(mode_name="stun", projectile_type=/obj/item/projectile/beam/stun, modifystate="nucgunstun", charge_cost = 240), |
68 |
| - list(mode_name="lethal", projectile_type=/obj/item/projectile/beam, modifystate="nucgunkill", charge_cost = 480), |
69 |
| - ) |
| 78 | + list(mode_name = "stun", projectile_type = /obj/item/projectile/beam/stun, modifystate = "nucgunstun", charge_cost = 240), |
| 79 | + list(mode_name = "lethal", projectile_type = /obj/item/projectile/beam, modifystate = "nucgunkill", charge_cost = 480), |
| 80 | + ) |
70 | 81 |
|
71 | 82 | //Functionally a Perun, but flavoured.
|
72 | 83 | /obj/item/gun/energy/gun/compact
|
|
80 | 91 | modifystate = "PDWstun"
|
81 | 92 |
|
82 | 93 | firemodes = list(
|
83 |
| - list(mode_name="stun", projectile_type=/obj/item/projectile/beam/stun/med, modifystate="PDWstun", charge_cost = 240), |
84 |
| - list(mode_name="lethal", projectile_type=/obj/item/projectile/beam, modifystate="PDWkill", charge_cost = 480), |
85 |
| - ) |
| 94 | + list(mode_name = "stun", projectile_type = /obj/item/projectile/beam/stun/med, modifystate = "PDWstun", charge_cost = 240), |
| 95 | + list(mode_name = "lethal", projectile_type = /obj/item/projectile/beam, modifystate = "PDWkill", charge_cost = 480), |
| 96 | + ) |
86 | 97 |
|
87 | 98 | //What if we went smaller?
|
88 | 99 | /obj/item/gun/energy/gun/pocket
|
|
95 | 106 |
|
96 | 107 | modifystate = "egunstun"
|
97 | 108 | firemodes = list(
|
98 |
| - list(mode_name="stun", projectile_type=/obj/item/projectile/beam/stun/med, modifystate="egunstun", charge_cost = 240), |
99 |
| - list(mode_name="lethal", projectile_type=/obj/item/projectile/beam, modifystate="egunkill", charge_cost = 480), |
100 |
| - ) |
| 109 | + list(mode_name = "stun", projectile_type = /obj/item/projectile/beam/stun/med, modifystate = "egunstun", charge_cost = 240), |
| 110 | + list(mode_name = "lethal", projectile_type = /obj/item/projectile/beam, modifystate = "egunkill", charge_cost = 480), |
| 111 | + ) |
0 commit comments