Add wielded heavy protogun sprites and wield buttons for modular guns (#6187)
@@ -44,6 +44,15 @@
|
||||
to_chat(user, "You disassemble \the [src].")
|
||||
disassemble(user)
|
||||
|
||||
/obj/item/weapon/gun/energy/laser/prototype/update_icon()
|
||||
..()
|
||||
if(origin_chassis == CHASSIS_LARGE)
|
||||
if(wielded)
|
||||
item_state = "heavyprotogun_wielded"
|
||||
else
|
||||
item_state = "heavyprotogun"
|
||||
update_held_icon()
|
||||
|
||||
/obj/item/weapon/gun/energy/laser/prototype/proc/reset_vars()
|
||||
burst = initial(burst)
|
||||
reliability = initial(reliability)
|
||||
@@ -70,10 +79,12 @@
|
||||
gun_type = CHASSIS_MEDIUM
|
||||
slot_flags = SLOT_BELT | SLOT_BACK
|
||||
item_state = "energystun"
|
||||
action_button_name = "Wield rifle"
|
||||
if(CHASSIS_LARGE)
|
||||
gun_type = CHASSIS_LARGE
|
||||
slot_flags = SLOT_BACK
|
||||
item_state = "lasercannon"
|
||||
item_state = "heavyprotogun"
|
||||
action_button_name = "Wield rifle"
|
||||
|
||||
if(capacitor.reliability - capacitor.condition <= 0)
|
||||
if(prob(66))
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
author: Alberyk, Kyres1
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- rscadd: "Medium and heavy prototype laser guns should have a wielding action icon now."
|
||||
- imageadd: "Heavy prototype laser guns now have an unique wielded icon."
|
||||
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 83 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 60 KiB |