Vending machine throwing tweaks

This commit is contained in:
Cerebulon
2021-08-23 18:30:39 +01:00
parent 17cbd9e7fb
commit 6b73ba2fe1
3 changed files with 15 additions and 7 deletions

View File

@@ -925,4 +925,8 @@ modules/mob/living/carbon/human/life.dm if you die, you will be zoomed out.
// Like the above, but used for RPED sorting of parts.
/obj/item/proc/rped_rating()
return get_rating()
return get_rating()
// this gets called when the item gets chucked by the vending machine
/obj/item/proc/vendor_action(var/obj/machinery/vending/V)
return

View File

@@ -112,3 +112,6 @@
walk(src, null, null)
..()
return
/obj/item/weapon/grenade/vendor_action(var/obj/machinery/vending/V)
activate(V)