Skip to content

Commit

Permalink
add name to box to be able to
Browse files Browse the repository at this point in the history
identify without opening
  • Loading branch information
Julien committed Oct 3, 2023
1 parent d0365ee commit e8d7c10
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 8 additions & 0 deletions code/game/objects/items/storage/boxes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -766,55 +766,63 @@

//meat
/obj/item/storage/box/meat
name = "\improper Meat Box"

/obj/item/storage/box/meat/fill_preset_inventory()
for(var/i = 0, i < 7, i++)
new /obj/item/reagent_container/food/snacks/meat/monkey(src)

//fish
/obj/item/storage/box/fish
name = "\improper Fish Box"

/obj/item/storage/box/fish/fill_preset_inventory()
for(var/i = 0, i < 7, i++)
new /obj/item/reagent_container/food/snacks/carpmeat(src)

//milk
/obj/item/storage/box/milk
name = "\improper Milk Box"

/obj/item/storage/box/milk/fill_preset_inventory()
for(var/i = 0, i < 7, i++)
new /obj/item/reagent_container/food/drinks/milk(src)

//soymilk
/obj/item/storage/box/soymilk
name = "\improper Soymilk Box"

/obj/item/storage/box/soymilk/fill_preset_inventory()
for(var/i = 0, i < 7, i++)
new /obj/item/reagent_container/food/drinks/soymilk(src)

//enzyme
/obj/item/storage/box/enzyme
name = "\improper Enzyme Box"

/obj/item/storage/box/enzyme/fill_preset_inventory()
for(var/i = 0, i < 7, i++)
new /obj/item/reagent_container/food/condiment/enzyme(src)

//flour
/obj/item/storage/box/flour
name = "\improper Flour Box"

/obj/item/storage/box/flour/fill_preset_inventory()
for(var/i = 0, i < 7, i++)
new /obj/item/reagent_container/food/snacks/flour(src)

//sugar
/obj/item/storage/box/sugar
name = "\improper Sugar Box"

/obj/item/storage/box/sugar/fill_preset_inventory()
for(var/i = 0, i < 7, i++)
new /obj/item/reagent_container/food/condiment/sugar(src)

//potato
/obj/item/storage/box/potato
name = "\improper Potato Box"

/obj/item/storage/box/potato/fill_preset_inventory()
for(var/i = 0, i < 7, i++)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,10 @@
for(var/i = 0, i < 2, i++)
new /obj/item/storage/box/milk(src)
for(var/i = 0, i < 2, i++)
new /obj/item/reagent_container/food/drinks/soymilk(src)
/obj/item/storage/box/soymilk(src)

Check failure on line 190 in code/game/objects/structures/crates_lockers/closets/secure/freezer.dm

View workflow job for this annotation

GitHub Actions / Run Linters

got '(', expected one of: path separator, '{', operator, field access, ';'
for(var/i = 0, i < 7, i++)
new /obj/item/storage/fancy/egg_box(src)
for(var/i = 0, i < 2, i++)
new /obj/item/storage/box/enzyme(src)
new /obj/item/storage/box/enzyme(src)

//dry storage for dry food only...
/obj/structure/closet/secure_closet/freezer/dry
Expand Down

0 comments on commit e8d7c10

Please sign in to comment.