Ok, done.

This commit is contained in:
Ghommie
2020-03-08 22:51:36 +01:00
parent ad4d290ea7
commit 59b1a223a3
68 changed files with 255 additions and 329 deletions
+1 -2
View File
@@ -19,8 +19,7 @@
chamber_round()
update_icon()
/obj/item/gun/ballistic/update_icon()
..()
/obj/item/gun/ballistic/update_icon_state()
if(current_skin)
icon_state = "[unique_reskin[current_skin]][suppressed ? "-suppressed" : ""][sawn_off ? "-sawn" : ""]"
else
@@ -44,7 +44,7 @@
to_chat(user, "<span class='notice'>You notch the arrow.</span>")
update_icon()
/obj/item/gun/ballistic/bow/update_icon()
/obj/item/gun/ballistic/bow/update_icon_state()
icon_state = "[initial(icon_state)]_[get_ammo() ? (chambered ? "firing" : "loaded") : "unloaded"]"
/obj/item/gun/ballistic/bow/can_shoot()
@@ -73,7 +73,7 @@
M.putItemFromInventoryInHandIfPossible(src, H.held_index)
/obj/item/minigunpack/update_icon()
/obj/item/minigunpack/update_icon_state()
if(armed)
icon_state = "notholstered"
else
-3
View File
@@ -73,9 +73,6 @@
recharge_newshot()
return 1
/obj/item/gun/magic/update_icon()
return
/obj/item/gun/magic/shoot_with_empty_chamber(mob/living/user as mob|obj)
to_chat(user, "<span class='warning'>The [name] whizzles quietly.</span>")
+1 -1
View File
@@ -21,7 +21,7 @@
. = ..()
. += "Has [charges] charge\s remaining."
/obj/item/gun/magic/wand/update_icon()
/obj/item/gun/magic/wand/update_icon_state()
icon_state = "[initial(icon_state)][charges ? "" : "-drained"]"
/obj/item/gun/magic/wand/attack(atom/target, mob/living/user)