Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem






- a button that display money earned (linked to "+" player's bank)
- a reset button (clicked at the start of phase 5)
This is useful to track money earned in each round so you can add +50% easily.
Bank amount updates when players click on their bank instead of checking inside onUpdate(). Code inside onUpdate() is executed every frame.
- commented all code in onUpdate() inside Bank.d3a1d3.lua
- added updateBank(value) in Bank.d3a1d3.lua
- added inside minus(), plus() and resetall() in every colour's bank a call to updateBank
- added inside startGame() a call to updateBank adjusting starting money
- added inside onBreakBankPress() in ReserveBank.873c87.lua a call to updateBank
moneyCountersRef[p.color] = getObjectFromGUID(moneyCountersGUIDs[p.color])
players color as index (ex. ["Red"] = "4c3104").
Then in onLoad function I get seated colors with a loop like this
selectedColors = {}
banks = {}
for key,p in ipairs(Player.getPlayers()) do
banks[key] = getObjectFromGUID(countersPlayersGUIDs[p.color])
end
- set in Global.lua a moneyCountersGUIDs indexed table to store GUIDs for players' pieces bank( Ex. moneyCountersGUIDs = {["White"] = whitePieces.bank ...}
- set a blank table for moneyCountersRef
- in onLoad populate the moneyCountersRef table using selectedColors table and moneyCountersGUIDs
- in onSave create a local playersAmount table
- in onSave populate playersAmount table looping with selectedColors. Each entry in playersAmount will have a value from moneyCountersRef[key].getVar("ges"). Remove local keyword in object's script otherwise getVar doesn't work.
- in onSave insert in data_table playersAmount = playersAmount
- in onLoad inside "if saved_data" block if gameStarted is true, get those values from loaded_data.playersAmount and printToAll().
Players will adjust money manually reading values in chat.
- change variable name gameStarter to gameStarterGUID
- remove gameStarter variable in onSave
Bank resets to startup and every 10s it logs an error.
I think this is important because when a connection drops and you must reload you get these errors.
"Before clicking "Start Game" each player must take the 3 restaurant tokens and their turn order marker otherwise they are deleted from table. Move away from scripting zone".
Just found this mod yesterday, and while I can edit each food food path (added /raw) to fix the errors, if there is an easier way, do let us know.
Also, do you think you may add the milestone cards as an option instead of the bingo sheet?
It seems that on retrieving data from the pastebin site, the lack of the "/raw" directory causes TTS to incorrectly retrieve the files. Therefore, adding the "/raw" directory back into the links for the food tokens fixes this problem. I have no idea how this discrepancy may have arose in the first place. As for the time being, it seems that for some people the tokens are broken, and for others they are not. My recommendation would be to reupload the mod after fixing the broken links, since I do not believe anyone has had an issue with the bag models, and thus that link must work fine.
While I am unsure what caused it (since on your end you say it is fine), there has been a discrepancy between the food token URL and the food token bag URL.
The food token objs are being stored under pastebin links i.e. https://pastebin.com/W8STAWUx
The food token bag for the corresponding object has the link: https://pastebin.com/raw/W8STAWUx
Failed to load model (.obj): https://pastebin.com/W8STAWUx
Thanks
Heads up on a couple of issues encountered, which prevented playing the game:
1. The URLs for the food tokens aren't working
2. Not sure if this is a bug, or just me not looking in the correct place - where are the restaurant tokens?
Thank you!
@Nicholas_bb is the hiring tree covering the main board still something you're seeing? I can't reproduce it.
@Ben @Neari
Would be great to see an update here!