Removal of junk

This commit is contained in:
SmArtKar
2021-02-04 17:35:27 +03:00
parent a8fa3ba4e1
commit 7a5ee6f668
+7 -1
View File
@@ -1,7 +1,7 @@
#define TAPPED_ANGLE 90
#define UNTAPPED_ANGLE 0
//The game itself is supposed to be played on 3x2 table. This is important since it's the search range of the cards for automation.
GLOBAL_VAR_INIT(packs_opened, 0) //A global amount of packs opened this round. Important for chances. This system was made to prevent mass-opening of packs to get all the good stuff in one round.
/datum/tcg_card
var/name = "Stupid Coder"
@@ -232,6 +232,11 @@
"Legendary" = 1,
"Epic" = 9,
"Rare" = 30)
///How quickly chances of getting this card degrade
var/list/rarity_cap = list(
"Legendary" = 25, //Only in first 25 packs
"Epic" = 50, //Only in first 50 packs
"Rare" = 100) //Only in first 100 packs
custom_price = PRICE_EXPENSIVE
@@ -260,6 +265,7 @@
if(prob(contains_coin))
to_chat(user, "<span_class='notice'>...and it came with a flipper, too!</span>")
new /obj/item/coin/thunderdome(get_turf(user))
GLOB.packs_opened += 1
qdel(src)
/obj/item/cardpack/proc/buildCardListWithRarity(card_cnt, rarity_cnt)