Add wielded heavy protogun sprites and wield buttons for modular guns (#6187)

This commit is contained in:
Alberyk
2019-03-25 13:01:11 +01:00
committed by Werner
parent 5cc4ae3310
commit f9d040d0ef
6 changed files with 19 additions and 1 deletions
@@ -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))
+7
View File
@@ -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."
Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 60 KiB