traitormod
This commit is contained in:
@@ -20,7 +20,7 @@ local config = dofile("lua/traitormod/traitorconfig.lua")
|
||||
local util = dofile("lua/traitormod/util.lua")
|
||||
|
||||
Game.OverrideTraitors(config.enableTraitors) -- shutup old traitors
|
||||
Game.AllowWifiChat(config.enableWifiChat)
|
||||
Game.AllowWifiChat(config.enableWifiChat) -- deprecated
|
||||
|
||||
traitormod.config = config
|
||||
|
||||
|
||||
@@ -23,11 +23,11 @@ config.traitorShipChance = 15
|
||||
config.traitorShipGodModeDistance = 4000
|
||||
|
||||
config.enableCommunicationsOffline = true
|
||||
config.communicationsOfflineChance = 20
|
||||
config.communicationsOfflineChance = 15
|
||||
|
||||
-- Gameplay Options
|
||||
config.enableSabotage = true -- allow everyone to sabotage
|
||||
config.enableWifiChat = true -- allow people to wire wifi components to the chat ingame
|
||||
config.enableWifiChat = true -- deprecated
|
||||
|
||||
-- Traitor Selection Options
|
||||
config.roundEndPercentageIncrease = 10
|
||||
@@ -41,6 +41,8 @@ config.getAmountTraitors = function (amountClients)
|
||||
|
||||
if amountClients >= 8 then return 2 end -- if theres 8 or more players, 2 traitors will be selected
|
||||
|
||||
if amountClients == 1 then return 0 end
|
||||
|
||||
return 1 -- if theres less than 8 players, there will only one traitor
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user