vgstation-coders / vgstation13

Butts
GNU General Public License v3.0
264 stars 543 forks source link

Custom vending machines cannot throw items #17567

Closed DamianX closed 6 years ago

DamianX commented 6 years ago

Steps to reproduce

Specific information for locating

https://github.com/vgstation-coders/vgstation13/blob/209e5e38f38c0cb713ae3ca246f2914f868e0ef9/code/game/machinery/vending.dm#L1079

x5 vending.dm,1079: Cannot create objects of type /obj/item/weapon/grenade/smokebomb.
  proc name: throw item (/obj/machinery/vending/proc/throw_item)
  src: Sales (/obj/machinery/vending/sale)
  src.loc: the floor (219,264,1) (/turf/simulated/floor)
  call stack:
  Sales (/obj/machinery/vending/sale): throw item()
  Sales (/obj/machinery/vending/sale): process()
  Machinery (/datum/subsystem/machinery): fire(0)
  Machinery (/datum/subsystem/machinery): ignite(0)
  Master (/datum/controller/master): RunQueue()
  Master (/datum/controller/master): Loop()
  Master (/datum/controller/master): StartProcessing()

Issue bingo

Zth-- commented 6 years ago

someone should close #15949 since it's a duplicate and this one has more info