Aha, thanks
Type: Posts; User: groovyclam
Aha, thanks
Just discovered the newly implemented deck attribute ".remainder"
See this link:
https://forums.tabletopsimulator.com/showthread.php?8596-Last-Card-of-Deck&p=28491#post28491
Which works for...
I've got a script zone which I iterate for objects and if I find a deck I do processing on the cards in that deck.
The processing of the cards in the deck object puts the GUIDS of cards I am...
I've just got my head around this same problem in my own script.
You have to realise that Wait.frames() and Wait.time() DO NOT PUT A PAUSE INTO A LOOP. Wait statements do not have to complete...
That code would be good for a lot of circumstances but you are actually destroying the original deck and replacing it with a new one which could cause some problems in some situations if not kept...
Found out how to do it:
The variable I want to save and reload is called deck_refills so make the follow code changes:
1. Give an argument to your onLoad function definition of saved_data:
...
The card scans are lovely - I like the fact you can see the texture on them.
I had to scan a board for a version of "San Marco" I made for VASSAL - I had the same problems you had. It made me...
Well, your card scans are the nicest I found too
They are indeed - especially the player mats - well done.
If you have any questions just ask, but the variables have sensible names and I have put comments in the code.
The main problem I had to get around was working out when deck_draw was empty. TSS...
Blimey - I've realised you are PsychoSpaniard - we are probably talking about the same game!
I used your graphics in my Bohnanaza mod !
I do something similar in a version of Bohnanza I just wrote ( search for "Bohnanza" in the Steam workshop and subscribe to the one written by "groovyclam" ).
You can pick apart the script in it....
Worked it out myself - set the Y value of the button to just below the tile's top face ( e.g. layoutButtonParam.position = {0.00, -0.20, 0.00} )
I have a variable which holds how many times a deck can be reshuffled and reused before the game ends. During play it reduces towards zero as the deck is reshuffled.
Is there a way to save the...
I have a custom tile with a nice graphic on it and have attached a button to it to call a function when clicked.
The problem I have is that the button sits on top of the tile graphic and hides it....
I've had a look at table lighting options and I think my "Light Intensity" was set too high - it was bleaching out the cards.
I have noticed a difference in appearance in my cards in mods I have made from the uploaded png to the rendered appearance on TTS.
Two examples are given below to a mod I have posted for "The...
Please someone add an API function to slide a card into position X of a deck e.g. "position zero" could be add to the top and no specified position ( or a number greater than the number of cards in...
I have this same problem
To reproduce the bug:
Open game module 2133667088 ( Macao (English Version) by groovyclam )
On the table are 6 coloured cubes ( Black, Violet, Grey, Blue, Red, Green...