Fix energy gun descriptions (#22647)

Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
This commit is contained in:
Adrer
2023-09-30 12:56:47 +01:00
committed by GitHub
co-authored by adrermail@gmail.com <adrermail@gmail.com>
parent 26258bd21b
commit d1d27ae5fa
3 changed files with 3 additions and 3 deletions
@@ -111,4 +111,4 @@
/obj/item/gun/energy/gun/nuclear/examine(mob/user)
. = ..()
. += "<span class='notice'>This items cell recharges on it's own. Known to drive people mad by forcing them to wait for shots to recharge. Cannot be recharged in a recharger.</span>"
. += "<span class='notice'>This items cell recharges on it's own. Known to drive people mad by forcing them to wait for shots to recharge.</span>"
@@ -42,7 +42,7 @@
/obj/item/gun/energy/laser/captain/examine(mob/user)
. = ..()
. += "<span class='notice'>The power cell of this item slowly recharges on it's own. This caused the station pictured to explode. Cannot be recharged in a recharger.</span>"
. += "<span class='notice'>The power cell of this item slowly recharges on it's own. This caused the station pictured to explode.</span>"
/obj/item/gun/energy/laser/captain/scattershot
name = "scatter shot laser rifle"
+1 -1
View File
@@ -30,7 +30,7 @@
. = ..()
if(cell)
. += "<span class='notice'>It is [round(cell.percent())]% charged.</span>"
. += "<span class='notice'>Energy weapons can fire through windows and other see-through surfaces. Can be recharged with a recharger</span>"
. += "<span class='notice'>Energy weapons can fire through windows and other see-through surfaces. [can_charge ? "Can be recharged with a recharger" : "Cannot be recharged in a recharger."]</span>"
/obj/item/gun/energy/emp_act(severity)
cell.use(round(cell.charge / severity))