From cc084549c418ff73111e3e3eb4720db01c2f8ba0 Mon Sep 17 00:00:00 2001 From: Jaraci <57604458+Jaraci@users.noreply.github.com> Date: Sun, 12 Sep 2021 19:29:35 +0100 Subject: [PATCH] Suraya custom item (#12471) --- code/modules/customitems/item_defines.dm | 40 ++++++++++++++++++++++- icons/obj/custom_items/suraya_dice.dmi | Bin 0 -> 2732 bytes 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 icons/obj/custom_items/suraya_dice.dmi diff --git a/code/modules/customitems/item_defines.dm b/code/modules/customitems/item_defines.dm index b42f9831c3d..d8b0387ee67 100644 --- a/code/modules/customitems/item_defines.dm +++ b/code/modules/customitems/item_defines.dm @@ -2133,4 +2133,42 @@ All custom items with worn sprites must follow the contained sprite system: http closed_desc = " The pages within are a mix of clearly indexed case files, and study notes alongside less clearly indexed pages that appears to be fragmented thoughts, not unlike a diary. The very first page of the journal reads “dedicated to Qirandri Mrorirhaldarr” and is signed “Mrradar Sanufar” underneath." icon = 'icons/obj/custom_items/kathira_journal.dmi' icon_state = "kath_journal" - item_state = "kath_journal" \ No newline at end of file + item_state = "kath_journal" + +/obj/item/storage/pill_bottle/dice/fluff/suraya_dicebag //Crevan Dice Bag - Suraya Al-Zahrani - Omicega + name = "velvet dice bag" + desc = "A deep purple dice bag fashioned from Adhomian velvet, with two little drawstrings to tighten the neck closed." + icon = 'icons/obj/custom_items/suraya_dice.dmi' + icon_state = "sur_dbag" + item_state = "sur_dbag" + + starts_with = list( + /obj/item/dice/fluff/suraya_dice = 3, + /obj/item/dice/fluff/suraya_dice/alt = 3 + ) + +/obj/item/dice/fluff/suraya_dice + name = "blue adhomian die" + desc = "A blue-and-gold wooden die with six sides, beautifully carved and delicately painted. The single dot on the number one side is, on closer inspection, a miniature image of the god Rredouane." + icon = 'icons/obj/custom_items/suraya_dice.dmi' + icon_state = "sur_b_d1" + base_icon = "sur_b_d" + favored_number = 1 + weighted_value = 22 + +/obj/item/dice/fluff/suraya_dice/AltClick(mob/user) + weighted = !weighted + + if(!weighted) + to_chat(user, SPAN_NOTICE("You jiggle the die rapidly in your hand, resetting the internal weighting.")) + else + to_chat(user, SPAN_NOTICE("You carefully jiggle the die one way, then the other, allowing its internal weighting to lock into place.")) + + user.visible_message("\The [user] jiggles \the [src] around in their hand for a second.") + +/obj/item/dice/fluff/suraya_dice/alt + name = "green adhomian die" + desc = "A green-and-silver wooden die with six sides, beautifully carved and delicately painted. The single dot on the number one side is, on closer inspection, a miniature image of the god Rredouane." + icon_state = "sur_g_d1" + base_icon = "sur_g_d" + favored_number = 6 \ No newline at end of file diff --git a/icons/obj/custom_items/suraya_dice.dmi b/icons/obj/custom_items/suraya_dice.dmi new file mode 100644 index 0000000000000000000000000000000000000000..ce477dae2b0c20bec6e1a29eee9f8fa13a92beab GIT binary patch literal 2732 zcmaJ@eK^zW8~@H^DjG*M4D-?(d5f}~FwD!OkQ~YDM5Vlzio!NTISxvRls2+RUQ?vR zM&3eO#Bc})4I?yf`?Bpf=lA>LoO500_s4VJ&-L8*^<2;W+@JgY+(}Ljw$fV^w*UYj zZHKdR7HQJPl9Uk1Ml;`bk$QB)#qEmK*>Jzh7s9Sw2n_*%$j2#+_gfnDw>K>quV`+Y z)m_F`Yp1I#44m4hnS@qw!R6J}VbK|_+c7c^05*5nSy{M5KAwFX9H7*q&?0=de`v~| zvwPd+;xqU1`^Z0S*M2b>uWf5tRG(kL{cN)2H>w_x;p$eJ&&d^gZ-qDC$zka>%#nY&Hz`BIAni z;dKG`a`@VB2heDkrB8=Df>fyE4|J+Q1GXuchqnURSP7<*0qNTv$iZ7u6l3WVf+=cd z+RODQ;#xZ@IKyhih4mq|zadFxUxYH%mr1cdupsZ!fKpx4MgmFA)!0)rx&%uZg zFM2(3*v(03T6VUAkBmxKYWIfD^z|f1o<#m}JXr8v@Hr&QRSIAV##KH%8u(l_+kbi3 z`8I_h3_$-;A?~?%EEAg{nEycWVdMF?_DVp^-wL{;wt@7G=ak;F5V<}18m^yS$5dxt zG6;K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