Tabletop Simulator

Tabletop Simulator

Darkest Night Second Edition (Scripted)
15 Comments
Aliass Mar 8 @ 12:31pm 
Sometimes, multiple cards are just blank and stay floating in the air when you manipulate them.
you can correst this problem by emptying the cache.
Edivor  [author] Mar 4 @ 8:26pm 
@Korrent Thanks for the feedback. Sorry it took so long. I finally got around to addressing these issues.

1. The map deck is now shuffled during setup.
2. The Darkness deck is now shuffled before dealing a card.
3. Duplicate darkness cards are no longer drawn when moving back and forwards on the Darkness track
4. Split up the Necromancer turn into move/blight/start hero turn.
5. Necromancer quests will only spawn from the first map card.
Korrent Aug 16, 2024 @ 8:26am 
It can also be difficult to manage the necromancer turn when effects modify the movement or spawning of blights, since the script won't account for them and you can't just close the window and do it manually.

To help this, I would suggest breaking the procedure down into more granular steps:
One button to roll the die and move the necromancer.
One button to spawn a blight in the necromancer's position. (can also spawn a quest if using increased quests, but should only do it once per round and should only check the first card drawn. Current procedure seems to check the last card anyway which is another issue)
One button to end the necromancer turn and return to the hero turn. (Only this button closes the panel)

By making those separate buttons, the heroes can more easily "interrupt" the process at any point (to re-roll the movement die or manually move the necromancer if detection was ignored, etc), spawn multiple blights (some darkness cards), or even skip steps altogether.
Korrent Aug 16, 2024 @ 8:23am 
I have found other issues with the mod.

1. The map deck does not get shuffled during setup (because it does not have Deck tag) so setup always spawns the same blights every game. Adding the tag seems to fix it.

2. If the Starting Darkness and Darkness Cards settings result in the game beginning with a darkness card, it is always the same card (because the deck is getting shuffled after this initial card is dealt). I would just wait until the map deck is selected before you deal this card.

3. If darkness moves to the same number more than once in the game, it is drawing another darkness card which is getting placed on top of the card previously drawn at that darkness level.
VexTary Nov 29, 2023 @ 1:36am 
Links with the rules aren't available anymore. Do you know of any place I can find them?
Edivor  [author] Sep 24, 2023 @ 11:33am 
Thank you for the bug reports, @CMac. Add Darkness, Add Quests, and Necromancer Movement with the Gate Blight should all be fixed.
Korrent Sep 24, 2023 @ 10:28am 
The script does not properly handle Gate blight. The die gets +1 for the purpose of finding heroes, but if a hero is not detected then the original roll should be used. As scripted, the +1 continues to be in effect if a hero is not detected. This not only means the necromancer moves the wrong way, but it will also cause an error if the modified total exceeds 6 and a hero is not detected (while this doesn't happen often, it can very easily happen if all heroes are in the monastery)
Korrent Sep 19, 2023 @ 8:07pm 
A similar issue exists with the Add Darkness button (when it should reach a threshold to draw a darkness card, the script breaks because it is using the wrong method to get the deck)
Korrent Sep 19, 2023 @ 7:35pm 
Spawn Quest button seems to be broken, but fix isn't too hard.
In the script for Add Random Quest (d05f88), line 50 says:

local deckObj = Global.call('getDeckFromZone', zone)

But getDeckFromZone is not defined on Global. Maybe it used to be and then some code was re-factored? This can be fixed by changing the line to:

local deckObj = getObjectFromGUID('17f823').call('getDeckFromZone', zone)

Hard-coding the GUID right here isn't the cleanest way but I just wanted to pinpoint the line with the issue.

By the way I am very impressed with the code in this mod!
Edivor  [author] Aug 15, 2023 @ 9:33pm 
You can set the return token hotkey in Options -> Game Keys
sean Aug 7, 2023 @ 5:52pm 
Thank you, excellent work! It says "Press the Return Token hotkey to return a token to the supply"; what is the Return Token hotkey, or how can I see all the hotkeys?
Zenith Jul 8, 2023 @ 10:45pm 
Thanks for making this <3
-W3E- HellDevil Apr 16, 2023 @ 12:48pm 
darkest night of my favorite board games!
Groddur Apr 16, 2023 @ 2:42am 
Outstanding mod ! Many thanks to you, I love this game !
Caprica55 Apr 14, 2023 @ 8:05am 
Nice job on this! I need to get this game off my shelf of shame :)