Skip to content

Commit

Permalink
feat(radio): Update radio description to reflect current interaction
Browse files Browse the repository at this point in the history
This is a followup to #1437 where this was initially missed.

I've also removed the duplicated `SWEP.EquipMenuData`.
  • Loading branch information
Histalek committed Jan 3, 2025
1 parent 192bb37 commit 4809a1c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
5 changes: 0 additions & 5 deletions gamemodes/terrortown/entities/weapons/weapon_ttt_radio.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ if CLIENT then
SWEP.ShowDefaultViewModel = false
SWEP.ShowDefaultWorldModel = false

SWEP.EquipMenuData = {
type = "item_weapon",
desc = "radio_desc",
}

SWEP.Icon = "vgui/ttt/icon_radio"
end

Expand Down
12 changes: 7 additions & 5 deletions lua/terrortown/lang/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -309,11 +309,6 @@ The energy bursts damage people in close proximity.]]
-- Radio
L.radio_broken = "Your Radio has been destroyed!"

L.radio_desc = [[
Plays sounds to distract or deceive.
Place the radio somewhere, and then play sounds on it using the Radio tab in this menu.]]

-- Silenced pistol
L.sipistol_name = "Silenced Pistol"

Expand Down Expand Up @@ -2369,3 +2364,10 @@ L.vehicle_enter = "Press [{usekey}] to enter vehicle"

-- 2024-11-27
L.corpse_hint_without_confirm = "Press [{usekey}] to search."

-- 2025-01-3
L.radio_desc = [[
Plays sounds to distract or deceive.
Place the radio somewhere, and then remotely interact with it to choose sounds to play.]]

0 comments on commit 4809a1c

Please sign in to comment.