Fix missing icon for Stack Craft (#26491)

This commit is contained in:
Aylong
2024-08-18 02:33:51 +03:00
committed by GitHub
parent 69a0848b0e
commit d0be6edeb3
@@ -591,7 +591,7 @@
/obj/item/storage/belt/bandolier
name = "bandolier"
desc = "A bandolier for holding shotgun ammunition."
icon_state = "bandolier"
icon_state = "bandolier_0"
item_state = "bandolier"
storage_slots = 16
max_combined_w_class = 16
@@ -608,7 +608,7 @@
new /obj/item/ammo_casing/shotgun/rubbershot(src)
/obj/item/storage/belt/bandolier/update_icon_state()
icon_state = "[initial(icon_state)]_[min(length(contents), 8)]"
icon_state = "bandolier_[min(length(contents), 8)]"
/obj/item/storage/belt/bandolier/attackby(obj/item/I, mob/user)
var/amount = length(contents)