Adds a fuckload of tool updates
also updates tgui
This commit is contained in:
@@ -20,6 +20,12 @@
|
||||
{{/each}}</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<hr/>
|
||||
<span class='highlight bold'>Unrestricted Access:</span>
|
||||
<ui-button icon='{{data.unres_direction & 1 ? "check-square-o" : "square-o"}}' style='{{data.unres_direction & 1 ? "selected" : null}}' action='direc_set' params='{"unres_direction": "1"}'>North</ui-button>
|
||||
<ui-button icon='{{data.unres_direction & 4 ? "check-square-o" : "square-o"}}' style='{{data.unres_direction & 4 ? "selected" : null}}' action='direc_set' params='{"unres_direction": "4"}'>East</ui-button>
|
||||
<ui-button icon='{{data.unres_direction & 2 ? "check-square-o" : "square-o"}}' style='{{data.unres_direction & 2 ? "selected" : null}}' action='direc_set' params='{"unres_direction": "2"}'>South</ui-button>
|
||||
<ui-button icon='{{data.unres_direction & 8 ? "check-square-o" : "square-o"}}' style='{{data.unres_direction & 8 ? "selected" : null}}' action='direc_set' params='{"unres_direction": "8"}'>West</ui-button>
|
||||
</ui-display>
|
||||
|
||||
<style>
|
||||
|
||||
@@ -1,52 +1,66 @@
|
||||
{{#unless data.table}}
|
||||
<ui-notice>
|
||||
No table detected!
|
||||
</ui-notice>
|
||||
{{/unless}}
|
||||
<ui-display>
|
||||
<ui-display title='Patient State'>
|
||||
{{#if data.patient}}
|
||||
<ui-section label='State'>
|
||||
<span class='{{data.patient.statstate}}'>{{data.patient.stat}}</span>
|
||||
</ui-section>
|
||||
<ui-section label='Blood Type'>
|
||||
<span class='content'>{{data.patient.blood_type}}</span>
|
||||
</ui-section>
|
||||
<ui-section label='Health'>
|
||||
<ui-bar min='{{data.patient.minHealth}}' max='{{data.patient.maxHealth}}' value='{{data.patient.health}}'
|
||||
state='{{data.patient.health >= 0 ? "good" : "average"}}'>{{Math.round(adata.patient.health)}}</ui-bar>
|
||||
</ui-section>
|
||||
{{#each [{label: "Brute", type: "bruteLoss"}, {label: "Burn", type: "fireLoss"}, {label: "Toxin", type: "toxLoss"}, {label: "Respiratory", type: "oxyLoss"}]}}
|
||||
<ui-section label='{{label}}'>
|
||||
<ui-bar min='0' max='{{data.patient.maxHealth}}' value='{{data.patient[type]}}' state='bad'>{{Math.round(adata.patient[type])}}</ui-bar>
|
||||
</ui-section>
|
||||
{{/each}}
|
||||
{{else}}
|
||||
No patient detected.
|
||||
{{/if}}
|
||||
{{#if data.menu == 2}}
|
||||
<ui-button icon='undo' action='change_menu' params='{"menu": "1"}'>Return</ui-button>
|
||||
<ui-display title='Advanced Surgery Procedures'>
|
||||
<ui-button icon='download' action='sync'>Sync with research database</ui-button>
|
||||
{{#each data.surgeries}}
|
||||
<ui-display>
|
||||
<ui-section><b>{{name}}</b></ui-section>
|
||||
<ui-section>{{desc}}</ui-section>
|
||||
</ui-display>
|
||||
{{/each}}
|
||||
</ui-display>
|
||||
<ui-display title='Initiated Procedures'>
|
||||
{{#if data.procedures}}
|
||||
{{#each data.procedures}}
|
||||
<ui-subdisplay title='{{name}}'>
|
||||
<ui-section label='Next Step'>
|
||||
<span class='content'>{{next_step}}</span>
|
||||
{{#if chems_needed}}
|
||||
<span class='content'><b>Required chemicals:</b><br> {{chems_needed}}</span>
|
||||
{{/if}}
|
||||
{{else}}
|
||||
<ui-button action='change_menu' params='{"menu": "2"}'>View Surgery Procedures</ui-button>
|
||||
{{#unless data.table}}
|
||||
<ui-notice>
|
||||
No table detected!
|
||||
</ui-notice>
|
||||
{{/unless}}
|
||||
<ui-display>
|
||||
<ui-display title='Patient State'>
|
||||
{{#if data.patient}}
|
||||
<ui-section label='State'>
|
||||
<span class='{{data.patient.statstate}}'>{{data.patient.stat}}</span>
|
||||
</ui-section>
|
||||
<ui-section label='Blood Type'>
|
||||
<span class='content'>{{data.patient.blood_type}}</span>
|
||||
</ui-section>
|
||||
<ui-section label='Health'>
|
||||
<ui-bar min='{{data.patient.minHealth}}' max='{{data.patient.maxHealth}}' value='{{data.patient.health}}'
|
||||
state='{{data.patient.health >= 0 ? "good" : "average"}}'>{{Math.round(adata.patient.health)}}</ui-bar>
|
||||
</ui-section>
|
||||
{{#each [{label: "Brute", type: "bruteLoss"}, {label: "Burn", type: "fireLoss"}, {label: "Toxin", type: "toxLoss"}, {label: "Respiratory", type: "oxyLoss"}]}}
|
||||
<ui-section label='{{label}}'>
|
||||
<ui-bar min='0' max='{{data.patient.maxHealth}}' value='{{data.patient[type]}}' state='bad'>{{Math.round(adata.patient[type])}}</ui-bar>
|
||||
</ui-section>
|
||||
{{#if alternative_step}}
|
||||
<ui-section label='Alternative Step'>
|
||||
<span class='content'>{{alternative_step}}</span>
|
||||
{{#if alt_chems_needed}}
|
||||
{{/each}}
|
||||
{{else}}
|
||||
No patient detected.
|
||||
{{/if}}
|
||||
</ui-display>
|
||||
<ui-display title='Initiated Procedures'>
|
||||
{{#if data.procedures}}
|
||||
{{#each data.procedures}}
|
||||
<ui-subdisplay title='{{name}}'>
|
||||
<ui-section label='Next Step'>
|
||||
<span class='content'>{{next_step}}</span>
|
||||
{{#if chems_needed}}
|
||||
<span class='content'><b>Required chemicals:</b><br> {{chems_needed}}</span>
|
||||
{{/if}}
|
||||
</ui-section>
|
||||
{{/if}}
|
||||
</ui-subdisplay>
|
||||
{{/each}}
|
||||
{{else}}
|
||||
No active procedures.
|
||||
{{/if}}
|
||||
{{#if alternative_step}}
|
||||
<ui-section label='Alternative Step'>
|
||||
<span class='content'>{{alternative_step}}</span>
|
||||
{{#if alt_chems_needed}}
|
||||
<span class='content'><b>Required chemicals:</b><br> {{chems_needed}}</span>
|
||||
{{/if}}
|
||||
</ui-section>
|
||||
{{/if}}
|
||||
</ui-subdisplay>
|
||||
{{/each}}
|
||||
{{else}}
|
||||
No active procedures.
|
||||
{{/if}}
|
||||
</ui-display>
|
||||
</ui-display>
|
||||
</ui-display>
|
||||
{{/if}}
|
||||
|
||||
@@ -46,61 +46,70 @@
|
||||
</ui-section>
|
||||
{{/if}}
|
||||
</ui-display>
|
||||
<div class="display tabular">
|
||||
<section class="candystripe">
|
||||
<section class="cell">
|
||||
Mineral
|
||||
</section>
|
||||
<section class="cell">
|
||||
Sheets
|
||||
</section>
|
||||
<section class="cell">
|
||||
</section>
|
||||
<section class="cell">
|
||||
</section>
|
||||
<section class="cell">
|
||||
Ore Value
|
||||
</section>
|
||||
</section>
|
||||
{{#each data.materials}}
|
||||
{{#if data.disconnected}}
|
||||
<ui-display>
|
||||
<ui-section>
|
||||
<b>Warning</b>: {{data.disconnected}}. Please contact the quartermaster.
|
||||
</ui-section>
|
||||
</ui-display>
|
||||
{{/if}}
|
||||
{{#if data.materials || data.alloys}}
|
||||
<div class="display tabular">
|
||||
<section class="candystripe">
|
||||
<section class="cell">
|
||||
{{name}}
|
||||
<section class="cell">
|
||||
Mineral
|
||||
</section>
|
||||
<section class="cell">
|
||||
Sheets
|
||||
</section>
|
||||
<section class="cell">
|
||||
</section>
|
||||
<section class="cell">
|
||||
</section>
|
||||
<section class="cell">
|
||||
Ore Value
|
||||
</section>
|
||||
</section>
|
||||
<section class="cell" align='right'>
|
||||
{{amount}}
|
||||
{{#each data.materials}}
|
||||
<section class="candystripe">
|
||||
<section class="cell">
|
||||
{{name}}
|
||||
</section>
|
||||
<section class="cell" align='right'>
|
||||
{{amount}}
|
||||
</section>
|
||||
<section class="cell">
|
||||
<input value={{sheets}} placeholder='###' class="number"/>
|
||||
</section>
|
||||
<section class="cell" align='right'>
|
||||
<ui-button class='center' grid action='Release' state={{(amount >= 1) ? null : 'disabled'}} params='{ "id" : {{id}}, "sheets" : {{sheets}} }' >
|
||||
Release
|
||||
</ui-button>
|
||||
</section>
|
||||
<section class="cell" align='right'>
|
||||
{{value}}
|
||||
</section>
|
||||
</section>
|
||||
<section class="cell">
|
||||
<input value={{sheets}} placeholder='###' class="number"/>
|
||||
{{/each}}
|
||||
{{#each data.alloys}}
|
||||
<section class="candystripe">
|
||||
<section class="cell">
|
||||
{{name}}
|
||||
</section>
|
||||
<section class="cell" align='right'>
|
||||
{{amount}}
|
||||
</section>
|
||||
<section class="cell">
|
||||
<input value={{sheets}} placeholder='###' class="number"/>
|
||||
</section>
|
||||
<section class="cell" align='right'>
|
||||
<ui-button class='center' grid action='Smelt' state={{ (amount >= 1) ? null : 'disabled'}} params='{ "id" : {{id}}, "sheets" : {{sheets}} }'>
|
||||
Smelt
|
||||
</ui-button>
|
||||
</section>
|
||||
<section class="cell" align='right'>
|
||||
</section>
|
||||
</section>
|
||||
<section class="cell" align='right'>
|
||||
<ui-button class='center' grid action='Release' state={{(amount >= 1) ? null : 'disabled'}} params='{ "id" : {{id}}, "sheets" : {{sheets}} }' >
|
||||
Release
|
||||
</ui-button>
|
||||
</section>
|
||||
<section class="cell" align='right'>
|
||||
{{value}}
|
||||
</section>
|
||||
</section>
|
||||
{{/each}}
|
||||
{{#each data.alloys}}
|
||||
<section class="candystripe">
|
||||
<section class="cell">
|
||||
{{name}}
|
||||
</section>
|
||||
<section class="cell" align='right'>
|
||||
{{amount}}
|
||||
</section>
|
||||
<section class="cell">
|
||||
<input value={{sheets}} placeholder='###' class="number"/>
|
||||
</section>
|
||||
<section class="cell" align='right'>
|
||||
<ui-button class='center' grid action='Smelt' state={{ (amount >= 1) ? null : 'disabled'}} params='{ "id" : {{id}}, "sheets" : {{sheets}} }'>
|
||||
Smelt
|
||||
</ui-button>
|
||||
</section>
|
||||
<section class="cell" align='right'>
|
||||
</section>
|
||||
</section>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<ui-display>
|
||||
<span class='memoedit'>NanoTrasen R&D Console</span><br/>
|
||||
<span class='memoedit'>Nanotrasen R&D Console</span><br/>
|
||||
Available Points: <ui-section title='Research Points'>{{data.research_points_stored}}</ui-section>
|
||||
<ui-section title='Page Selection - {{page}}'><input value={{pageselect}} placeholder='1' class="number"/>
|
||||
Select Page: <ui-button action='page' params='{"num" : "{{pageselect}}"}'> [Go] </ui-button>
|
||||
|
||||
@@ -1,14 +1,33 @@
|
||||
<table width="100%">
|
||||
{{#each data.shuttles}}
|
||||
<ui-section label='{{name}} ({{id}})'>
|
||||
{{status}}
|
||||
{{#if timer}}
|
||||
({{timeleft}})
|
||||
{{/if}}
|
||||
<ui-button action='jump_to' params='{"type": "mobile", "id": "{{id}}"}'>
|
||||
Jump To
|
||||
</ui-button>
|
||||
<ui-button action='fast_travel' params='{"id": "{{id}}"}' state='{{can_fast_travel ? null : 'disabled'}}'>
|
||||
Fast Travel
|
||||
</ui-button>
|
||||
</ui-section>
|
||||
<tr>
|
||||
<td>
|
||||
<ui-button action='jump_to' params='{"type": "mobile", "id": "{{id}}"}'>
|
||||
JMP
|
||||
</ui-button>
|
||||
</td>
|
||||
<td>
|
||||
<ui-button action='fly' params='{"id": "{{id}}"}' state='{{can_fly ? null : 'disabled'}}'>
|
||||
Fly
|
||||
</ui-button>
|
||||
</td>
|
||||
<td>
|
||||
{{name}} (<code>{{id}}</code>)
|
||||
</td>
|
||||
<td>
|
||||
{{status}}
|
||||
</td>
|
||||
<td>
|
||||
{{#if mode}}
|
||||
{{mode}}
|
||||
{{/if}}
|
||||
{{#if timer}}
|
||||
({{timeleft}})
|
||||
<ui-button action='fast_travel' params='{"id": "{{id}}"}' state='{{can_fast_travel ? null : 'disabled'}}'>
|
||||
Fast Travel
|
||||
</ui-button>
|
||||
{{/if}}
|
||||
</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user