-
-
Save brine/94e415516160612f40f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Any game section that is required outside of the game window needs to be global across all game modes, and should be | |
included only in the root definition xml: | |
- All tags in the <game> element | |
- <fonts> | |
- <proxygen> | |
- <gameModes> | |
- <card> | |
- <deck> | |
- <sharedDeck> | |
--!> | |
<?xml version="1.0" encoding="utf-8"?> | |
<!-- gamedefinition.xml --> | |
<game | |
name="The Spoils" | |
id="844d5fe3-bdb5-4ad2-ba83-88c2c2db6d88" | |
octgnVersion="3.1.126.269" | |
version="1.4.4.5" | |
markersize="16" | |
tags="game octgn The Spoils best game ever" | |
description="The Spoils is perhaps the best CCG ever conceived." | |
setsurl="http://www.theworldsnotes.com" | |
gameurl="http://www.thespoils.com" | |
authors="TriAdX cameris" | |
iconurl="http://theworldsnotes.com/images/Spoils_logo_trans.png" | |
deckEditorFont="" deckEditorFontSize="14"> | |
<fonts> | |
<font src="fonts/mplantin.ttf" size="14" target="context"/> | |
</fonts> | |
<proxygen src="Proxy/proxydef.xml"> | |
</proxygen> | |
<cardSizes> | |
<cardSize name="standard" default="True" width="63" height="88"/> | |
<cardSize name="wide" width="88" height="63"/> | |
</cardSizes> | |
<gameModes> | |
<gameMode name="Standard" shortDescription="All cards allowed." image="art/standard.jpg" playerCount="2" /> | |
</gameModes> | |
<properties> | |
<property name="Card Number" type="String"></property> | |
<property name="Rarity" type="String"></property> | |
<property name="Trade" type="String"></property> | |
<property name="Type" type="String"></property> | |
<property name="Subtype" type="String"></property> | |
<property name="Threshold" type="String"></property> | |
<property name="Cost" type="String"></property> | |
<property name="Strength" type="String"></property> | |
<property name="Life" type="String"></property> | |
<property name="Speed" type="String"></property> | |
<property name="Structure" type="String"></property> | |
<property name="Card Text" type="String"></property> | |
<property name="Flavor" type="String"></property> | |
</properties> | |
<deck> | |
<section name="Game Deck" group="Draw deck"></section> | |
<section name="Faction" group="Hand"></section> | |
</deck> | |
</game> | |
<!-- maintemplate.modetemp.xml --> | |
<mode name="MainTemplate" description="tacos" isTemplate="True"> | |
<scripts> | |
<script src="Scripts/actions.py" /> | |
<script src="Scripts/changelog.py" /> | |
</scripts> | |
<events> | |
<event name="OnTableLoad" action="on_table_load" /> | |
<event name="OnGameStart" action="on_game_start" /> | |
<event name="OnMoveCard" action="on_move_card" /> | |
<event name="OnGlobalVariableChanged" action="on_glob_var_change" /> | |
<event name="OnTurn" action="on_turn" /> | |
<event name="OnTurn" action="on_turn" /> | |
<event name="OnCardClick" action="on_card_click" /> | |
</events> | |
<documents> | |
<document name="The Spoils Basic Rules" icon="documents/images/help.png" src="documents/basic_rules.html" /> | |
<document name="The Spoils OCTGN Interface" icon="documents/images/help.png" src="documents/interface.html" /> | |
</documents> | |
<globalvariables> | |
<globalvariable name="attached" value="{}" /> | |
<globalvariable name="response_stack" value="[]" /> | |
</globalvariables> | |
<cardImages> | |
<cardImage sizeName="standard" back="cards/cardback01.jpg" front="cards/cardfront01.jpg"/> | |
<cardImage sizeName="wide" back="cards/cardback01-w.jpg" front="cards/cardfront01-w.jpg"/> | |
</cardImages> | |
<menus> | |
<menu name="defaultTable"> | |
<cardaction name="Use Ability (Tab+LeftClick)" shortcut="ctrl+E" batchExecute="use_ability" /> | |
<cardaction name="Deplete/Restore|Attach/Detach Resource" default="True" batchExecute="default_action" /> | |
<cardaction name="Attach/Detach Resource to/from Faction" shortcut="F7" batchExecute="attach_to_faction" /> | |
<cardaction name="Deplete/Restore" shortcut="F8" batchExecute="deplete" /> | |
<cardaction name="Attack" shortcut="ctrl+A" batchExecute="attack" /> | |
<cardaction name="Block" shortcut="ctrl+B" execute="block" /> | |
<cardaction name="Attach/Detach" shortcut="ctrl+Q" execute="attach" /> | |
<cardaction name="Clear Card" shortcut="esc" execute="clear" /> | |
<cardactions name="Tokens/Markers..." > | |
<cardaction name="Add Token" shortcut="ctrl+1" execute="add_token" /> | |
<cardaction name="Remove Token" shortcut="ctrl+2" execute="remove_token" /> | |
<cardaction name="Add Location Damage" shortcut="ctrl+3" execute="add_loc_dmg" /> | |
<cardaction name="Remove Location Damage" shortcut="ctrl+4" execute="remove_loc_dmg" /> | |
<cardaction name="Toggle Don't Restore" shortcut="ctrl+5" execute="toggle_dont_restore" /> | |
<cardaction name="Add Tokens/Markers..." shortcut="ctrl+M" batchExecute="add_marker" /> | |
</cardactions> | |
<cardactions name="Flip Card..." > | |
<cardaction name="Flip Up / Flip Down" shortcut="ctrl+F" batchExecute="flip_up" /> | |
<cardaction name="Reveal / Hide" shortcut="alt+F" execute="reveal" /> | |
</cardactions> | |
<cardactions name="Move to..." > | |
<cardaction name="Hand" shortcut="ctrl+H" execute="tohand" /> | |
<cardaction name="Discard Pile" shortcut="del" execute="destroy" /> | |
<cardaction name="Out of Game" shortcut="ctrl+X" execute="removefromgame" /> | |
<cardaction name="Draw Deck" shortcut="ctrl+Z" execute="movetodrawdeck" /> | |
<cardaction name="Bottom of Draw Deck" shortcut="ctrl+alt+Z" execute="movetobottom" /> | |
</cardactions> | |
<groupaction name="Rearrange Cards" shortcut="ctrl+W" execute="arrange_cards" /> | |
<groupaction name="Clear targets and combat" shortcut="Esc" execute="clearAll" /> | |
<groupaction name="No" shortcut="F1" execute="answer_no" /> | |
<groupaction name="Yes" shortcut="F2" execute="answer_yes" /> | |
<groupaction name="Create single Micromajig" shortcut="alt+M" execute="micromajig" /> | |
<groupaction name="Create Micromajig" shortcut="ctrl+M" execute="micromajig_menu" /> | |
<groupaction name="Roll 20-sided Die" shortcut="ctrl+shift+R" execute="roll20" /> | |
<groupaction name="Roll 6-sided Die" shortcut="ctrl+R" execute="roll6" /> | |
<groupaction name="Flip a Coin" shortcut="ctrl+F" execute="flipCoin" /> | |
<groupactions name="Phases / Steps..." > | |
<!--<groupaction name="Use Restore Rule" shortcut="F1" execute="goToRestore" />--> | |
<!--<groupaction name="Use Development Rule" shortcut="F2" execute="goToDevelopment" />--> | |
<!--<groupaction name="Enter Attack" shortcut="F3" execute="goToAttack" />--> | |
<!--<groupaction name="Resolve Battle/Speed" shortcut="F4" execute="goToResolve" />--> | |
<groupaction name="Use Restore Rule" shortcut="F3" execute="goToRestore" /> | |
<groupaction name="Use Development Rule" shortcut="F4" execute="goToDevelopment" /> | |
<groupaction name="END turn" shortcut="F5" execute="goToEnd" /> | |
<groupaction name="Display Current Phase" shortcut="ctrl+shift+n" execute="showCurrentPhase" /> | |
<groupaction name="Next Phase" shortcut="ctrl+n" execute="nextPhase" /> | |
<groupaction name="Reset Response Stack" execute="end_response" /> | |
</groupactions> | |
<groupactions name="Game Settings"> | |
<groupaction name="Layout" execute="change_layout" /> | |
<groupaction name="Layout spaces" execute="change_spacer" /> | |
<groupaction name="Attach resources to left/right" execute="change_res_attach" /> | |
<groupaction name="Seating order" execute="change_seating_order" /> | |
</groupactions> | |
<groupaction name="Scoop" execute="scoop" /> | |
</menu> | |
<menu name="normalHandMenu"> | |
<groupaction name="Random Discard" execute="randomDiscard" /> | |
<cardaction name="Play Card" default="True" execute="play" /> | |
<cardaction name="Discard Card" shortcut="del" execute="discard" /> | |
<cardaction name="Play Resource (LeftAlt+LeftClick)" shortcut="F9" execute="playresource" /> | |
<cardaction name="Remove Card from Game" shortcut="ctrl+X" execute="removefromgame" /> | |
<cardaction name="Move to Draw Deck" shortcut="ctrl+Z" execute="movetodrawdeck" /> | |
<cardaction name="Move to Bottom of Draw Deck" shortcut="ctrl+alt+Z" execute="movetobottom" /> | |
<cardaction name="Use Ability (Tab+LeftClick)" shortcut="ctrl+E" execute="use_ability" /> | |
</menu> | |
<menu name="discardPileMenu"> | |
<groupaction name="Shuffle" shortcut="ctrl+S" execute="shuffle" /> | |
<groupaction name="Randomly draw a Card" execute="randomdraw" /> | |
<cardaction name="Play face-down" execute="playfacedown" /> | |
<cardaction name="Use Ability (Tab+LeftClick)" shortcut="ctrl+E" execute="use_ability" /> | |
<cardactions name="Move to..." > | |
<cardaction name="Hand" shortcut="ctrl+H" execute="tohand" /> | |
<cardaction name="Out of Game" shortcut="ctrl+X" execute="removefromgame" /> | |
<cardaction name="Draw Deck" shortcut="ctrl+Z" execute="movetodrawdeck" /> | |
<cardaction name="Bottom of Draw Deck" shortcut="ctrl+alt+Z" execute="movetobottom" /> | |
</cardactions> | |
</menu> | |
<menu name="outOfGamePileMenu"> | |
<groupaction name="Shuffle" shortcut="ctrl+S" execute="shuffle" /> | |
<cardactions name="Move to..." > | |
<cardaction name="Hand" shortcut="ctrl+H" execute="tohand" /> | |
<cardaction name="Discard Pile" shortcut="del" execute="destroy" /> | |
<cardaction name="Draw Deck" shortcut="ctrl+Z" execute="movetodrawdeck" /> | |
<cardaction name="Bottom of Draw Deck" shortcut="ctrl+alt+Z" execute="movetobottom" /> | |
</cardactions> | |
</menu> | |
</menus> | |
<table name="Table" menu="defaultTable" visibility="undefined" ordered="False" | |
scaleCardSize="standard" cardScaleWidth="100" cardScaleHeight="10"> | |
<backgrounds> | |
<background name="background1" src="Table/background.jpg" backgroundStyle="uniformToFill"/> | |
</backgrounds> | |
<boards> | |
<board name="board1" src="Table/Tabletop.png" x="-650" y="-370" width="1300" height="808" /> | |
</boards> | |
</table> | |
<playerTypes> | |
<playerType name="normal" hand="normalHand" summary="{#Influence} / {#Hand} / {#Discard pile} [{#Obsession},{#Greed},{#Elitism},{#Deception},{#Rage},{#Volition}]"> | |
<counter name="Influence" icon="counters/influence.png" default="25"></counter> | |
<counter name="Obsession" icon="counters/small_obsession.png"></counter> | |
<counter name="Greed" icon="counters/small_greed.png"></counter> | |
<counter name="Elitism" icon="counters/small_elitism.png"></counter> | |
<counter name="Deception" icon="counters/small_deception.png"></counter> | |
<counter name="Rage" icon="counters/small_rage.png"></counter> | |
<counter name="Volition" icon="counters/small_staple.png"></counter> | |
<hand name="Hand" type="Hand" menu="normalHandMenu" shortcut="ctrl+H" visibility="me" ordered="False" icon="groups/hand.png"/> | |
<piles> | |
<pile name="Deck Pile" type="Draw deck" menu="drawPileMenu" shortcut="ctrl+P" visibility="none" icon="groups/deck.png"/> | |
<pile name="Discard Pile" menu="discardPileMenu" shortcut="del" visibility="all" icon="groups/discard.png"/> | |
<pile name="Out of Game" menu="outOfGamePileMenu" shortcut="ctrl+X" visibility="all" icon="groups/oog.png"/> | |
</piles> | |
</playerType> | |
</playerTypes> | |
</mode> | |
<!-- standard.mode.xml --> | |
<mode name="Standard" description="Standard Spoils play" inherits="MainTemplate"> | |
<events> | |
<event name="OnLoadDeck" action="on_load_deck_silly"/> | |
<events> | |
</mode> | |
<!-- silly.mode.xml --> | |
<mode name="Silly" description="Silly Spoils Play" inherits="MainTemplate"> | |
<events> | |
<event name="OnLoadDeck" action="on_load_deck" /> | |
<events> | |
</mode> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment