mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
[MIRROR] Fixes the RPG, renames it and adds some fluff text (#4563)
Replaces refs to /obj/item/ammo_box/magazine/rocket with /obj/item/ammo_casing/caseless/rocket
This commit is contained in:
committed by
Gary Lafortune
parent
4c7ad8f9d2
commit
a1d25c3328
@@ -117,7 +117,7 @@
|
||||
chambered = null
|
||||
else if(empty_chamber)
|
||||
chambered = null
|
||||
if (chamber_next_round)
|
||||
if (chamber_next_round && (magazine.max_ammo > 1))
|
||||
chamber_round()
|
||||
|
||||
/obj/item/gun/ballistic/proc/chamber_round()
|
||||
@@ -308,6 +308,7 @@
|
||||
if (num_unloaded)
|
||||
to_chat(user, "<span class='notice'>You unload [num_unloaded] [cartridge_wording]\s from [src].</span>")
|
||||
playsound(user, eject_sound, eject_sound_volume, eject_sound_vary)
|
||||
update_icon()
|
||||
else
|
||||
to_chat(user, "<span class='warning'>[src] is empty!</span>")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user