mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
polishing
This commit is contained in:
@@ -16,6 +16,13 @@
|
||||
|
||||
machine_flags = WRENCHMOVE | FIXED2WORK
|
||||
|
||||
/obj/machinery/recharger/Destroy()
|
||||
if(charging)
|
||||
charging.update_icon()
|
||||
charging.loc = loc
|
||||
charging = null
|
||||
occupant_overlay=null
|
||||
..()
|
||||
|
||||
/obj/machinery/recharger/attackby(obj/item/weapon/G, mob/user)
|
||||
if(istype(user,/mob/living/silicon))
|
||||
|
||||
@@ -692,7 +692,7 @@
|
||||
|
||||
/obj/item/osipr_magazine
|
||||
name = "pulse magazine"
|
||||
desc = "Primary ammo for OSIPR."
|
||||
desc = "Primary ammo for OSIPR. Can be replenished by a recharger."
|
||||
icon = 'icons/obj/ammo.dmi'
|
||||
icon_state = "osipr-magfull"
|
||||
flags = FPRINT
|
||||
@@ -706,6 +706,10 @@
|
||||
pixel_x = rand(-10.0, 10)
|
||||
pixel_y = rand(-10.0, 10)
|
||||
|
||||
/obj/item/osipr_magazine/examine(mob/user)
|
||||
..()
|
||||
user << "<span class='info'>Has [bullets] pulse bullet\s remaining.</span>"
|
||||
|
||||
/obj/item/osipr_magazine/update_icon()
|
||||
if(bullets == OSIPR_MAG_FULL)
|
||||
icon_state = "osipr-magfull"
|
||||
|
||||
Reference in New Issue
Block a user