Homeslice
-anoyn/Rage the Mage
The !kills command only shows your frags, like this:
16:00 You do not have any unjustified kill.
With my changes:
19:56 You do not have any unjustified kills. Red skull at 6 frags. Black skull at 12 frags.
This is just a simple change so players know how many frags are required for red and black skulls. Probably should be in vanilla TFS
Tested with TFS 1.2 and 1.3.
In data\talkactions\scripts\kills.lua
Change:
to
Change
to
Change
to
16:00 You do not have any unjustified kill.
With my changes:
19:56 You do not have any unjustified kills. Red skull at 6 frags. Black skull at 12 frags.
This is just a simple change so players know how many frags are required for red and black skulls. Probably should be in vanilla TFS
Tested with TFS 1.2 and 1.3.
In data\talkactions\scripts\kills.lua
Change:
Lua:
if fragTime <= 0 then
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You do not have any unjustified kill.")
return false
end
Lua:
if fragTime <= 0 then
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You do not have any unjustified kills. Red skull at " ..
configManager.getNumber(configKeys.KILLS_TO_RED) .. " frags. Black skull at " .. configManager.getNumber(configKeys.KILLS_TO_BLACK) .. " frags.")
return false
end
Lua:
if skullTime <= 0 then
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You do not have any unjustified kill.")
return false
end
Lua:
if skullTime <= 0 then
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You do not have any unjustified kills. Red skull at " ..
configManager.getNumber(configKeys.KILLS_TO_RED) .. " frags. Black skull at " .. configManager.getNumber(configKeys.KILLS_TO_BLACK) .. " frags.")
return false
end
Lua:
local message = "You have " .. kills .. " unjustified kill" .. (kills > 1 and "s" or "") .. ". The amount of unjustified kills will decrease after: "
Lua:
local message = "You have " .. kills .. " unjustified kill" .. (kills > 1 and "s" or "") .. ". Red skull at " ..
configManager.getNumber(configKeys.KILLS_TO_RED) .. " frags. Black skull at " .. configManager.getNumber(configKeys.KILLS_TO_BLACK) ..
" frags. The amount of unjustified kills will decrease after: "