Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release Notes

## 2.5.2 (Beta)
## 2.5.2
**Released: August 8th, 2026**

### Additions
Expand Down
6 changes: 3 additions & 3 deletions docs/api/hooks.html
Original file line number Diff line number Diff line change
Expand Up @@ -507,11 +507,11 @@ <h3><a id="ttthudinfopaintclient-labelx-labely-activelabels" href="#ttthudinfopa
<li><em>labelX</em> - The X value representing the correct indentation from the left side of the screen to add information</li>
<li><em>labelY</em> - The Y value representing the first clear space to add information</li>
<li><em>activeLabels</em> - The list of current active additional labels. Used to determine the labelY offset to use via: <code>labelY = labelY + (20 * #activeLabels)</code>. Be sure to insert an entry when you add your own label so other addons can space appropriately. <em>(Added in 1.6.11)</em></li>
<li><em>x</em> - The X value representing the left edge of the player information HUD <span data-text="Beta Only" class="betaonly betaicon tooltip">&nbsp;</span></h3> <em>(Added in 2.5.2)</em></li>
<li><em>y</em> - The Y value representing the top edge of the player information HUD <span data-text="Beta Only" class="betaonly betaicon tooltip">&nbsp;</span></h3> <em>(Added in 2.5.2)</em></li>
<li><em>x</em> - The X value representing the left edge of the player information HUD <em>(Added in 2.5.2)</em></li>
<li><em>y</em> - The Y value representing the top edge of the player information HUD <em>(Added in 2.5.2)</em></li>
</ul>

<h3><a id="ttthudinfopositionoverrideclient-x-y-width-height" href="#ttthudinfopositionoverrideclient-x-y-width-height">TTTHUDInfoPositionOverride(client, x, y, width, height)</a> <span data-text="Beta Only" class="betaonly betaicon tooltip">&nbsp;</span></h3>
<h3><a id="ttthudinfopositionoverrideclient-x-y-width-height" href="#ttthudinfopositionoverrideclient-x-y-width-height">TTTHUDInfoPositionOverride(client, x, y, width, height)</a></h3>
<p>
Allows overriding the position of the player information HUD (role, health, ammo etc.).<br>
<em>Realm:</em> Client<br>
Expand Down
6 changes: 3 additions & 3 deletions docs/teams/jester.html
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ <h3 style="margin: 10px 0; padding: 0;">Role Configuration:</h3>
<td>Whether the Cannibal causes a sound when poop is dropped from a digested victim. <i>(Requires <code>ttt_cannibal_digestion</code> to be enabled.)</i></td>
</tr>
<tr>
<td>ttt_cannibal_digestion_poop_sound_level <span data-text="Beta Only" class="betaonly betaicon tooltip">&nbsp;</span></td>
<td>ttt_cannibal_digestion_poop_sound_level</td>
<td>100</td>
<td>Integer</td>
<td>The sound level (volume) to play the Cannibal's digestion poop sound (set to 0 to disable). <i>(Requires <code>ttt_cannibal_digestion</code> to be enabled.)</i></td>
Expand All @@ -613,7 +613,7 @@ <h3 style="margin: 10px 0; padding: 0;">Role Configuration:</h3>
<td>The amount of time in seconds between uses of the Cannibal's Cannibalizer.</td>
</tr>
<tr>
<td>ttt_cannibal_eat_sound_level <span data-text="Beta Only" class="betaonly betaicon tooltip">&nbsp;</span></td>
<td>ttt_cannibal_eat_sound_level</td>
<td>100</td>
<td>Integer</td>
<td>The sound level (volume) to play the Cannibal's eat sound (set to 0 to disable).</td>
Expand Down Expand Up @@ -1218,7 +1218,7 @@ <h3 style="margin: 10px 0; padding: 0;">Role Configuration:</h3>
<td>Whether a specific jester role should be fully healed when using the spongifier. Replace * with the name of the jester role you want to configure without spaces or capital letters.</td>
</tr>
<tr>
<td>ttt_sponge_win_ends_round <span data-text="Beta Only" class="betaonly betaicon tooltip">&nbsp;</span></td>
<td>ttt_sponge_win_ends_round</td>
<td>1</td>
<td>Boolean</td>
<td>Whether the round should end when the Sponge wins.</td>
Expand Down
6 changes: 1 addition & 5 deletions gamemodes/terrortown/gamemode/roles/cannibal/cl_cannibal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,7 @@ end
---------

local function Cannibal_TTTHUDInfoPaint(cli, label_left, label_top, active_labels, x, y)
if not IsPlayer(client) then
client = LocalPlayer()
end

if not client.TTTCannibalEaten then return end
if not cli.TTTCannibalEaten then return end

local bar_colors = {
border = COLOR_WHITE,
Expand Down
Loading