mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-19 03:49:10 +01:00
61d613a608
- 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.     
121 lines
3.4 KiB
Cheetah
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}}'>◼</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}}
|