mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-07-16 02:32:55 +01:00
589122cd24
* card cleanup and find card verb * cheat deal plus supply pack * why was that comment in there
34 lines
1.4 KiB
Plaintext
34 lines
1.4 KiB
Plaintext
/obj/item/deck/spaceball
|
|
name = "\improper Spaceball deck box"
|
|
desc = "A deck box for carrying your Spaceball cards."
|
|
icon_state = "card_holder"
|
|
decktype = /datum/playingcard/spaceball_cards
|
|
decklimit = 20
|
|
|
|
/obj/item/pack/spaceball
|
|
name = "spaceball booster pack"
|
|
desc = "Officially licensed to take your money."
|
|
icon_state = "card_pack_spaceball"
|
|
decktype = /datum/playingcard/spaceball_cards
|
|
|
|
/obj/item/pack/spaceball/Initialize()
|
|
. = ..()
|
|
var/datum/playingcard/spaceball_cards/P
|
|
var/i
|
|
for(i=0;i<5;i++)
|
|
P = new()
|
|
cards += P
|
|
|
|
/datum/playingcard/spaceball_cards/New() /// This is all very silly but I don't care enough about sports to refluff it.
|
|
var/year = 554 + text2num(time2text(world.timeofday, "YYYY"))
|
|
if(prob(1))
|
|
name = "Spaceball Jones, [year] Brickburn Galaxy Trekers"
|
|
card_icon = "spaceball_jones"
|
|
else
|
|
var/language_type = pick(/datum/language/human,/datum/language/skrell,/datum/language/tajaran,/datum/language/unathi,/datum/language/diona_local) /// Keeping diona because it's hilarious, though.
|
|
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")
|
|
name = "[L.get_random_name(pick(MALE,FEMALE))], [year - rand(0,50)] [team]"
|
|
card_icon = "spaceball_standard"
|
|
back_icon = "card_back_spaceball"
|