mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-16 04:23:34 +00:00
48 lines
1.5 KiB
Cheetah
48 lines
1.5 KiB
Cheetah
<!-- pAI radio config
|
|
code/modules/mob/living/silicon/pai/software_modules.dm
|
|
-->
|
|
|
|
<div class="item">
|
|
<div class="itemLabel">
|
|
Microphone:
|
|
</div>
|
|
<div class="itemContent">
|
|
{{if data.listening}}
|
|
{{:helper.link("On", '', {"stopic":"radio", "talk":1}, 'selected')}}
|
|
{{:helper.link("Off", '', {"stopic":"radio", "talk":1})}}
|
|
{{else}}
|
|
{{:helper.link("On", '', {"stopic":"radio", "talk":1})}}
|
|
{{:helper.link("Off", '', {"stopic":"radio", "talk":1}, 'selected')}}
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="item">
|
|
<div class="itemLabel">
|
|
Frequency:
|
|
</div>
|
|
<div class="itemContent">
|
|
{{:helper.link("--", '', {"stopic":"radio", "freq":-10})}}
|
|
{{:helper.link("-", '', {"stopic":"radio", "freq": -2})}}
|
|
<div style="float: left; width: 80px; text-align: center;">{{:data.frequency}}</div>
|
|
{{:helper.link("+", '', {"stopic":"radio", "freq": 2})}}
|
|
{{:helper.link("++", '', {"stopic":"radio", "freq": 10})}}
|
|
</div>
|
|
</div>
|
|
|
|
{{for data.channels}}
|
|
<div class="item">
|
|
<div class="itemLabel">
|
|
{{:value.name}}
|
|
</div>
|
|
<div class="itemContent">
|
|
{{if value.listening}}
|
|
{{:helper.link("On", '', {"stopic":"radio", "channel":value.name, "listen":1}, 'selected')}}
|
|
{{:helper.link("Off", '', {"stopic":"radio", "channel":value.name, "listen":1})}}
|
|
{{else}}
|
|
{{:helper.link("On", '', {"stopic":"radio", "channel":value.name, "listen":1})}}
|
|
{{:helper.link("Off", '', {"stopic":"radio", "channel":value.name, "listen":1}, 'selected')}}
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
{{/for}} |