mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-08 00:12:53 +00:00
57 lines
1.6 KiB
Plaintext
57 lines
1.6 KiB
Plaintext
/obj/item/weapon/storage/pill_bottle/dice //7d6
|
|
name = "bag of dice"
|
|
desc = "It's a small bag with dice inside."
|
|
icon = 'icons/obj/dice.dmi'
|
|
icon_state = "dicebag"
|
|
|
|
/obj/item/weapon/storage/pill_bottle/dice/New()
|
|
..()
|
|
for(var/i = 1 to 7)
|
|
new /obj/item/weapon/dice( src )
|
|
|
|
/obj/item/weapon/storage/pill_bottle/dice_nerd //DnD dice
|
|
name = "bag of gaming dice"
|
|
desc = "It's a small bag with gaming dice inside."
|
|
icon = 'icons/obj/dice.dmi'
|
|
icon_state = "magicdicebag"
|
|
|
|
/obj/item/weapon/storage/pill_bottle/dice_nerd/New()
|
|
..()
|
|
new /obj/item/weapon/dice/d4( src )
|
|
new /obj/item/weapon/dice( src )
|
|
new /obj/item/weapon/dice/d8( src )
|
|
new /obj/item/weapon/dice/d10( src )
|
|
new /obj/item/weapon/dice/d12( src )
|
|
new /obj/item/weapon/dice/d20( src )
|
|
new /obj/item/weapon/dice/d100( src )
|
|
|
|
/*
|
|
* Donut Box
|
|
*/
|
|
|
|
/obj/item/weapon/storage/box/donut
|
|
icon = 'icons/obj/food.dmi'
|
|
icon_state = "donutbox"
|
|
name = "donut box"
|
|
var/startswith = 6
|
|
max_storage_space = ITEMSIZE_COST_SMALL * 6
|
|
can_hold = list(/obj/item/weapon/reagent_containers/food/snacks/donut)
|
|
foldable = /obj/item/stack/material/cardboard
|
|
|
|
/obj/item/weapon/storage/box/donut/New()
|
|
..()
|
|
for(var/i=1 to startswith)
|
|
new /obj/item/weapon/reagent_containers/food/snacks/donut/normal(src)
|
|
update_icon()
|
|
return
|
|
|
|
/obj/item/weapon/storage/box/donut/update_icon()
|
|
overlays.Cut()
|
|
var/i = 0
|
|
for(var/obj/item/weapon/reagent_containers/food/snacks/donut/D in contents)
|
|
overlays += image('icons/obj/food.dmi', "[i][D.overlay_state]")
|
|
i++
|
|
|
|
/obj/item/weapon/storage/box/donut/empty
|
|
startswith = 0
|