VS: Fix weird leather thing

This commit is contained in:
Aronai Sieyes
2020-05-18 10:28:27 -04:00
parent 0b858a36c8
commit 3f4fd59bd0
2 changed files with 4 additions and 4 deletions

View File

@@ -52,7 +52,7 @@
var/amount = rand(2,6) var/amount = rand(2,6)
var/quantity = rand(10,50) var/quantity = rand(10,50)
var/list/possible_spawns = list() var/list/possible_spawns = list()
for(var/bar_type in typesof(/obj/item/stack/material) - /obj/item/stack/material - /obj/item/stack/material/animalhide - typesof(/obj/item/stack/material/cyborg)) for(var/bar_type in typesof(/obj/item/stack/material) - /obj/item/stack/material - /obj/item/stack/animalhide - typesof(/obj/item/stack/material/cyborg))
possible_spawns += bar_type possible_spawns += bar_type
var/bar_type = pick(possible_spawns) var/bar_type = pick(possible_spawns)

View File

@@ -207,11 +207,11 @@
var/blocked = list( var/blocked = list(
/obj/item/stack/material, //Technical stacks /obj/item/stack/material, //Technical stacks
/obj/item/stack/material/hairlesshide, //Useless leather production steps /obj/item/stack/hairlesshide, //Useless leather production steps
/obj/item/stack/material/wetleather, /obj/item/stack/wetleather,
/obj/item/stack/material/algae/ten) //Why is this one even a separate thing /obj/item/stack/material/algae/ten) //Why is this one even a separate thing
blocked += typesof(/obj/item/stack/material/cyborg) //Borg matter synths, should only exist in borgs blocked += typesof(/obj/item/stack/material/cyborg) //Borg matter synths, should only exist in borgs
blocked += typesof(/obj/item/stack/material/animalhide) //Hides which are only used for leather production anyway blocked += typesof(/obj/item/stack/animalhide) //Hides which are only used for leather production anyway
var/rare_types = list( var/rare_types = list(
/obj/item/stack/material/morphium, //Complex materials requiring Particle Smasher to create /obj/item/stack/material/morphium, //Complex materials requiring Particle Smasher to create