Files
Aurora.3/nano/templates/radio_basic.tmpl
naut 61d613a608 Adds the Expeditionary radio frequency as a default channel (#20948)
- Added the Expeditionary radio frequency to all radios that come with
Common (and Entertainment) frequencies as a default radio channel.
- The Expeditionary radio channel is now accessible in-radio via the
shortcut key 'D', e.g. `:d` or `.d`.
- Expeditionary radio channel changed to custard yellow for easier
visibility.

Should make expeditions (and Odysseys) a whole lot easier by allowing
everyone to access the Expeditionary channel in their headset, no radio
or frequency tweaking necessary.

Color was also changed to a sort of custard yellow, since its old color
was very hard to see for a lot of people.


![image](https://github.com/user-attachments/assets/1e9b3da1-c9d9-4073-9072-d2b41b55388b)

![image](https://github.com/user-attachments/assets/6b2e454d-aa88-4c44-8bae-4bcd635152e0)

![image](https://github.com/user-attachments/assets/b1f52ef6-7525-405f-a8f6-aa9809bdbee7)

![image](https://github.com/user-attachments/assets/31e6a423-4842-43e9-9179-196168146168)

![image](https://github.com/user-attachments/assets/5be773aa-36ac-4de8-bb94-f9cca5a27ccd)
2025-07-10 21:37:30 +00:00

121 lines
3.4 KiB
Cheetah

<!--
Title: Basic Radio UI
Used In File(s): /code/game/objects/item/devices/radio/radio.dm
-->
<head>
<style type="text/css">
.radio {color: #00a700;}
.deptradio {color: #ff00ff;}
.comradio {color: #5b8deb;}
.syndradio {color: #ac6667;}
.coalitionradio {color: #0091ce;}
.centradio {color: #7272a7;}
.airadio {color: #ec00ec;}
.entradio {color: #cfcfcf;}
.hailradio {color: #8b4cd8;}
.shipradio {color: #738465;}
.secradio {color: #e21111;}
.engradio {color: #cc7b01;}
.medradio {color: #0f7e62;}
.sciradio {color: #c03bc0;}
.supradio {color: #c09141;}
.srvradio {color: #7fc732;}
.expradio {color: #ffeeB5;}
.channelList {overflow: clip;}
</style>
</head>
{{if data.useSyndMode}}
{{:helper.syndicateMode()}}
{{/if}}
<div class="item">
<div class="itemLabelWide">
Microphone
</div>
<div class="itemContentMedium">
{{if data.mic_cut}}
{{:helper.link('On', null, null, 'disabled')}}
{{:helper.link('Off', null, null, 'disabled')}}
{{else}}
{{:helper.link('On', null, {'talk' : 0}, data.mic_status ? 'selected' : null)}}
{{:helper.link('Off', null, {'talk' : 1}, data.mic_status ? null : 'selected')}}
{{/if}}
</div>
</div>
<div class="item">
<div class="itemLabelWide">
Speaker
</div>
<div class="itemContentMedium">
{{if data.spk_cut}}
{{:helper.link('On', null, null, 'disabled')}}
{{:helper.link('Off', null, null, 'disabled')}}
{{else}}
{{:helper.link('On', null, {'listen' : 0}, data.speaker ? 'selected' : null)}}
{{:helper.link('Off', null, {'listen' : 1}, data.speaker ? null : 'selected')}}
{{/if}}
</div>
</div>
{{if data.has_subspace}}
<div class="item">
<div class="itemLabelWide">
Subspace Transmission:
</div>
<div class="itemContentMedium">
{{:helper.link('On', null, {'mode' : 1}, data.subspace ? 'selected' : null)}}
{{:helper.link('Off', null, {'mode' : 0}, data.subspace ? null : 'selected')}}
</div>
</div>
{{/if}}
{{if data.has_loudspeaker}}
<div class="item">
<div class="itemLabelWide">
Loudspeaker:
</div>
<div class="itemContentMedium">
{{:helper.link('On', null, {'shutup' : 0}, data.loudspeaker ? 'selected' : null)}}
{{:helper.link('Off', null, {'shutup' : 1}, data.loudspeaker ? null : 'selected')}}
</div>
</div>
{{/if}}
<div class="item">
<div class="itemLabelWide">
Frequency: {{:data.freq}}
</div>
<div class="itemContentMedium">
{{:helper.link('--', null, {'freq' : -10})}}
{{:helper.link('-', null, {'freq' : -2})}}
{{:helper.link('+', null, {'freq' : 2})}}
{{:helper.link('++', null, {'freq' : 10})}}
{{if data.default_freq}}
{{:helper.link(data.default_freq, null, {'default_freq' : 1})}}
{{/if}}
</div>
</div>
{{if data.chan_list_len >= 1}}
<h3>Channels</h3>
<div class="item">
{{for data.chan_list}}
<div class="itemLabelWide">
<span class='{{:value.chan_span}}'>&#9724</span>{{:value.display_name}}
</div>
<div class="itemContentMedium channelList">
{{if value.secure_channel}}
{{:helper.link('On', null, {'ch_name' : value.chan, 'listen' : value.sec_channel_listen}, value.sec_channel_listen ? null : 'selected')}}
{{:helper.link('Off', null, {'ch_name' : value.chan, 'listen' : value.sec_channel_listen}, value.sec_channel_listen ? 'selected' : null)}}
{{else}}
{{:helper.link('Switch', null, {'spec_freq' : value.chan}, data.rawfreq == value.chan ? 'selected' : null)}}
{{/if}}
</div>
{{/for}}
{{/if}}