Tabletop Simulator

Tabletop Simulator

[scripted] Power Grid
153 Comments
Adil3tr 17 Nov, 2024 @ 7:13pm 
I made a mod of the new spin off of power grid fwiw: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3367862376
Jaximonicus ツ 24 Jun, 2024 @ 9:33pm 
Much appreciated for the Quebec map! It's my favourite :)
Adil3tr 15 Jun, 2024 @ 8:44pm 
Thanks!
latens  [author] 15 Jun, 2024 @ 1:24pm 
Update; the Quebec map is now available :wolsmug:
latens  [author] 15 Jun, 2024 @ 4:12am 
There weren't any plans until you asked, but I've now started implementing the map. It will probably be available in the coming week
Jaximonicus ツ 12 Jun, 2024 @ 1:26pm 
Are there plans to add the Quebec map at any point?
latens  [author] 16 Feb, 2024 @ 5:20am 
Thanks for the feedback!
About the bug; That is a major oversight on my part, I really should have seen that in the last update. The market should be fixed again (the cards were missing some properties after I changed the CardBack.jpg URL).
It also turned out that I hadn't actually changed the CardBack.jpg URL for all cards, just for the market deck, so that should also be fixed now.
Kyloff 15 Feb, 2024 @ 6:27pm 
We've been having an issue this past week where someone bids on a power plant being auctioned off, wins the power plant, then when it's time to replace the power plant there's an error message reading "Something went wrong while drawing. Please move it back to the market and try again". We've tried moving some things around, but it causes the script to put all the power plants from the draw deck in the trash. We first noticed the issue February 12th, but didn't run into it February 5th and earlier.

Thanks for all your hard work scripting, this is one of my group's favorite games to play on TTS.
latens  [author] 8 Feb, 2024 @ 11:26am 
Should be fixed now
Toskin 8 Feb, 2024 @ 10:37am 
Any chance of rebasing CardBack.jpg from tts site to somwehere else? File is either blocked by antivirus or connection gets actively refused by site.
latens  [author] 5 Nov, 2023 @ 12:52am 
To change your language open the settings, then select the icon next to the 'X' in the top right corner.
Or do you mean how the game technically handles changing languages? That's just adding the language code in brackets: "[en]Hello World![nl]Hallo Wereld![es]..."
Pingüillsmith 4 Nov, 2023 @ 3:43pm 
How do you guys change the language of the game?
Dynamite 4 Sep, 2023 @ 5:28am 
Very nice mod with lots of powerful scripting. However, I found out what I think is a small problem with the end game score calculation. I had 17 cities in my network (thus triggering the end game scoring) and can power 12 cities. My opponent had only 10 cities but is able to power 17 cities. The script determined that my opponent won when in fact that shouldn't be the case as they only had 10 cities in their network to power.
latens  [author] 2 Jul, 2023 @ 5:16am 
Hey SamZ, I could not reproduce the issue. Does it consistently happen between multiple games? You mention 'Robot selection/build automation', do you mean selecting the robot at the start of the game? Or the automated building of cities?
BadMannersXD 1 Jul, 2023 @ 7:19pm 
Robot selection/build automation isn't working for me. The expansion is selected. The add robot buttons were enabled.
AOS- 2 Jan, 2023 @ 12:21pm 
I figured it all out at some point in time that it was all in the overhead board. Great work with all the amount of scripting and modular system where you get to pick and choose what to automate!
latens  [author] 26 Dec, 2022 @ 10:04am 
Hey AOS-,
What do you mean with "trigger scripting?" The scripting is active by default. When the mod loads you should see a 'Start Game' button. Things should then be reasonably self explanatory.

To switch to a different map you'll have to re-load the mod. Then at the head of the table there is a 'Settings' panel. On the panel is a button 'Expansions'. If you select that button, and then select 'Boards' then you'll see a list of available maps.
AOS- 10 Dec, 2022 @ 6:28pm 
How do you actually trigger scripting?

Also how do you toggle between other maps?
latens  [author] 7 Jun, 2022 @ 8:59am 
Hey BlackEye,

Thanks for the feedback! The resource buying isn't script assisted as of yet, though it is somewhere on my todo list. I'll look into the other things you mentioned
BlackEye 25 May, 2022 @ 5:18am 
The scripting is wow!

Did I miss anything or is the resource buying not script/assisted (calculating the resource cost for example).

A clear hint/notification for cards that can be removed from the market would be great. I missed it multiple times to remove a card before passing the auction.

The winner detection was broken for me. The losing player was displayed as the winner in the chat.
ActionJackson 8 Feb, 2022 @ 7:57pm 
Fantastic script. Couple of small errors but nothing that broke any game play. Only real bug is sometimes when you go to the next auction round it puts up a plant for bid without interaction. But you can put that back and put something else up no problem. Also hovering over the "next player" shows you the next player's color, which is a bit unintuitive. Minor nitpick. Love it! :steamthumbsup:
latens  [author] 22 Jan, 2022 @ 12:33am 
@LostenSpace, good catch! It should be fixed now
LostenSpace 21 Jan, 2022 @ 8:58pm 
Hi, im getting an error where in Phase 3 the cards keep flipping out onto the auction when there should only be 6 cards showing. They are flipping from the draw deck early and its really messing with the bids, because people can see the next power plant available early. Is there a fix for this problem? The mod is really great but that bug is really messing with the late game auctions.
latens  [author] 7 Jan, 2022 @ 4:14am 
Thanks for the heads-up. Although I couldn't reproduce the error I've now hosted the images in the Steam cloud. If the error persists please join the discord and post images.
Guard1an4 6 Jan, 2022 @ 7:35pm 
Just to let you know, the USA board isn't loading. I actually own this game and love your mod of it. I moved 300 miles from my friend who likes to play this so your mod is how we can still play. I appreciate all your hard work on the mod!
latens  [author] 20 Nov, 2021 @ 11:45pm 
The mod will stay online for now. There are free versions of the game on other sites, and those are officially recognized. Just keep in mind that this version isn't official and that if you enjoy the game, consider buying a physical copy.
HivemindX 24 Oct, 2021 @ 12:22pm 
Thanks latens. I appreciate all the work you did and I think you're doing the right thing.
latens  [author] 24 Oct, 2021 @ 3:41am 
@everyone I've had contact with the creators of Power Grid, and they let me know that they do not approve of me hosting a version of the game on Tabletop Simulator. They are working on a digital version of the game themselves, though I do not know when it will be released. I'll be taking the mod offline either today or tomorrow until further notice.
Thank you all for the positive feedback you've given and I wish you all the best!
Ubiquity 18 Oct, 2021 @ 7:04pm 
This certainly the most well written scripted mod I've ever encountered. Great work on the numerous features.
Gozen 18 Oct, 2021 @ 6:37pm 
Very nice scripted mod!
latens  [author] 27 Aug, 2021 @ 5:24am 
Thanks for the feedback @carocat! I'm glad you enjoy the mod.
@Fireproof: I think the rewind is fixed now, could you give it a try? And if you do find errors, please report them in discord.

Last but not least... bidding support has been added 🎉
The feature activates on its own, I will add a toggle to disable it in the future. Give it a try and let me know what you think.
carocat 22 Aug, 2021 @ 3:33am 
Thank you latens for your mod.

We've played many, many, many mods on TTS and your mod impressed us throughout the games of Power Grid we've played. Genuinely impressed with the things you've scripted and thought of.

THANK YOU! :steamthumbsup:
latens  [author] 1 Aug, 2021 @ 2:17am 
@Fireproof, thanks for letting me know that the rewind is broken. The rewind is kind of a funky feature which introduces a lot of edge cases, but I'll see if I can make it more stable.

Also; version 1.18.0 was just published. It changes the way your power plants are managed. Give it a try and let me know (here or on discord) what you think of it!
[FTZ]_Fireproof 9 Jun, 2021 @ 8:47pm 
Love this mod! My favorite of a few I tried out by far. I'm excited to see an automated bidding update :D it took us too long on our first run through to realize it wasn't lol

I didn't skim through the comments to see if anyone else had this issue but the rewind button broke almost all of the automation for the game. We don't use it usually but someone hit it on accident and that's how we found out.
latens  [author] 2 Jun, 2021 @ 8:16am 
Thanks for the feedback! I can't seem to reproduce the error or the missing pieces myself though. Could you join the discord and post an image of the game where you have missing pieces?
I Have NBN Now 2 Jun, 2021 @ 6:25am 
i get a "load image failed unsupported format" and some of the green phase pieces dont all appear, appreciate the script!
erickseid 24 May, 2021 @ 1:59pm 
Very Good
latens  [author] 12 May, 2021 @ 10:22am 
@Krimi you can play on your own by using 'The Robots' expansion. To do so you can select the 'Add Robot' buttons around the board. As soon as you select 'Start Game' the scripting will place the robots you selected. You can find a rule book on how to play with the robots in-game.
For further questions I'd suggest you join the discord to prevent spamming this thread.
Krimi 11 May, 2021 @ 2:09am 
I see in the description that it is from 1 player. Does it play solo? Can I have more information about it? Thank you
latens  [author] 7 May, 2021 @ 10:58pm 
@PCRMasterMix you can join Power Grid Discord https://discord.gg/fjgcRw9 , though its not very active yet. Otherwise you can join the official Tabletop Simulator Discord; https://discord.gg/9sMecgZwM7
Praction3r 7 May, 2021 @ 8:43pm 
is there a discord to find people to play this with?
latens  [author] 1 May, 2021 @ 11:45am 
Hey That Scar, if you have a screenshot or error message please post them in the discord. I'll then see if I can fix the issue
That Scar 1 May, 2021 @ 10:13am 
I'm not experienced with TTS but generally, just loading a game seems to sometimes make tokens slip under cards and even flip some things over. So it's probably not even the scripts but the game itself acting up.
latens  [author] 1 May, 2021 @ 6:15am 
I've just released a new version of the game with two new features; the city planner, and area selection. Any feedback is greatly appreciated.
latens  [author] 9 Apr, 2021 @ 12:39pm 
Thank you all for the feedback! About the hotseat issue; there is a setting under 'custom' -> 'player plates' -> 'hidden for others'. If you select it so that it turns red then all player plates are visible to everybody.
I'll see if I can automate it so that in hotseat mode it is always revealed.

@HivemindX, the script supports other players bidding during someones turn. If you then select 'next player', the script will mark the player who bought the plant. The original player can then continue, or have someone else outbid him/her. Though pressing skip a few times works too :wolhappy:.

@That Scar, yes you could use robots as player substitutes. Though I'm not sure how stable the scripting is if you change your own color while the game is in progress.
I'll look into the bug you mentioned. I don't think it has anything to do with changing gamemodes though.

That Scar 9 Apr, 2021 @ 8:58am 
I've learned that changing color (seat) is an amazing substitute for hotseat and you can also change seat in multiplayer games, meaning you can mix online and local (which is great!)
With this, you can properly bid in hotseat.

Launch hotseat and add as many players as will ultimately play, then load this workshop item. Click to make the script do the setup, then save the game. Exit to main menu and set up a singleplayer or multiplayer game. Load the save.
If there are errors, try and load again. It seems kind of random, occasionally won't even finish loading. The most common error:
Error in Script (Oil - 528f3b) function <editButton>: Could not find matching button index

@latens
Can Robots be used as dedicated player-placeholders? Their money is always visible but that isn't a BIG problem - are there any other changes that might be problems? I didn't read the expansion rules very thoroughly.
HivemindX 8 Apr, 2021 @ 12:16pm 
Just for information we don't follow the turn sequence when buying power plants. People bid and pay as they would in the physical game then I click the next player button enough times that the buy resources phase starts. Seems to work fine. This is not on hot seat mode obviously.
That Scar 8 Apr, 2021 @ 11:29am 
I can see that "improved bidding support" is a planned feature.
I am new to TTS but I know that I really appreciate it when you can use scripts optionally. A lot of buttons are nice in your scripts where you just click to determine turn order at any point in time. I wish I could use house rules on what order of bidding is present, i.e. just let the players do bidding organically. (actually, at this point, I am not even sure anymore what bidding order is official)
HivemindX 8 Apr, 2021 @ 11:20am 
I found the same issue using Remote Play Together which is hotseat based. The solution I came up with is to turn off the turn automation so you can keep hitting next player until the person who won the bid is active then go back. This isn't great since the turn automation is very useful.

This seems to be a problem with TTS and hotseat rather than this particular mod but I'd be interested if anyone knows of any other games with hidden information and out of turn actions that handle this well. An option where the money and money controls are visible for all players all the time would be useful for hotseat.
That Scar 8 Apr, 2021 @ 11:14am 
OK, next up:
When playing hotseat, it is hard to bid. I assume that, when playing online, every player sees their hand at all times and can pay for a won auction during anyone's turn. In hotseat, money is hidden for all players but the current auction starter.