[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:
yogstation13-bot
2019-02-25 23:37:44 +01:00
committed by Gary Lafortune
parent 4c7ad8f9d2
commit a1d25c3328
9 changed files with 34 additions and 79 deletions

View File

@@ -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