Files
GS13NG/obj/item/cardpack.html
2025-02-05 06:19:18 +00:00

1 line
4.2 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/obj/item/cardpack - /tg/ Station 13</title></head><body><header><a href="index.html">/tg/ Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a><a href="obj/item/cardpack.html#var">Var Details</a></header><main><h1>cardpack <aside>/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/cardpack.html">cardpack</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/tcg/cards.dm#L232"><img src="git.png" width="16" height="16" title="code/modules/tcg/cards.dm 232"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="obj/item/cardpack.html#var/card_count">card_count</a></th><td>The amount of cards to draw from the rarity table</td></tr><tr><th><a href="obj/item/cardpack.html#var/contains_coin">contains_coin</a></th><td>Chance of the pack having a coin in it out of 10</td></tr><tr><th><a href="obj/item/cardpack.html#var/guar_rarity">guar_rarity</a></th><td>The guaranteed rarity table, acts about the same as the rarity table. it can have as many or as few raritys as you'd like</td></tr><tr><th><a href="obj/item/cardpack.html#var/guaranteed_count">guaranteed_count</a></th><td>The amount of cards to draw from the guarenteed rarity table</td></tr><tr><th><a href="obj/item/cardpack.html#var/rarity_table">rarity_table</a></th><td>The rarity table, the set must contain at least one of each</td></tr><tr><th><a href="obj/item/cardpack.html#var/series">series</a></th><td>The card series to look in</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/card_count"><aside class="declaration">var </aside>card_count <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/tcg/cards.dm#L243"><img src="git.png" width="16" height="16" title="code/modules/tcg/cards.dm 243"></a></h3><p>The amount of cards to draw from the rarity table</p><h3 id="var/contains_coin"><aside class="declaration">var </aside>contains_coin <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/tcg/cards.dm#L241"><img src="git.png" width="16" height="16" title="code/modules/tcg/cards.dm 241"></a></h3><p>Chance of the pack having a coin in it out of 10</p><h3 id="var/guar_rarity"><aside class="declaration">var </aside>guar_rarity <aside> /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/tcg/cards.dm#L254"><img src="git.png" width="16" height="16" title="code/modules/tcg/cards.dm 254"></a></h3><p>The guaranteed rarity table, acts about the same as the rarity table. it can have as many or as few raritys as you'd like</p><h3 id="var/guaranteed_count"><aside class="declaration">var </aside>guaranteed_count <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/tcg/cards.dm#L252"><img src="git.png" width="16" height="16" title="code/modules/tcg/cards.dm 252"></a></h3><p>The amount of cards to draw from the guarenteed rarity table</p><h3 id="var/rarity_table"><aside class="declaration">var </aside>rarity_table <aside> /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/tcg/cards.dm#L245"><img src="git.png" width="16" height="16" title="code/modules/tcg/cards.dm 245"></a></h3><p>The rarity table, the set must contain at least one of each</p><h3 id="var/series"><aside class="declaration">var </aside>series <aside> /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/tcg/cards.dm#L239"><img src="git.png" width="16" height="16" title="code/modules/tcg/cards.dm 239"></a></h3><p>The card series to look in</p></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e">e8e0068</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html>