Files
Bubberstation/code/modules/games/wizoff.dm
EOBGames 603aa7390a Add Wiz-Off: An Arcane Battle for the Fate of the Universe! (#56980)
Adds Wiz-Off, a new and extremely simple card game to the Fun Vendor.
2021-02-22 10:13:55 +00:00

26 lines
1.4 KiB
Plaintext

//It's Wiz-Off, the wizard themed card game! It's modular too, in case you might want to make it Syndie, Sec and Clown themed or something stupid like that.
/obj/item/toy/cards/deck/wizoff
name = "\improper Wiz-Off deck"
desc = "A Wiz-Off deck. Fight an arcane battle for the fate of the universe: Draw 5! Play 5! Best of 5! A rules card is attached."
icon = 'icons/obj/toy.dmi'
icon_state = "deck_wizoff_full"
deckstyle = "wizoff"
var/theme = "wizard"
/obj/item/toy/cards/deck/wizoff/populate_deck()
var/card_list = strings("wizoff.json", theme)
for(var/card in card_list)
cards += "[card]"
/obj/item/toy/cards/deck/wizoff/examine_more(mob/user)
var/list/msg = list("<span class='notice'>Remember the rules of Wiz-Off!</span>")
msg += "\t<span class='info'>Each player draws 5 cards.</span>"
msg += "\t<span class='info'>There are five rounds. Each round, a player selects a card to play, and the winner is selected based on the following rules:</span>"
msg += "\t<span class='info'>Defensive beats Offensive!</span>"
msg += "\t<span class='info'>Offensive beats Utility!</span>"
msg += "\t<span class='info'>Utility beats Defensive!</span>"
msg += "\t<span class='info'>If both players play the same type of spell, the higher number wins!</span>"
msg += "\t<span class='info'>The player who wins the most of the 5 rounds wins the game!</span>"
msg += "\t<span class='notice'>Now get ready to battle for the fate of the universe: Wiz-Off!</span>"
return msg