LackeyCCG

LackeyCCG Forum => Plugins & Plugin Creation Forum => Topic started by: Supa on March 07, 2017, 08:13:10 PM

Title: Making a Shared Deck system?
Post by: Supa on March 07, 2017, 08:13:10 PM
So I was trying to figure out how to make a singular deck style game, such as Uno where everyone around the table draws from one pile on the table. Is there a way to do this that I am overlooking?
Title: Re: Making a Shared Deck system?
Post by: DomonX on June 21, 2017, 03:50:36 PM
<gamezone>
     <label>Deck</label>
     <visibletoowner>no</visibletoowner>
     <visibletoothers>no</visibletoothers>
     <isshared>yes</isshared>
</gamezone>

<generalfunction>
   <label>Draw</label>
   <kind>TRANSFERCARD</kind>
   <sourceowner>shared</sourceowner>
   <sourcegamezone>Deck</sourcegamezone>
   <sourceposition>top</sourceposition>
   <destinationowner>performer</destinationowner>
   <destinationgamezone>Hand</destinationgamezone>
   <destinationposition>top</destinationposition>
   <includeasbutton>yes</includeasbutton>
</generalfunction>

Solved this problem this way, hope i helped someone