Wiz-Off Fix

This commit is contained in:
Casey
2022-03-10 23:22:56 -05:00
committed by CHOMPStation2
parent f263df0214
commit edbd4ebcd2
5 changed files with 63 additions and 0 deletions

View File

@@ -140,3 +140,12 @@
display_name = "Cards Against The Galaxy (black deck)"
path = /obj/item/weapon/deck/cah/black
description = "The ever-popular Cards Against The Galaxy word game. Warning: may include traces of broken fourth wall. This is the black deck."
/datum/gear/wizoff
display_name = "WizOff"
path = /obj/item/weapon/deck/wizoff
/datum/gear/wizoffguide
display_name = "WizOff Guide"
path = /obj/item/weapon/book/manual/wizzoffguide
description = "The guide to playing the ever popular card game: Wiz-Off!"

View File

@@ -55,3 +55,49 @@
"U9: Jaunt"
)
/obj/item/weapon/book/manual/wizzoffguide
name = "WizOff Guide"
icon = 'icons/obj/playing_cards.dmi'
icon_state ="wizoff_guide"
item_state = "book16"
author = "Donk Co."
title = "WizOff Guide"
drop_sound = 'sound/items/drop/paper.ogg'
pickup_sound = 'sound/items/pickup/paper.ogg'
/obj/item/weapon/book/manual/wizzoffguide/New()
..()
dat = {"
<html>
<head>
<style>
h1 {font-size: 18px; margin: 15px 0px 5px;}
h2 {font-size: 15px; margin: 15px 0px 5px;}
h3 {font-size: 13px; margin: 5px 0px 5px;}
li {margin: 2px 0px 2px 15px;}
ul {margin: 5px; padding: 0px;}
ol {margin: 5px; padding: 0px 15px;}
body {font-size: 13px; font-family: Verdana;}
</style>
</head>
<body>
<h1><u>Wiz-Off Player Guide</u></h1>
<h2>How to play Wiz-Off!</h2>
<h3>The wizard themed card game</h3>
<p>Each player draws 5 cards. There are five rounds. Each round,<br>
a player selects a card to play, and the winner is selected<br>
based on the following rules:</p>
<ol>
<li>Offensive (O) beats Utility (U)!</li>
<li>Defensive (D) beats Offensive (O)!</li>
<li>Utility (U) beats Defensive (D)!</li>
<li>If both players play the same type of spell, <br>
the higher number wins!</li>
</ol>
<p>The player who wins the most of the 5 rounds wins the game!<br>
Now get ready to battle for the fate of the universe: Wiz-Off!</p>
</body>
</html>
"}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -20641,6 +20641,13 @@
/obj/machinery/atmospherics/unary/vent_pump/on{
dir = 4
},
<<<<<<< HEAD
=======
/obj/item/weapon/storage/pill_bottle/dice,
/obj/item/weapon/storage/pill_bottle/dice_nerd,
/obj/item/weapon/deck/wizoff,
/obj/item/weapon/book/manual/wizzoffguide,
>>>>>>> 3edcc66e62... Merge pull request #12415 from GhostActual/wizoff_fix
/turf/simulated/floor/wood,
/area/library)
"aGZ" = (

View File

@@ -2506,6 +2506,7 @@
#include "code\modules\games\dice.dm"
#include "code\modules\games\spaceball_cards.dm"
#include "code\modules\games\tarot.dm"
#include "code\modules\games\wizoff.dm"
#include "code\modules\genetics\side_effects.dm"
#include "code\modules\ghosttrap\trap.dm"
#include "code\modules\holodeck\HolodeckControl.dm"