[MIRROR] Fix ingredient box icon (again) (#2823)
* Fix ingredient boxes * Fix ingredient box icon (again)
This commit is contained in:
committed by
Poojawa
parent
4dd0dc9d66
commit
201cb984c8
@@ -731,17 +731,18 @@
|
||||
|
||||
/obj/item/storage/box/ingredients //This box is for the randomely chosen version the chef spawns with, it shouldn't actually exist.
|
||||
name = "ingredients box"
|
||||
illustration = "donk_kit"
|
||||
illustration = "fruit"
|
||||
var/theme_name
|
||||
|
||||
/obj/item/storage/box/ingredients/Initialize()
|
||||
..()
|
||||
if(icon_state)
|
||||
name = "[name] ([icon_state])"
|
||||
desc = "A box containing supplementary ingredients for the aspiring chef. This box's theme is '[icon_state]'."
|
||||
if(theme_name)
|
||||
name = "[name] ([theme_name])"
|
||||
desc = "A box containing supplementary ingredients for the aspiring chef. The box's theme is '[theme_name]'."
|
||||
item_state = "syringe_kit"
|
||||
|
||||
/obj/item/storage/box/ingredients/wildcard
|
||||
icon_state = "wildcard"
|
||||
theme_name = "wildcard"
|
||||
|
||||
/obj/item/storage/box/ingredients/wildcard/PopulateContents()
|
||||
for(var/i in 1 to 7)
|
||||
@@ -762,7 +763,7 @@
|
||||
new randomFood(src)
|
||||
|
||||
/obj/item/storage/box/ingredients/fiesta
|
||||
icon_state = "fiesta"
|
||||
theme_name = "fiesta"
|
||||
|
||||
/obj/item/storage/box/ingredients/fiesta/PopulateContents()
|
||||
new /obj/item/reagent_containers/food/snacks/tortilla(src)
|
||||
@@ -772,7 +773,7 @@
|
||||
new /obj/item/reagent_containers/food/snacks/grown/chili(src)
|
||||
|
||||
/obj/item/storage/box/ingredients/italian
|
||||
icon_state = "italian"
|
||||
theme_name = "italian"
|
||||
|
||||
/obj/item/storage/box/ingredients/italian/PopulateContents()
|
||||
for(var/i in 1 to 3)
|
||||
@@ -781,7 +782,7 @@
|
||||
new /obj/item/reagent_containers/food/drinks/bottle/wine(src)
|
||||
|
||||
/obj/item/storage/box/ingredients/vegetarian
|
||||
icon_state = "vegetarian"
|
||||
theme_name = "vegetarian"
|
||||
|
||||
/obj/item/storage/box/ingredients/vegetarian/PopulateContents()
|
||||
for(var/i in 1 to 2)
|
||||
@@ -793,7 +794,7 @@
|
||||
new /obj/item/reagent_containers/food/snacks/grown/tomato(src)
|
||||
|
||||
/obj/item/storage/box/ingredients/american
|
||||
icon_state = "american"
|
||||
theme_name = "american"
|
||||
|
||||
/obj/item/storage/box/ingredients/american/PopulateContents()
|
||||
for(var/i in 1 to 2)
|
||||
@@ -803,7 +804,7 @@
|
||||
new /obj/item/reagent_containers/food/snacks/faggot(src)
|
||||
|
||||
/obj/item/storage/box/ingredients/fruity
|
||||
icon_state = "fruity"
|
||||
theme_name = "fruity"
|
||||
|
||||
/obj/item/storage/box/ingredients/fruity/PopulateContents()
|
||||
for(var/i in 1 to 2)
|
||||
@@ -814,7 +815,7 @@
|
||||
new /obj/item/reagent_containers/food/snacks/grown/watermelon(src)
|
||||
|
||||
/obj/item/storage/box/ingredients/sweets
|
||||
icon_state = "sweets"
|
||||
theme_name = "sweets"
|
||||
|
||||
/obj/item/storage/box/ingredients/sweets/PopulateContents()
|
||||
for(var/i in 1 to 2)
|
||||
@@ -825,7 +826,7 @@
|
||||
new /obj/item/reagent_containers/food/snacks/grown/apple(src)
|
||||
|
||||
/obj/item/storage/box/ingredients/delights
|
||||
icon_state = "delights"
|
||||
theme_name = "delights"
|
||||
|
||||
/obj/item/storage/box/ingredients/delights/PopulateContents()
|
||||
for(var/i in 1 to 2)
|
||||
@@ -836,7 +837,7 @@
|
||||
new /obj/item/reagent_containers/food/snacks/grown/berries(src)
|
||||
|
||||
/obj/item/storage/box/ingredients/grains
|
||||
icon_state = "grains"
|
||||
theme_name = "grains"
|
||||
|
||||
/obj/item/storage/box/ingredients/grains/PopulateContents()
|
||||
for(var/i in 1 to 3)
|
||||
@@ -847,7 +848,7 @@
|
||||
new /obj/item/seeds/poppy(src)
|
||||
|
||||
/obj/item/storage/box/ingredients/carnivore
|
||||
icon_state = "carnivore"
|
||||
theme_name = "carnivore"
|
||||
|
||||
/obj/item/storage/box/ingredients/carnivore/PopulateContents()
|
||||
new /obj/item/reagent_containers/food/snacks/meat/slab/bear(src)
|
||||
@@ -859,7 +860,7 @@
|
||||
new /obj/item/reagent_containers/food/snacks/faggot(src)
|
||||
|
||||
/obj/item/storage/box/ingredients/exotic
|
||||
icon_state = "exotic"
|
||||
theme_name = "exotic"
|
||||
|
||||
/obj/item/storage/box/ingredients/exotic/PopulateContents()
|
||||
for(var/i in 1 to 2)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 58 KiB |
Reference in New Issue
Block a user