{{#if data.menu == 2}} Return Sync with research database {{#each data.surgeries}} {{name}} {{desc}} {{/each}} {{else}} View Surgery Procedures {{#unless data.table}} No table detected! {{/unless}} {{#if data.patient}} {{data.patient.stat}} {{data.patient.blood_type}} {{Math.round(adata.patient.health)}} {{#each [{label: "Brute", type: "bruteLoss"}, {label: "Burn", type: "fireLoss"}, {label: "Toxin", type: "toxLoss"}, {label: "Respiratory", type: "oxyLoss"}]}} {{Math.round(adata.patient[type])}} {{/each}} {{else}} No patient detected. {{/if}} {{#if data.procedures}} {{#each data.procedures}} {{next_step}} {{#if chems_needed}} Required chemicals:
{{chems_needed}}
{{/if}}
{{#if alternative_step}} {{alternative_step}} {{#if alt_chems_needed}} Required chemicals:
{{chems_needed}}
{{/if}}
{{/if}}
{{/each}} {{else}} No active procedures. {{/if}}
{{/if}}