Stacking Die (#12929)

This commit is contained in:
Geeves
2022-02-02 18:13:06 +02:00
committed by GitHub
parent a32ce7644e
commit d75c99fbdf
11 changed files with 87 additions and 64 deletions
@@ -157,7 +157,7 @@
item_state = "pill_canister"
center_of_mass = list("x" = 16,"y" = 12)
w_class = ITEMSIZE_SMALL
can_hold = list(/obj/item/reagent_containers/pill,/obj/item/dice,/obj/item/paper)
can_hold = list(/obj/item/reagent_containers/pill,/obj/item/stack/dice,/obj/item/paper)
allow_quick_gather = 1
use_to_pickup = 1
use_sound = 'sound/items/storage/pillbottle.ogg'
@@ -286,4 +286,4 @@ obj/item/storage/pill_bottle/butazoline
/obj/item/storage/pill_bottle/parvosil
name = "bottle of 2u Parvosil pills"
desc = "Contains pills used to treat anxiety disorders such as phobias and social anxiety."
starts_with = list(/obj/item/reagent_containers/pill/parvosil = 3)
starts_with = list(/obj/item/reagent_containers/pill/parvosil = 3)
@@ -7,8 +7,8 @@
drop_sound = 'sound/items/drop/hat.ogg'
pickup_sound = 'sound/items/pickup/hat.ogg'
starts_with = list(
/obj/item/dice = 1,
/obj/item/dice/d20 = 1
/obj/item/stack/dice = 12,
/obj/item/stack/dice/d20 = 4
)
/obj/item/storage/pill_bottle/dice/gaming
@@ -16,11 +16,11 @@
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/stack/dice/d4 = 4,
/obj/item/stack/dice/d8 = 4,
/obj/item/stack/dice/d10 = 4,
/obj/item/stack/dice/d12 = 4,
/obj/item/stack/dice/d100 = 4
)
/obj/item/storage/card
@@ -16,7 +16,7 @@
/obj/item/seeds,
/obj/item/stack/medical,
/obj/item/coin,
/obj/item/dice,
/obj/item/stack/dice,
/obj/item/disk,
/obj/item/implanter,
/obj/item/flame/lighter,
@@ -228,4 +228,4 @@
if(!plastic_film)
plastic_film = image('icons/mob/lanyard_overlays.dmi', icon_state = "plasticfilm")
I.add_overlay(plastic_film)
return I
return I