Tabletop Simulator

Tabletop Simulator

Not enough ratings
Mafia/Town of Salem [Scripted] (Beta)
   
Award
Favorite
Favorited
Unfavorite
Game Category: Card Games
Assets: Scripting
Tags: 4+
File Size
Posted
Updated
161.135 KB
13 Apr, 2016 @ 12:46am
28 Apr, 2016 @ 12:20am
7 Change Notes ( view )

Subscribe to download
Mafia/Town of Salem [Scripted] (Beta)

In 1 collection by Gikerl
Top Scripting Mods
15 items
Description
About the game
The aim of the game changes with various roles. Generally, the game splits into three different teams: the Town, the Mafia and the Neutrals. The goal of the Town (also commonly known as "Townies") is to kill or lynch all the Mafia, and other hostile Neutrals, such as the Serial Killer or Arsonist. The Mafia's aim is to kill the Town, and any hostile Neutrals. The Neutrals have a variety of goals relating to their individual roles - generally, they don't have a particular side. Deception and lying can be a massive part of controlling and winning the game, depending on the role.


How Mafia chat works
So the current solution to the mafia chat is the following: every mafia member gets a card with his and a card for each other mafia member with their name on it. If you write something at night on your card (the one with your name) the others will see that on their card.
You can also use the whisper function.


About this mod
There are currently 21 roles available. If you think an important role is missing, let me know. I'd like to add some more neutral roles like cult, etc. but that will take a while.

In order to play create a deck by copying the cards in the deck area. The number of cards in the deck area has to be equal to the number of players! After you are done with the setup, press the start button and you should be able to start playing.

You will always start at day. You can end a phase (Day, Lynch, Night) by pressing on the clock. Buttons are not hidden even if they are in the hidden zone. That means every role get the same buttons, which means that is theoreticly possible for mafia to kill each other! Be aware of that.

All the hidden zones belong to white in the beginning. You will have to chance to color manually every time. With the current scripting API there is no way for me to change the color. So you will either have to play without the white hand or white has to blindfold himself before someone presses start.


Help me
This is a big script and i need your help to test it. If you find bugs both scripting and gameplay, please let me know.

If you have any other suggestions feel free to post them here.

I am currently searching for someone who could do some artwork. The cards currently look boring. So if anyone wants to help, i would very much apreciate it :-)

Also if somebody has a nice combination of roles, let me know and will put them into a premade deck, so you don't always have to create a deck before playing.


Credit
The town houses are from Sato-San's mod Town of Salem: http://steamproxy.net/sharedfiles/filedetails/?id=507716537
9 Comments
Mystogan 4 Jul, 2019 @ 12:48pm 
Can you update this? Seems pretty dope but it's currently really bugged. Can't get a proper game going.
Gikerl  [author] 13 Oct, 2016 @ 12:53pm 
Cool good to know, thanks. The mod is currently completly broken. I am rewriting the whole thing.
Markimus 13 Oct, 2016 @ 12:42pm 
Just so you know, the houses aren't actually originally from Sato-San's Town of Salem mod. They're from a Workshop mod called "Models, Various" .
Gikerl  [author] 1 May, 2016 @ 2:28pm 
O.o I'll fix that tomorrow!
Sykken 1 May, 2016 @ 2:07pm 
getting an array out of range exception when trying to lynch someone.
Gikerl  [author] 28 Apr, 2016 @ 3:01am 
You built a deck and put it in the deckzone. When you press start, the cards in the deckzone get shuffeled and dealt.
The other cards you can just delete.
Das 28 Apr, 2016 @ 1:50am 
Ah okay, I haven't had a chance to test it properly yet, but I didn't notice any obvious way to chose what roles come into play? Do you just delete the ones you don't want before starting?
Gikerl  [author] 28 Apr, 2016 @ 1:30am 
The TTS Update added hidden buttons. So now your night actions has the right buttons and i fixed some Role messages. Nothing major :-)
Das 28 Apr, 2016 @ 1:25am 
What was changed/added in the latest update?