[MIRROR] Changes grenade proc names to be more clear (#1897)

* Changes grenade proc names to be more clear (#55181)

Grenades have, for the longest time, used the proc name preprime() to refer to arming a timed grenade so that it will boom in a few seconds, and prime() to refer to the grenade actually going boom (or releasing foam or anything else grenades do when they go off). This was very confusing, so now these two procs are called arm_grenade() and detonate().

* Changes grenade proc names to be more clear

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
This commit is contained in:
SkyratBot
2020-11-28 12:55:30 +01:00
committed by GitHub
co-authored by Ryll Ryll
parent 0b46c46e5b
commit 64c0ecb13f
30 changed files with 105 additions and 96 deletions
@@ -780,7 +780,7 @@
if(istype(held_item, /obj/item/grenade))
var/obj/item/grenade/G = held_item
G.forceMove(drop_location())
G.prime()
G.detonate()
to_chat(src, "<span class='danger'>You let go of [held_item]!</span>")
held_item = null
return 1