mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
charge = maxcharge
|
||||
update_icon()
|
||||
if(self_recharge)
|
||||
START_PROCESSING(SSobj, src)
|
||||
START_PROCESSING(SSobj, src)
|
||||
|
||||
/obj/item/weapon/cell/Destroy()
|
||||
if(self_recharge)
|
||||
@@ -145,18 +145,11 @@
|
||||
|
||||
|
||||
/obj/item/weapon/cell/examine(mob/user)
|
||||
var/msg = desc
|
||||
|
||||
..()
|
||||
if(get_dist(src, user) <= 1)
|
||||
msg += " It has a power rating of [maxcharge].\nThe charge meter reads [round(src.percent() )]%."
|
||||
to_chat(user, " It has a power rating of [maxcharge].\nThe charge meter reads [round(src.percent() )]%.")
|
||||
return
|
||||
|
||||
to_chat(user, msg)
|
||||
/*
|
||||
if(maxcharge <= 2500)
|
||||
to_chat(user, "[desc]\nThe manufacturer's label states this cell has a power rating of [maxcharge], and that you should not swallow it.\nThe charge meter reads [round(src.percent() )]%.")
|
||||
else
|
||||
to_chat(user, "This power cell has an exciting chrome finish, as it is an uber-capacity cell type! It has a power rating of [maxcharge]!\nThe charge meter reads [round(src.percent() )]%.")
|
||||
*/
|
||||
/obj/item/weapon/cell/attackby(obj/item/W, mob/user)
|
||||
..()
|
||||
if(istype(W, /obj/item/weapon/reagent_containers/syringe))
|
||||
|
||||
Reference in New Issue
Block a user