Tabletop Simulator

Tabletop Simulator

Pandemic Legacy Season 2 (Partially Scripted)
23 Comments
OperatorSkillet Jun 16 @ 7:35pm 
Thank you very much @Rob! I have done your changes and uploaded them here https://steamcommunity.com/sharedfiles/filedetails/?id=3501449155
Rob Jun 15 @ 4:01pm 
I was missing two different table files, but I think I found a solution.
For the first missing model file, change the model like to
https://pastebin.com/raw/JpPS3kqt
The load the model and apply it to the 17 others.
It will say another model is missing, change that model link to
http://pastebin.com/raw/7Y9j1Fz2
and apply it to one other.
All the tables should be loaded correctly. I'm not sure how to make this permanent though.
뜨아거 Jun 9 @ 8:28pm 
http://pastebin.com/raw/7Y9j1Fz2

Use this link for modeling @OperatorSkillet
OperatorSkillet May 5 @ 12:50pm 
Models are broke.
douCC_735 Dec 27, 2024 @ 7:13pm 
This is a well-done creation. The partial scripts are super helpful as well as the statistics. Good job jakub530!
ManualRocket Jul 11, 2023 @ 5:26pm 
Where are the city cards for when you connect cities?
whodack May 12, 2023 @ 11:06pm 
@ reamonntiu
Use the Attach tool instead of the decal station. It's available on the left nav. Combine->Attach
reamonntiu Aug 9, 2022 @ 6:11am 
When I put on some of the upgrades using the decal station, they come out sideways. And when I try to do it manually the picture is too small, so when I enlarge it the text is hard to read.
Stoffel Jun 12, 2021 @ 8:37pm 
Verified problem (pkg 2 spoiler): Tehran is misspelled as "Teheran" in the script . Can fix by editing script, possibly also by editing card to match misspelling.

Hints on how to deal with (July-ish Spoiler) Hollow Men Gather cards in the infection deck:


1. Put Hollow Men Gathers (HMG) cards in the discard area.
2. Shuffle the face-down infection deck.
3. Add HMG to top of infection deck face-down, NOT shuffling it.
4. Click "Setup Statistics". Script now knows about HMG cards.
5. "Draw top card" for each HMG, then draw starting 9 infection cards.


Removing cards from the infection deck for any reason also messes it up; stamp with a temporary decal keep drawing when they come up, then remove them after the game.
whodack Apr 2, 2021 @ 12:46pm 
For anyone using this, I think I found and fixed a bug in the LUA scripting.

Right click on the checker near infection deck and go to scripting. Click on Checker White. Scroll down to function init_statistics()

Card_Counts[ obj.name ] = Card_Counts[ obj.name ] + 1

should be

Card_Counts[ obj.name ] = (Card_Counts[ obj.name ] or 0) + 1
whodack Mar 25, 2021 @ 5:37am 
Curious if pythonax ever made those changes? I'm about to start a new season and those updates sound nice.
pythonax Dec 14, 2020 @ 7:06pm 
Hey Jakub,
I was getting frustrated by the lack of text boxes for Cities, the Game Calendar, and on character cards, so I am currently going through and adding them in based off some scripting I had seen in Clank! Legacy. This includes the work to make sure that when you add exposures to characters the text comes along, as well as possibly adding an automatic cities on the grid count. I am also fixing an issue I found where every time you drag a character card past someone's hand it would re-orient it sideways. It is entirely possible that I may hack in fixes for a few other things that irritate me as well. I would be happy to share my changes with you if you have any plans to update this in the future. These are mostly just adding LuaScript fields to a number of items in the save file, so it shouldn't be too complicated to merge in.
H2G Oct 24, 2020 @ 6:05am 
Yes I did it by adding a missing city to the list of cities.

Let's just say... I wish I hadn't looked at the scripting because I feel like it's too much spoiled for me.
jakub530  [author] Oct 24, 2020 @ 2:47am 
I see, thank you very much I will definitely try to fix it. I am not sure to what extent you are aware how scripting works but you can open script in your setup (right click on checker next to buttons) and there is a list of all the cities. If that particular city causes a problem it is either missing or I spelled it incorrectly. Thanks for pointing it out and hopefully it will now work for you.
H2G Oct 23, 2020 @ 6:27pm 
Hi jakub,

I've found the problem lies when I've rechecked by putting infection cards one by one, while checking for statistics setup. Only one card that only caused this problem is: (may be SPOILER) Kinshasa

Infection script is working just fine without that certain card.
jakub530  [author] Oct 23, 2020 @ 4:23pm 
This error suggests that there is no card group nr 2. For the infection script to work correctly you have to do everything using buttons not manually. That includes drawing cards, and intensifying infection (shuffling deck after epidemic and placing it on top). There are some corner cases I am aware of that tend to mess things up. One of them is if there is only single card left in infection deck it will cause problem. I might fix that in the future but at this point I don't quite have time for such extensive code rewrite.
H2G Oct 23, 2020 @ 5:23am 
When I attempted to draw infection cards during new setup, I got this error message: "Error in Script (Checker White - 432a40) function <draw_top>: chunk_3:(114,4-79): attempt to index a nil value <2>". How can I fix this?

I think this problem occurred after I've destroyed copies of infection cards when I played unrationed event card.
jakub530  [author] Oct 18, 2020 @ 11:09am 
I can't seem to find sources anywhere online, but the other mod, as well as my own setup had 3 cards with single box, 3 cards with 2 boxes and 2 cards with 3 boxes - total of eight cards. Hope that helps.
H2G Oct 17, 2020 @ 12:07am 
Forgot to mention that I only just started the Pandemic Legacy S2 for the first time
H2G Oct 17, 2020 @ 12:06am 
Hi,

Could I have confirmation on Produce Supplies card's number of boxes? Because when I shuffled the deck, I realised that the produce supplies card states also randomly shuffled as well.
KilledWithStyle Oct 8, 2020 @ 9:42am 
ah sorry I saw the friend invite and didn't know who you were, re-sent
jakub530  [author] Oct 7, 2020 @ 12:48pm 
KilledWithStyle - Sure I have few other things that I want to fix/implement in potential update. I send you friend request so that we can talk about it.
KilledWithStyle Oct 4, 2020 @ 7:45pm 
Hey! Cool version of this mod. Quick question though, I have a partially scripted version (which was removed from the shop) as well which has stuff that auto-places the continents. I noticed if I imported those pieces to this version, they would auto-place (but slightly off like 2 mm or so). This is very useful and cool, and I was wondering if you wanted to maybe combine that stuff with your mod?