Adds Skrell tarot cards to loadout (#13933)

This commit is contained in:
Llywelwyn
2022-05-17 02:44:34 +02:00
committed by GitHub
parent 6859b151bd
commit b329fb5b2f
5 changed files with 121 additions and 2 deletions
@@ -113,6 +113,20 @@
whitelisted = list(SPECIES_SKRELL, SPECIES_SKRELL_AXIORI, SPECIES_DIONA, SPECIES_DIONA_COEUS)
sort_category = "Xenowear - Skrell"
/datum/gear/homeworld_deck
display_name = "qweipaqui homeworld deck"
path = /obj/item/deck/tarot/jargon
whitelisted = list(SPECIES_SKRELL, SPECIES_SKRELL_AXIORI, SPECIES_DIONA, SPECIES_DIONA_COEUS)
sort_category = "Xenowear - Skrell"
flags = GEAR_NO_SELECTION
/datum/gear/colonist_deck // Intentionally separate from homeworld_deck, so that both can be chosen. -Lly
display_name = "qweipaqui colonist deck"
path = /obj/item/deck/tarot/nonjargon
whitelisted = list(SPECIES_SKRELL, SPECIES_SKRELL_AXIORI, SPECIES_DIONA, SPECIES_DIONA_COEUS)
sort_category = "Xenowear - Skrell"
flags = GEAR_NO_SELECTION
/datum/gear/ears/skrell/goop
display_name = "glowing algae"
path = /obj/item/clothing/ears/skrell/goop
+4 -2
View File
@@ -1,5 +1,6 @@
/datum/playingcard
var/name = "playing card"
var/desc = null
var/card_icon = "card_back"
var/back_icon = "card_back"
@@ -275,9 +276,10 @@
/obj/item/hand/examine(mob/user)
..(user)
if((!concealed || src.loc == user) && cards.len)
to_chat(user, "It contains: ")
if(cards.len > 1)
to_chat(user, "It contains: ")
for(var/datum/playingcard/P in cards)
to_chat(user, "The [P.name].")
to_chat(user, "The [P.name]. [P.desc ? "<i>[P.desc]</i>" : ""]")
/obj/item/hand/update_icon(var/direction = 0)
+97
View File
@@ -61,3 +61,100 @@
P.card_icon = "adhomai_[suit]"
P.back_icon = "card_back_adhomai"
cards += P
/obj/item/deck/tarot/jargon
name = "qwei'paqui homeworld deck"
desc = "A Skrellian deck of tarot cards depicting the main constellations of Nralakk."
icon_state = "deck_jargon"
/obj/item/deck/tarot/jargon/generate_deck()
var/datum/playingcard/P
for(var/name in list("Island","Hatching Egg","Star Chanter","Jiu'x'klua","Stormcloud","Gnarled Tree","Poet","Bloated Toad","Void","Qu'Poxii","Fisher","Mountain","Sraso","Nioh"))
P = new()
P.name = "[name]"
var/suit = "jargon"
switch(name)
if("Island")
P.desc = "One of the main constellations that is shared by both Qeblak and Weishii. It is associated with Loneliness. Introspection. Earth. Rising above or Sinking beneath. Reality."
if("Hatching Egg")
name = "egg"
P.desc = "One of the main constellations that is shared by both Qeblak and Weishii. It is associated with New beginnings. A fresh start. Youth. Life. Excitement. Ignorance. Foolishness. Joy."
if("Star Chanter")
name = "chanter"
P.desc = "One of the main constellations that is shared by both Qeblak and Weishii. It is associated with Wisdom. Spirituality. Connection with the stars. Connection to history. Aloofness. A rigid path. Air."
if("Jiu'x'klua")
name = "klua"
P.desc = "One of the main constellations that is shared by both Qeblak and Weishii. It is associated with Art. Creation. Loss. Sadness. Longing. Communication. The imaginary."
if("Stormcloud")
P.desc = "One of the main constellations that is shared by both Qeblak and Weishii. It is associated with Conflict. Shock. Surprises. Tension. Endurance. Strength. Force. Fire."
if("Gnarled Tree")
name = "gnarledtree"
P.desc = "One of the main constellations that is shared by both Qeblak and Weishii. It is associated with Age. Wisdom. Sickness. Frailty, or, in certain orientations, toughness. Rigidity. Tradition. Plantlife. Balance."
if("Poet")
P.desc = "One of the main constellations that is shared by both Qeblak and Weishii. it is associated with Communication. Progress. Science. Advancement. Longing. Art. Expression. Loneliness. Contentment. Dreams."
if("Bloated Toad")
name = "bloatedtoad"
P.desc = "One of the main constellations that is shared by both Qeblak and Weishii. it is associated with Greed. Arrogance. Wealth. Success. Smugness. Laziness. Accomplishment. Adulthood."
if("Void")
P.desc = "One of the main constellations that is shared by both Qeblak and Weishii. it is associated with Death. Endings. Mystery. The unknown. Fear. Danger. Creation."
if("Qu'Poxii")
name = "qupoxii"
P.desc = "One of the main constellations that is shared by both Qeblak and Weishii. it is associated with Love. Friendship. Company. Opposites. Teamwork. Happiness. The material. Safety. Progress. Support."
if("Fisher")
P.desc = "One of the main constellations that is shared by both Qeblak and Weishii. it is associated with Hard work. Stagnation. Embarrassment. Water. Patience. A long, but productive wait."
if("Mountain")
suit = "aweiji"
P.desc = "One of the local constellations on the planet Aweiji. It is associated with Self-analysis. Feelings of accomplishment. Clearer view."
if("Sraso")
suit = "aweiji"
P.desc = "One of the local constellations on the planet Aweiji. It is associated with Sustainability. Growth. Safety."
if("Nioh")
suit = "aweiji"
P.desc = "One of the local constellations on the planet Aweiji. It is associated with Trust. Reliance. Perseverance. Survival."
P.card_icon = "[suit]_[lowertext(name)]"
P.back_icon = "card_off_[suit]"
cards += P
/obj/item/deck/tarot/nonjargon
name = "qwei'paqui colonist deck"
desc = "A Skrellian deck of tarot cards depicting the local constellations of planets outside Nralakk."
icon_state = "deck_nonjargon"
/obj/item/deck/tarot/nonjargon/generate_deck()
var/datum/playingcard/P
for(var/name in list("Shell","Wave","Trident","Palm Tree","Pulque","Eel","Iqi Star","Sky-Grazer","Dyn"))
P = new()
P.name = "[name]"
var/suit = "slz"
switch(name)
if("Shell")
P.desc = "One of the local constellations revered by the Skrell of Mendell City's Starlight Zone. It is associated with Home, Family (Severson). Refuge, Safety (Lekan)."
if("Wave")
P.desc = "One of the local constellations revered by the Skrell of Mendell City's Starlight Zone. It is associated with Pilgrimage, Journey (Severson). Escape, Freedom (Lekan)."
if("Trident")
P.desc = "One of the local constellations revered by the Skrell of Mendell City's Starlight Zone. It is associated with Protection, Security (Severson). Oppression, Subjugation (Lekan)."
if("Palm Tree")
name = "palm"
suit = "mict"
P.desc = "One of the local constellations on the planet Mictlan. It is associated with Tranquility. Agitation. Anxiety. Peace."
if("Pulque")
suit = "mict"
P.desc = "One of the local constellations on the planet Mictlan. It is associated with Togetherness. Comraderie. Overindulgence. Celebration."
if("Eel")
suit = "mict"
P.desc = "One of the local constellations on the planet Mictlan. It is associated with Turncoat. The unanticipated. Intrigue. Forthcoming."
if("Iqi Star")
name = "iqi"
suit = "newgib"
P.desc = "One of the local constellations on the planet New Gibson. It is associated with Self-Advancement. Social standing. Success."
if("Sky-Grazer")
name = "skygrazer"
suit = "newgib"
P.desc = "One of the local constellations on the planet New Gibson. It is associated with Expressiveness. Freedom. Adventure."
if("Dyn")
suit = "newgib"
P.desc = "One of the local constellations on the planet New Gibson. It is associated with Survival. Generosity. Community."
P.card_icon = "[suit]_[lowertext(name)]"
P.back_icon = "card_off_[suit]"
cards += P