Egg boxes and donut boxes can be constructed from cardboard

This commit is contained in:
Whitellama
2014-08-28 18:27:51 -07:00
parent bc47750801
commit aa0ab32a9c
3 changed files with 13 additions and 3 deletions
@@ -171,6 +171,8 @@ var/global/list/datum/stack_recipe/wood_recipes = list ( \
*/
var/global/list/datum/stack_recipe/cardboard_recipes = list ( \
new/datum/stack_recipe("box", /obj/item/weapon/storage/box), \
new/datum/stack_recipe("donut box", /obj/item/weapon/storage/fancy/donut_box/empty), \
new/datum/stack_recipe("egg box", /obj/item/weapon/storage/fancy/egg_box), \
new/datum/stack_recipe("light tubes", /obj/item/weapon/storage/box/lights/tubes), \
new/datum/stack_recipe("light bulbs", /obj/item/weapon/storage/box/lights/bulbs), \
new/datum/stack_recipe("mouse traps", /obj/item/weapon/storage/box/mousetraps), \
@@ -50,14 +50,21 @@
name = "donut box"
storage_slots = 6
can_hold = list("/obj/item/weapon/reagent_containers/food/snacks/donut")
foldable = /obj/item/stack/sheet/cardboard
/obj/item/weapon/storage/fancy/donut_box/New()
..()
for(var/i=1; i <= storage_slots; i++)
new /obj/item/weapon/reagent_containers/food/snacks/donut/normal(src)
if(!istype(src,/obj/item/weapon/storage/fancy/donut_box/empty))
for(var/i=1; i <= storage_slots; i++)
new /obj/item/weapon/reagent_containers/food/snacks/donut/normal(src)
return
/obj/item/weapon/storage/fancy/donut_box/empty
icon_state = "donutbox0"
/obj/item/weapon/storage/fancy/donut_box/empty/New()
..()
/*
* Egg Box
*/
+1
View File
@@ -120,6 +120,7 @@ should be listed in the changelog upon commit though. Thanks. -->
<li class='bugfix'>Made destination taggers more intuitive so you know when you've tagged something</li>
<li class='rscadd'>Ported package label and tag sprites</li>
<li class='rscadd'>Ported using a pen on a package to give it a title, or to write a note</li>
<li class='rscadd'>Donut boxes and egg boxes can be constructed out of cardboard</li>
</ul>
</div>