uh what?
This commit is contained in:
@@ -149,9 +149,6 @@
|
||||
icon = 'icons/obj/ammo.dmi'
|
||||
icon_state = "shotgunclip"
|
||||
caliber = "shotgun" // slapped in to allow shell mix n match
|
||||
slot_flags = ITEM_SLOT_BELT | ITEM_SLOT_POCKET
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
w_volume = ITEM_VOLUME_STRIPPER_CLIP
|
||||
ammo_type = /obj/item/ammo_casing/shotgun
|
||||
max_ammo = 4
|
||||
var/pixeloffsetx = 4
|
||||
|
||||
@@ -268,7 +268,7 @@
|
||||
for(var/i = ratio, i >= 1, i--)
|
||||
charge_overlay.pixel_x = ammo_x_offset * (i - 1)
|
||||
charge_overlay.pixel_y = ammo_y_offset * (i - 1)
|
||||
. += new /mutable_appearance(charge_overlay)
|
||||
. += charge_overlay
|
||||
else
|
||||
. += "[icon_state]_charge[ratio]"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user