mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-14 09:27:45 +01:00
af16a489a6
* Adds icon and hitsound where needed. * Moves alt_attack to /obj/item and deletes weapons.dm * Replaced /obj/item/weapon with /obj/item * Fixes merge issues. * Fix merge issues.
24 lines
891 B
Plaintext
24 lines
891 B
Plaintext
/obj/item/pack/spaceball
|
|
name = "\improper Spaceball booster pack"
|
|
desc = "Officially licensed to take your money."
|
|
icon_state = "card_pack_spaceball"
|
|
|
|
/obj/item/pack/spaceball/New()
|
|
var/datum/playingcard/P
|
|
var/i
|
|
var/year = 554 + text2num(time2text(world.timeofday, "YYYY"))
|
|
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,/datum/language/tajaran,/datum/language/unathi)
|
|
var/datum/language/L = new language_type()
|
|
var/team = pick("Tau Ceti Galaxy Trekers","Martian Raiders", "Qerrbalak Saints", "Moghes Rockets", "Adhomai Lightening")
|
|
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
|