Files
Aurora.3/code/game/objects/items/weapons/storage/misc.dm
2019-12-02 20:24:28 +01:00

51 lines
1.6 KiB
Plaintext

/obj/item/storage/pill_bottle/dice
name = "pack of dice"
desc = "It's a small container with dice inside."
icon = 'icons/obj/dice.dmi'
icon_state = "dicebag"
use_sound = "rustle"
drop_sound = 'sound/items/drop/hat.ogg'
starts_with = list(
/obj/item/dice = 1,
/obj/item/dice/d20 = 1
)
/obj/item/storage/pill_bottle/dice/gaming
name = "pack of gaming dice"
desc = "It's a small container with gaming dice inside."
icon_state = "magicdicebag"
starts_with = list(
/obj/item/dice/d4 = 1,
/obj/item/dice/d8 = 1,
/obj/item/dice/d10 = 1,
/obj/item/dice/d12 = 1,
/obj/item/dice/d100 = 1
)
/obj/item/storage/card
name = "card box"
desc = "A small leather case to show how classy you are compared to everyone else."
icon_state = "card_holder_empty"
can_hold = list(/obj/item/deck, /obj/item/battle_monsters/deck, /obj/item/hand, /obj/item/pack/, /obj/item/card) //sneaky folks can hide ID and other cards
storage_slots = 1 //can hold one deck
use_sound = "sound/items/drop/shoes.ogg"
drop_sound = "sound/items/drop/hat.ogg"
/obj/item/storage/card/update_icon()
if(contents.len)
icon_state = "card_holder_items"
else
icon_state = "card_holder_empty"
return
/obj/item/storage/box/pineapple
icon = 'icons/obj/storage.dmi'
icon_state = "pineapple_rings"
name = "can of pineapple rings"
starts_with = list(/obj/item/reagent_containers/food/snacks/pineapple_ring = 6)
can_hold = list(/obj/item/reagent_containers/food/snacks/pineapple_ring)
/obj/item/storage/box/pineapple/fill()
. = ..()
update_icon()