mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Continues the wiring upgrade. Now cameras, airlocks, robots, and air alarms also use the new wire datum system. Global wiring code is now removed but there are sneaky objects which didn't rely on them such as mulebots and autolathes. Fixes a few issues from the previous upgrade.
37 lines
1.4 KiB
Cheetah
37 lines
1.4 KiB
Cheetah
<div class='item'>
|
|
{{:helper.link('Close', 'gear', {'close' : 1}, null, 'fixedLeft')}}
|
|
</div>
|
|
|
|
<div class="item">
|
|
<h2>Storage</h2>
|
|
{{if data.secure}}
|
|
<span class='notice'>
|
|
{{:data.locked == -1 ? "Sec.re ACC_** //):securi_nt.diag=>##'or 1=1'%($..." : "Secure Access: Please have your identification ready."}}
|
|
</span>
|
|
{{/if}}
|
|
</div>
|
|
<div class='item'>
|
|
{{if data.contents}}
|
|
{{for data.contents}}
|
|
<div class='item'>
|
|
<span class='highlight'>{{:value.display_name}} ({{:value.quantity}} available)</span>
|
|
<div style="float: left;">Vend: </div> {{:helper.link('x1', 'circle-arrow-s', { "vend" : value.vend, "amount" : 1 }, null, 'statusValue')}}
|
|
{{if value.quantity >= 5}}
|
|
{{:helper.link('x5', 'circle-arrow-s', { "vend" : value.vend, "amount" : 5 }, null, 'statusValue')}}
|
|
{{/if}}
|
|
{{if value.quantity >= 10}}
|
|
{{:helper.link('x10', 'circle-arrow-s', { "vend" : value.vend, "amount" : 10 }, null, 'statusValue')}}
|
|
{{/if}}
|
|
{{if value.quantity >= 25}}
|
|
{{:helper.link('x25', 'circle-arrow-s', { "vend" : value.vend, "amount" : 25 }, null, 'statusValue')}}
|
|
{{/if}}
|
|
{{if value.quantity > 1}}
|
|
{{:helper.link('All', 'circle-arrow-s', { "vend" : value.vend, "amount" : value.quantity }, null, 'statusValue')}}
|
|
{{/if}}
|
|
</div>
|
|
{{/for}}
|
|
{{else}}
|
|
<span class='average'>No products loaded.</span>
|
|
{{/if}}
|
|
</div>
|