Medihound Fixes (#3462)
* fix borgs, tries new things * TGUI experiment, Expanded resist also cleans up some bad code we don't want to keep * kinda important to have the right one * I actually managed to compile tgui * tgui fuckery I hate UI building * more tgui tweaks and it finally compiles, again. * Have I mentioned UIs are not my strong point? Because they're really not * updates to this shit thing. Tgui button chem selection -> chem to inject needs to be fixed * No. * FUCKING, FINALLY
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
<ui-section label='Occupant'>
|
||||
<span>{{data.occupant.name ? data.occupant.name : "No Occupant"}}</span>
|
||||
</ui-section>
|
||||
{{#if data.items}}
|
||||
<ui-section label='Items in storage'>
|
||||
<span>{{data.items}}</span>
|
||||
</ui-section>
|
||||
{{/if}}
|
||||
{{#if data.occupied}}
|
||||
<ui-section label='State'>
|
||||
<span class='{{data.occupant.statstate}}'>{{data.occupant.stat}}</span>
|
||||
@@ -30,13 +35,15 @@
|
||||
</ui-section>
|
||||
{{/if}}
|
||||
</ui-display>
|
||||
<ui-display title='Controls'>
|
||||
<ui-section label='Door'>
|
||||
<ui-button icon='{{data.open ? "unlock" : "lock"}}' action='door'>{{data.open ? "Open" : "Closed"}}</ui-button>
|
||||
</ui-section>
|
||||
<ui-display title='Operations'>
|
||||
<ui-section label='Inject'>
|
||||
{{#each data.chems}}
|
||||
<ui-button icon='flask' state='{{data.occupied && allowed ? null : "disabled"}}' action='inject' params='{"chem": "{{id}}"}'>{{name}}</ui-button><br/>
|
||||
{{#each data.chem}}
|
||||
<ui-button icon='flask' state='{{data.occupied ? null : "disabled"}}' action='inject' params='{"chem": "{{id}}"}'>{{name}}</ui-button><br/>
|
||||
{{/each}}
|
||||
</ui-section>
|
||||
<ui-section label='Eject'>
|
||||
<ui-button icon='sign-out' action='eject'>Eject Contents</ui-button>
|
||||
</ui-section>
|
||||
<ui-section label='Self Cleaning'>
|
||||
<ui-button icon='recycle' action='cleaning'>Self-Clean Cycle</ui-button>
|
||||
</ui-display>
|
||||
|
||||
Reference in New Issue
Block a user