Tabletop Simulator

Tabletop Simulator

[scripted] Power Grid
正在显示第 21 - 30 项,共 76 项条目
< 1  2  3  4  5 ... 8 >
更新于:2021 年 9 月 25 日 下午 11:29

More bug fixes, but also some of the groundwork for more bidding support. Robots will actually be restricted by their 'Upper Body' specification, and will automatically pass their bid if the restriction isn't met.

===== V 1.19.3 =====
[Game]
- Added rules to the 'Rules' page of the Notebook menu
- Changed: The notes below expansion bags now no longer mention a manual setup, since most of it is scripted
- Changed: You can no longer bid more than you can pay
- Fixed: Card 5 and 6 are swapped on startup
- Fixed: The player who last bid sometimes still gets a turn

[Scripting]
- Tried to fix the errors you get when you exit the game, and also tried to fix the lag after exit. This is mostly caused by TTS triggering the 'onObjectLeaveScriptingZone' when an object is destroyed. Not really fixed yet, but reduced the amount of 'onObjectLeaveScriptingZone' listeners.

更新于:2021 年 9 月 10 日 上午 12:27

Just bug fixes, mostly in the cards/deck.

===== V 1.19.2 =====
[Game]
- Fixed: Bidding support activates too soon with the China expansion
- Fixed: Some cards aren't recognized properly by the scripting

[Scripting]
- The China fix had to do with the script not waiting until the market setup was done. This caused the bidding support to detect the 'move cards to start position' as an action of a player. Fixed by only activating the bidding support after the market setup is done.
- Not really scripting related, but might be interesting: All cards have a description that describes the card. The problem was that some of the cards were either missing a description, or had a description with the wrong numbers in them.

更新于:2021 年 8 月 29 日 上午 10:47

Added settings for the 'Players' power plants' square, and for the bidding support. You can now turn it off if you want by going to automation -> market, and custom -> Power Plant Squares.

===== V 1.19.1 =====
[Game]
- Added settings/toggles for the bidding support. It can now be turned off
- Added settings/toggles for the power plant square support. It can be completely turned of, or just parts of the logic.

[Scripting]
- Nothing much changed. Implementing of settings is easy with the new settings module that was made a few versions back.

更新于:2021 年 8 月 27 日 上午 5:14

One of the most requested and awaited feature is here; Bidding Support 🎉
When bidding on power plants, a 'bidding table' will appear to assist you in bidding on power plants. It allows for bidding in clockwise order and keeps track of who has already bid.
This release also brings some bug fixes for loading and saving the game.
No 'settings' have been added for this feature, though this will probably be added in a future version.

===== V 1.19.0 =====
[Game]
- Added bidding support through 'bidding tables'. Bidding tables appear when a power plant is selected
- Powered resources now have an outline before they are discarded
- Fixed: multiple bugs with the powering of power plants in phase 5
- Fixed: saving and then loading the game doesn't show the correct turn/phase information
- Fixed: saving and then loading the game throws errors when building cities

[Scripting]
- Refactored the market logic. Instead of defining the same logic twice, both the China and the default market share logic. The only difference is some minor settings.

更新于:2021 年 8 月 1 日 上午 2:04

The first step towards better bidding support has been made! This update brings with it an improved "Player x's power plants" square; the plant board! It makes it visually clear where your power plants need to go, plus lots of integration with the rest of the scripting. You no longer have to manually discard resources from your power plant when you power it.

===== V 1.18.0 =====
[Game]
- Replaced the colored box in front of players with a 'plant board'.
- The plant board discards resources when powered
- Fixed: null pointer error when loading a saved game, or when winning the game

[Scripting]
- Added the new plant board. The board integrates with a lot of the other scripting.
- Determining who bought a power plant is now more stable. It used to check based on 'who dragged the power plant away from the market', but is now 'who has a new power plant in the plant board'
- Made a start with actually unit testing the code! You won't find it in the game file, but there is a modified version of the game that contains a testing library and unit tests. Currently only tests a few table util functions, but will be expanded to cover more. (already found some and fixed bugs thanks to the tests)

更新于:2021 年 6 月 6 日 上午 12:08

Added some more counters to track the number of games played per year, week and day. Uploaded all game assets to the steam cloud.

===== V 1.17.3 =====
[Game]
- All game assets are now hosted in the Steam cloud. This should hopefully prevent objects from not loading
- Disabled the check if players have bought a power plant; the logic was too unstable.

[Scripting]
- Not much changed

更新于:2021 年 5 月 4 日 下午 11:10

Added some very basic analytics to track how often the game is played, and what expansions are played. Don't want this? Go to settings -> other -> analytics and then select 'Analytics' to disable it.

===== V 1.17.2 =====
[Game]
- None

[Scripting]
- Added analytics by using the 'CountApi'; https://countapi.xyz/. Currently only tracks how often the game is played, how many players play in a session, and what expansions are played.

更新于:2021 年 5 月 2 日 上午 1:29

Bug fixes having to do with game loading / exiting.

===== V 1.17.1 =====
[Game]
- Fix; Going to main menu from an active game throws lots of errors (might still throw errors, but should be quite a bit less)
- Fix; loading an active game with Turns enabled throws a nil pointer

[Scripting]
- Debounce the onObjectLeaveScriptingZone functions to prevent a massive amount of errors when exiting the game.

更新于:2021 年 5 月 1 日 上午 6:06

Fixed some bugs and added two new features; area selection and a city planner. Area selection means you can select which areas to play in, and the script will automatically block the deselected areas. This will make it easier to indicate what area you play in. The city planner helps players with choosing where to build their next cities. It shows where you can build, and is able to automatically build and discard electro as required.
Both features are optional when enabled, but can also be disabled in the settings.

===== V 1.17.0 =====
[Game]
- Added area selection
- Added a city planner
- You can now do private calculations by appending a '>' in front of your calculation: '>1+1' only shows your calculation an the result to you, not to your fellow players. (Tip; you can do calculations by typing a sum in the chat. It can even handle complex calculations like (2+5+1+13) + 10 * 4)
- When powering cities the game will say how many cities are powered
- Fix; when playing the Korea expansion, the refill card doesn't show the Korea refill.
- Fix; when players have the same amount of cities, the turn order is not correctly calculated
- Fix; discarding power plants as yellow or pink using the discard plates would sometimes mark you as having bought a power plant
- Fix; playing after the game has ended will result in errors

[Scripting]
- All boards contain extra information about; where cities are, the connection cost between cities, what cities belong to an area, which areas there are, etc.

更新于:2021 年 4 月 18 日 上午 8:17

Found another bug where the turn order would be incorrect when tied on cities.

===== V 1.16.5 =====
[Game]
- Fix; turn order for players with same city count is random

[Scripting]
- Something somewhere went wrong with a .name call on a card, which returns 'Card' instead of the actual name of the card.