mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Co-authored-by: Changelogs <action@github.com> Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
29 lines
1.0 KiB
Plaintext
29 lines
1.0 KiB
Plaintext
/*
|
|
* Spaceball collectable cards
|
|
*/
|
|
/obj/item/pack/spaceball
|
|
name = "spaceball booster pack"
|
|
desc = "Officially licensed to take your money."
|
|
icon_state = "card_pack_spaceball"
|
|
parentdeck = "spaceball"
|
|
|
|
/obj/item/pack/spaceball/New()
|
|
..()
|
|
var/datum/playingcard/P
|
|
var/i
|
|
var/year = 300 + text2num(time2text(world.timeofday, "YYYY")) //VOREStation Edit
|
|
for(i=0;i<5;i++)
|
|
P = new()
|
|
if(prob(1))
|
|
P.name = "Spaceball Jones, [year] Brickburn Galaxy Trekers"
|
|
P.card_icon = "spaceball_jones"
|
|
else
|
|
var/language_type = pick(/datum/language/human,/datum/language/diona_local,/datum/language/tajaran,/datum/language/unathi)
|
|
var/datum/language/L = new language_type()
|
|
var/team = pick("Brickburn Galaxy Trekers","Mars Rovers", "Qerrbalak Saints", "Moghes Rockets", "Meralar Lightning", "[using_map.starsys_name] Vixens", "Euphoric-Earth Alligators")
|
|
P.name = "[L.get_random_name(pick(MALE,FEMALE))], [year - rand(0,50)] [team]"
|
|
P.card_icon = "spaceball_standard"
|
|
P.back_icon = "card_back_spaceball"
|
|
|
|
cards += P
|