mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-02 05:22:40 +00:00
Raider random vendors will spawn without their scan_id lights on (#9773)
This commit is contained in:
@@ -508,7 +508,8 @@
|
||||
|
||||
/obj/random/vendor
|
||||
name = "random vendor"
|
||||
var/depleted = 0
|
||||
var/depleted = FALSE
|
||||
var/scan_id = TRUE // Should the spawned vendor check IDs
|
||||
problist = list(
|
||||
/obj/machinery/vending/boozeomat = 1,
|
||||
/obj/machinery/vending/coffee = 1,
|
||||
@@ -557,6 +558,8 @@
|
||||
// Clamp to an integer so we don't get 0.78 of a screwdriver.
|
||||
V.products[content] = round(V.products[content])
|
||||
|
||||
V.scan_id &= scan_id
|
||||
|
||||
/obj/random/pda_cart/item_to_spawn()
|
||||
var/list/options = typesof(/obj/item/cartridge)
|
||||
var/type = pick(options)
|
||||
|
||||
Reference in New Issue
Block a user