mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-14 02:43:16 +00:00
* Random statue mapping spawner spawns its statues anchored (#69305) About The Pull Request The /obj/effect/spawner/random/decoration/statue spawner will spawn it's statues anchored, assuming they are structures. Also refactored graffiti spawner since I was adding support in this area and saw it Why It's Good For The Game If you wanna use the spawner to place a statue in a public area, people will shove it around and stuff, which is lame. So, by anchoring it when it spawns, mappers don't have to worry about people bumping their pre-placed statues around. * Random statue mapping spawner spawns its statues anchored Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
27 lines
987 B
Plaintext
27 lines
987 B
Plaintext
/obj/effect/spawner/random/vending
|
|
name = "machinery spawner"
|
|
desc = "Randomized electronics for extra fun."
|
|
/// whether it hacks the vendor on spawn (only used for mapedits)
|
|
var/hacked = FALSE
|
|
|
|
/obj/effect/spawner/random/vending/make_item(spawn_loc, type_path_to_make)
|
|
var/obj/machinery/vending/vending = ..()
|
|
if(istype(vending))
|
|
vending.extended_inventory = hacked
|
|
|
|
return vending
|
|
|
|
/obj/effect/spawner/random/vending/snackvend
|
|
name = "spawn random snack vending machine"
|
|
desc = "Automagically transforms into a random snack vendor. If you see this while in a shift, please create a bug report."
|
|
icon_state = "snack"
|
|
loot_type_path = /obj/machinery/vending/snack
|
|
loot = list()
|
|
|
|
/obj/effect/spawner/random/vending/colavend
|
|
name = "spawn random cola vending machine"
|
|
desc = "Automagically transforms into a random cola vendor. If you see this while in a shift, please create a bug report."
|
|
icon_state = "cola"
|
|
loot_type_path = /obj/machinery/vending/cola
|
|
loot = list()
|