Skip to content

Commit

Permalink
small fix & workshop
Browse files Browse the repository at this point in the history
  • Loading branch information
evilfactory committed Aug 4, 2021
1 parent 8980e47 commit c498af9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Lua/Autorun/traitormod.lua
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ end
Hook.Add("roundStart", "traitor_start", function()

Game.SendMessage(
"We are using TraitorMod by EvilFactory and Qunk \n(https://steamcommunity.com/sharedfiles/filedetails/?id=2559709754)\n Join discord.gg/f9zvNNuxu9",
"We are using TraitorMod by\n EvilFactory and Qunk (https://steamcommunity.com/sharedfiles/filedetails/?id=2559709754)\n Join discord.gg/f9zvNNuxu9",
3)

local players = util.GetValidPlayersNoBots()
Expand Down Expand Up @@ -614,15 +614,15 @@ Hook.Add("chatMessage", "chatcommands", function(msg, client)

--marking this for later

if tr.objectiveType == "thething"then
if tr.objectiveType == "thething" then
msg = msg .. "\nCurrent Mission: kill everyone"
end

if tr.objectiveType == "infiltration" then
msg = msg .. "\nCurrent Mission: Exterminate the Main Sub's Crew"
end

if util.TableCount(traitormod.roundtraitors) > 1 then
if tr.objectiveType ~= "thething" and util.TableCount(traitormod.roundtraitors) > 1 then

msg = msg .. "\n\n The code words are: "

Expand Down
12 changes: 6 additions & 6 deletions Lua/traitorconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ config.codewords = codewords
config.amountCodewords = 2
config.traitorSpawnDelay = 60
config.nextMissionDelay = 60
config.chooseBotsAsTraitorTargets = true
config.chooseBotsAsTraitorTargets = false

config.endRoundWhenAllTraitorsDie = false
config.endRoundDelayInSeconds = 60
Expand All @@ -22,23 +22,23 @@ config.overrideDefaultTraitors = true -- never set this to false

config.assassinationEnabled = true

config.infiltrationEnabled = true -- set this to false for the respawn shuttles to work
config.infiltrationEnabled = false -- set this to false for the respawn shuttles to work
config.infiltrationChance = 20
config.infiltrationShipGodModeDistance = 40000

config.pincerEnabled = true
config.pincerChance = 20 -- infiltration chance has priority
config.pincerEnabled = false
config.pincerChance = 15 -- infiltration chance has priority

config.thethingEnabled = false
config.thethingChance = 50
config.thethingChance = 25

config.enableCommunicationsOffline = false
config.communicationsOfflineChance = 15

-- Gameplay Options
config.enableSabotage = true -- allow everyone to sabotage
config.enableWifiChat = true -- fixes wifi chat
config.disableCrewMenu = true -- disables the crew menu by changing everyone's team to friendly npc
config.disableCrewMenu = false -- disables the crew menu by changing everyone's team to friendly npc

-- Traitor Selection Options
config.roundEndPercentageIncrease = 10
Expand Down

0 comments on commit c498af9

Please sign in to comment.