Laser carbine icons!

This commit is contained in:
Mieszko Jędrzejczak
2017-02-17 14:18:49 +01:00
parent 79a4f99afc
commit e8a04e5524
4 changed files with 8 additions and 0 deletions
@@ -446,3 +446,7 @@
origin_tech = "combat=3"
caliber = "laser"
max_ammo = 20
/obj/item/ammo_box/magazine/laser/update_icon()
..()
icon_state = "[initial(icon_state)]-[Ceiling(ammo_count(0)/20)*20]"
@@ -261,3 +261,7 @@
fire_sound = 'sound/weapons/emitter2.ogg'
can_suppress = 0
burst_size = 2
/obj/item/weapon/gun/projectile/automatic/lasercarbine/update_icon()
..()
icon_state = "lasercarbine[magazine ? "-[Ceiling(get_ammo(0)/5)*5]" : ""]"
Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB