@@ -111,13 +111,13 @@
- {{for transactions}}
+ {{for data.transactions}}
- | {{:date}} {{:time}} |
- {{:target_name}} |
- {{:purpose}} |
- {{:amount}} |
- {{:source_terminal}} |
+ {{:value.date}} {{:value.time}} |
+ {{:value.target_name}} |
+ {{:value.purpose}} |
+ {{:value.amount}} |
+ {{:value.source_terminal}} |
{{/for}}
@@ -126,7 +126,6 @@
This account has no financial transactions on record for today.
{{/if}}
-
CentCom Administrator
@@ -134,15 +133,15 @@
Payroll:
- {{:~link('Revoke', 'transferthick-e-w', {'choice' : 'revoke_payroll'}, account_number == station_account_number ? 'disabled' : null, 'linkDanger')}}
+ {{:helper.link('Revoke', 'transferthick-e-w', {'choice' : 'revoke_payroll'}, data.account_number == data.station_account_number ? 'disabled' : null, 'linkDanger')}}
- {{if access_level >= 2}}
+ {{if data.access_level >= 2}}
Silent Fund Adjustment:
- {{:~link('Add', 'plus', {'choice' : 'add_funds'})}}
- {{:~link('Remove', 'minus', {'choice' : 'remove_funds'})}}
+ {{:helper.link('Add', 'plus', {'choice' : 'add_funds'})}}
+ {{:helper.link('Remove', 'minus', {'choice' : 'remove_funds'})}}
{{/if}}
{{else}}
@@ -150,13 +149,13 @@
NanoTrasen Accounts
- {{if accounts}}
+ {{if data.accounts}}
- {{for accounts}}
-
- | {{:~link('#' + account_number, '', {'choice' : 'view_account_detail', 'account_index' : account_index})}} |
- {{:owner_name}} |
- {{:suspended}} |
+ {{for data.accounts}}
+
+ | {{:helper.link('#' + value.account_number, '', {'choice' : 'view_account_detail', 'account_index' : value.account_index})}} |
+ {{:value.owner_name}} |
+ {{:value.suspended}} |
{{/for}}
diff --git a/nano/templates/advanced_airlock_console.tmpl b/nano/templates/advanced_airlock_console.tmpl
new file mode 100644
index 00000000000..90ef1927319
--- /dev/null
+++ b/nano/templates/advanced_airlock_console.tmpl
@@ -0,0 +1,60 @@
+
+
+
+ External Pressure:
+
+
+ {{:helper.displayBar(data.external_pressure, 0, 200, (data.external_pressure < 80 || data.external_pressure > 120) ? 'bad' : (data.external_pressure < 95 || data.external_pressure > 110) ? 'average' : 'good')}}
+
+ {{:data.external_pressure}} kPa
+
+
+
+
+
+ Chamber Pressure:
+
+
+ {{:helper.displayBar(data.chamber_pressure, 0, 200, (data.chamber_pressure < 80 || data.chamber_pressure > 120) ? 'bad' : (data.chamber_pressure < 95 || data.chamber_pressure > 110) ? 'average' : 'good')}}
+
+ {{:data.chamber_pressure}} kPa
+
+
+
+
+
+ Internal Pressure:
+
+
+ {{:helper.displayBar(data.internal_pressure, 0, 200, (data.internal_pressure < 80 || data.internal_pressure > 120) ? 'bad' : (data.internal_pressure < 95 || data.internal_pressure > 110) ? 'average' : 'good')}}
+
+ {{:data.internal_pressure}} kPa
+
+
+
+
+
+
+
+ {{:helper.link('Cycle to Exterior', 'arrowthickstop-1-w', {'command' : 'cycle_ext'}, data.processing ? 'disabled' : null)}}
+ {{:helper.link('Cycle to Interior', 'arrowthickstop-1-e', {'command' : 'cycle_int'}, data.processing ? 'disabled' : null)}}
+
+
+ {{:helper.link('Force exterior door', 'alert', {'command' : 'force_ext'}, null, data.processing ? 'yellowBackground' : null)}}
+ {{:helper.link('Force interior door', 'alert', {'command' : 'force_int'}, null, data.processing ? 'yellowBackground' : null)}}
+
+
+
+
+
+ {{:helper.link('Purge', 'refresh', {'command' : 'purge'}, data.processing ? 'disabled' : null, data.purge ? 'linkOn' : null)}}
+
+
+ {{:helper.link('Secure', data.secure ? 'locked' : 'unlocked', {'command' : 'secure'}, data.processing ? 'disabled' : null, data.secure ? 'linkOn' : null)}}
+
+
+
+
+ {{:helper.link('Abort', 'cancel', {'command' : 'abort'}, data.processing ? null : 'disabled', data.processing ? 'redBackground' : null)}}
+
+
\ No newline at end of file
diff --git a/nano/templates/apc.tmpl b/nano/templates/apc.tmpl
index 82dc2175a1a..574e53cec69 100644
--- a/nano/templates/apc.tmpl
+++ b/nano/templates/apc.tmpl
@@ -1,14 +1,14 @@
- {{if siliconUser}}
+ {{if data.siliconUser}}
Interface Lock:
- {{:~link('Engaged', 'locked', {'toggleaccess' : 1}, locked ? 'selected' : null)}}{{:~link('Disengaged', 'unlocked', {'toggleaccess' : 1}, malfStatus >= 2 ? 'linkOff' : (locked ? null : 'selected'))}}
+ {{:helper.link('Engaged', 'locked', {'toggleaccess' : 1}, data.locked ? 'selected' : null)}}{{:helper.link('Disengaged', 'unlocked', {'toggleaccess' : 1}, data.malfStatus >= 2 ? 'linkOff' : (data.locked ? null : 'selected'))}}
{{else}}
- {{if locked}}
+ {{if data.locked}}
Swipe an ID card to unlock this interface.
{{else}}
Swipe an ID card to lock this interface.
@@ -25,14 +25,14 @@
Main Breaker:
- {{if locked && !siliconUser}}
- {{if isOperating}}
+ {{if data.locked && !data.siliconUser}}
+ {{if data.isOperating}}
On
{{else}}
Off
{{/if}}
{{else}}
- {{:~link('On', 'power', {'breaker' : 1}, isOperating ? 'selected' : null)}}{{:~link('Off', 'close', {'breaker' : 1}, isOperating ? null : 'selected')}}
+ {{:helper.link('On', 'power', {'breaker' : 1}, data.isOperating ? 'selected' : null)}}{{:helper.link('Off', 'close', {'breaker' : 1}, data.isOperating ? null : 'selected')}}
{{/if}}
@@ -42,9 +42,9 @@
External Power:
- {{if externalPower == 2}}
+ {{if data.externalPower == 2}}
Good
- {{else externalPower == 1}}
+ {{else data.externalPower == 1}}
Low
{{else}}
None
@@ -56,38 +56,38 @@
Power Cell:
- {{if powerCellStatus == null}}
+ {{if data.powerCellStatus == null}}
Power cell removed.
{{else}}
- {{:~displayBar(powerCellStatus, 0, 100, powerCellStatus >= 50 ? 'good' : powerCellStatus >= 25 ? 'average' : 'bad')}}
+ {{:helper.displayBar(data.powerCellStatus, 0, 100, (data.powerCellStatus >= 50) ? 'good' : (data.powerCellStatus >= 25) ? 'average' : 'bad')}}
- {{:~round(powerCellStatus*10)/10}}%
+ {{:helper.round(data.powerCellStatus*10)/10}}%
{{/if}}
- {{if powerCellStatus != null}}
+ {{if data.powerCellStatus != null}}
Charge Mode:
- {{if locked && !siliconUser}}
- {{if chargeMode}}
+ {{if data.locked && !data.siliconUser}}
+ {{if data.chargeMode}}
Auto
{{else}}
Off
{{/if}}
{{else}}
- {{:~link('Auto', 'refresh', {'cmode' : 1}, chargeMode ? 'selected' : null)}}{{:~link('Off', 'close', {'cmode' : 1}, chargeMode ? null : 'selected')}}
+ {{:helper.link('Auto', 'refresh', {'cmode' : 1}, data.chargeMode ? 'selected' : null)}}{{:helper.link('Off', 'close', {'cmode' : 1}, data.chargeMode ? null : 'selected')}}
{{/if}}
- {{if chargingStatus > 1}}
+ {{if data.chargingStatus > 1}}
[
Fully Charged]
- {{else chargingStatus == 1}}
+ {{else data.chargingStatus == 1}}
[
Charging]
{{else}}
[
Not Charging]
@@ -99,32 +99,32 @@
Power Channels
- {{for powerChannels}}
+ {{for data.powerChannels}}
- {{:title}}:
+ {{:value.title}}:
- {{:powerLoad}} W
+ {{:value.powerLoad}} W
- {{if status <= 1}}
+ {{if value.status <= 1}}
Off
- {{else status >= 2}}
+ {{else value.status >= 2}}
On
{{/if}}
- {{if status == 1 || status == 3}}
+ {{if value.status == 1 || status == 3}}
[Auto]
{{else}}
[Manual]
{{/if}}
- {{if !~root.locked || ~root.siliconUser}}
+ {{if !data.locked || data.siliconUser}}
- {{:~link('Auto', 'refresh', topicParams.auto, (status == 1 || status == 3) ? 'selected' : null)}}
- {{:~link('On', 'power', topicParams.on, (status == 2) ? 'selected' : null)}}
- {{:~link('Off', 'close', topicParams.off, (status == 0) ? 'selected' : null)}}
+ {{:helper.link('Auto', 'refresh', value.topicParams.auto, (value.status == 1 || value.status == 3) ? 'selected' : null)}}
+ {{:helper.link('On', 'power', value.topicParams.on, (value.status == 2) ? 'selected' : null)}}
+ {{:helper.link('Off', 'close', value.topicParams.off, (value.status == 0) ? 'selected' : null)}}
{{/if}}
@@ -135,7 +135,7 @@
Total Load:
- {{:totalLoad}} W
+ {{:data.totalLoad}} W
@@ -146,26 +146,26 @@
Cover Lock:
- {{if locked && !siliconUser}}
- {{if coverLocked}}
+ {{if data.locked && !data.siliconUser}}
+ {{if data.coverLocked}}
Engaged
{{else}}
Disengaged
{{/if}}
{{else}}
- {{:~link('Engaged', 'locked', {'lock' : 1}, coverLocked ? 'selected' : null)}}{{:~link('Disengaged', 'unlocked', {'lock' : 1}, coverLocked ? null : 'selected')}}
+ {{:helper.link('Engaged', 'locked', {'lock' : 1}, data.coverLocked ? 'selected' : null)}}{{:helper.link('Disengaged', 'unlocked', {'lock' : 1}, data.coverLocked ? null : 'selected')}}
{{/if}}
- {{if siliconUser}}
+ {{if data.siliconUser}}
System Overrides
- {{:~link('Overload Lighting Circuit', 'lightbulb', {'overload' : 1})}}
- {{if malfStatus == 1}}
- {{:~link('Override Programming', 'script', {'malfhack' : 1})}}
- {{else malfStatus > 1}}
+ {{:helper.link('Overload Lighting Circuit', 'lightbulb', {'overload' : 1})}}
+ {{if data.malfStatus == 1}}
+ {{:helper.link('Override Programming', 'script', {'malfhack' : 1})}}
+ {{else data.malfStatus > 1}}
APC Hacked
{{/if}}
diff --git a/nano/templates/canister.tmpl b/nano/templates/canister.tmpl
index 3bd69a4a9bb..dd1f9a2e01c 100644
--- a/nano/templates/canister.tmpl
+++ b/nano/templates/canister.tmpl
@@ -4,7 +4,7 @@
Tank Label:
-
{{:name}}
{{:~link('Relabel', 'pencil', {'relabel' : 1}, (canLabel) ? null : 'disabled')}}
+
{{:data.name}}
{{:helper.link('Relabel', 'pencil', {'relabel' : 1}, (canLabel) ? null : 'disabled')}}
@@ -13,7 +13,7 @@
Tank Pressure:
- {{:tankPressure}} kPa
+ {{:data.tankPressure}} kPa
@@ -22,18 +22,18 @@
Port Status:
- {{:portConnected ? 'Connected' : 'Disconnected'}}
+ {{:data.portConnected ? 'Connected' : 'Disconnected'}}
Holding Tank Status
-{{if hasHoldingTank}}
+{{if data.hasHoldingTank}}
Tank Label:
-
{{:holdingTank.name}}
{{:~link('Eject', 'eject', {'remove_tank' : 1})}}
+
{{:data.holdingTank.name}}
{{:helper.link('Eject', 'eject', {'remove_tank' : 1})}}
@@ -42,7 +42,7 @@
Tank Pressure:
- {{:holdingTank.tankPressure}} kPa
+ {{:data.holdingTank.tankPressure}} kPa
{{else}}
@@ -57,17 +57,17 @@
Release Pressure:
- {{:~displayBar(releasePressure, minReleasePressure, maxReleasePressure)}}
+ {{:helper.displayBar(releasePressure, minReleasePressure, maxReleasePressure)}}
- {{:~link('-', null, {'pressure_adj' : -1000}, (releasePressure > minReleasePressure) ? null : 'disabled')}}
- {{:~link('-', null, {'pressure_adj' : -100}, (releasePressure > minReleasePressure) ? null : 'disabled')}}
- {{:~link('-', null, {'pressure_adj' : -10}, (releasePressure > minReleasePressure) ? null : 'disabled')}}
- {{:~link('-', null, {'pressure_adj' : -1}, (releasePressure > minReleasePressure) ? null : 'disabled')}}
-
{{:releasePressure}} kPa
- {{:~link('+', null, {'pressure_adj' : 1}, (releasePressure < maxReleasePressure) ? null : 'disabled')}}
- {{:~link('+', null, {'pressure_adj' : 10}, (releasePressure < maxReleasePressure) ? null : 'disabled')}}
- {{:~link('+', null, {'pressure_adj' : 100}, (releasePressure < maxReleasePressure) ? null : 'disabled')}}
- {{:~link('+', null, {'pressure_adj' : 1000}, (releasePressure < maxReleasePressure) ? null : 'disabled')}}
+ {{:helper.link('-', null, {'pressure_adj' : -1000}, (releasePressure > minReleasePressure) ? null : 'disabled')}}
+ {{:helper.link('-', null, {'pressure_adj' : -100}, (releasePressure > minReleasePressure) ? null : 'disabled')}}
+ {{:helper.link('-', null, {'pressure_adj' : -10}, (releasePressure > minReleasePressure) ? null : 'disabled')}}
+ {{:helper.link('-', null, {'pressure_adj' : -1}, (releasePressure > minReleasePressure) ? null : 'disabled')}}
+
{{:data.releasePressure}} kPa
+ {{:helper.link('+', null, {'pressure_adj' : 1}, (releasePressure < maxReleasePressure) ? null : 'disabled')}}
+ {{:helper.link('+', null, {'pressure_adj' : 10}, (releasePressure < maxReleasePressure) ? null : 'disabled')}}
+ {{:helper.link('+', null, {'pressure_adj' : 100}, (releasePressure < maxReleasePressure) ? null : 'disabled')}}
+ {{:helper.link('+', null, {'pressure_adj' : 1000}, (releasePressure < maxReleasePressure) ? null : 'disabled')}}
@@ -77,7 +77,7 @@
Release Valve:
- {{:~link('Open', 'unlocked', {'toggle' : 1}, valveOpen ? 'selected' : null)}}{{:~link('Close', 'locked', {'toggle' : 1}, valveOpen ? null : 'selected')}}
+ {{:helper.link('Open', 'unlocked', {'toggle' : 1}, valveOpen ? 'selected' : null)}}{{:helper.link('Close', 'locked', {'toggle' : 1}, valveOpen ? null : 'selected')}}
diff --git a/nano/templates/chem_dispenser.tmpl b/nano/templates/chem_dispenser.tmpl
index 0c6d10777f2..da8eab8fcd4 100644
--- a/nano/templates/chem_dispenser.tmpl
+++ b/nano/templates/chem_dispenser.tmpl
@@ -7,7 +7,7 @@ Used In File(s): \code\modules\reagents\Chemistry-Machinery.dm
Energy:
- {{:~displayBar(energy, 0, maxEnergy, 'good', energy + ' Units')}}
+ {{:helper.displayBar(energy, 0, maxEnergy, 'good', energy + ' Units')}}
@@ -16,17 +16,17 @@ Used In File(s): \code\modules\reagents\Chemistry-Machinery.dm
Dispense:
- {{:~link('5', 'gear', {'amount' : 5}, (amount == 5) ? 'selected' : null)}}
- {{:~link('10', 'gear', {'amount' : 10}, (amount == 10) ? 'selected' : null)}}
- {{:~link('20', 'gear', {'amount' : 20}, (amount == 20) ? 'selected' : null)}}
- {{:~link('30', 'gear', {'amount' : 30}, (amount == 30) ? 'selected' : null)}}
- {{:~link('50', 'gear', {'amount' : 50}, (amount == 50) ? 'selected' : null)}}
+ {{:helper.link('5', 'gear', {'amount' : 5}, (amount == 5) ? 'selected' : null)}}
+ {{:helper.link('10', 'gear', {'amount' : 10}, (amount == 10) ? 'selected' : null)}}
+ {{:helper.link('20', 'gear', {'amount' : 20}, (amount == 20) ? 'selected' : null)}}
+ {{:helper.link('30', 'gear', {'amount' : 30}, (amount == 30) ? 'selected' : null)}}
+ {{:helper.link('50', 'gear', {'amount' : 50}, (amount == 50) ? 'selected' : null)}}
- {{if glass}}
+ {{if data.glass}}
Drink Dispenser
{{else}}
Chemical Dispenser
@@ -35,34 +35,34 @@ Used In File(s): \code\modules\reagents\Chemistry-Machinery.dm
- {{for chemicals}}
- {{:~link(title, 'circle-arrow-s', commands, null, ~root.glass ? 'fixedLeftWide' : 'fixedLeft')}}
+ {{for data.chemicals}}
+ {{:helper.link(title, 'circle-arrow-s', commands, null, ~root.glass ? 'fixedLeftWide' : 'fixedLeft')}}
{{/for}}
- {{if glass}}
+ {{if data.glass}}
Glass
{{else}}
Beaker
{{/if}} Contents
- {{:~link(glass ? 'Eject Glass' : 'Eject Beaker', 'eject', {'ejectBeaker' : 1}, isBeakerLoaded ? null : 'disabled', 'floatRight')}}
+ {{:helper.link(glass ? 'Eject Glass' : 'Eject Beaker', 'eject', {'ejectBeaker' : 1}, isBeakerLoaded ? null : 'disabled', 'floatRight')}}
- {{if isBeakerLoaded}}
-
Volume: {{:beakerCurrentVolume}} / {{:beakerMaxVolume}}
- {{for beakerContents}}
-
{{:volume}} units of {{:name}}
+ {{if data.isBeakerLoaded}}
+
Volume: {{:data.beakerCurrentVolume}} / {{:data.beakerMaxVolume}}
+ {{for data.beakerContents}}
+
{{:data.volume}} units of {{:data.name}}
{{else}}
- {{if glass}}
+ {{if data.glass}}
Glass
{{else}}
Beaker
@@ -71,7 +71,7 @@ Used In File(s): \code\modules\reagents\Chemistry-Machinery.dm
{{/for}}
{{else}}
No
- {{if glass}}
+ {{if data.glass}}
Glass
{{else}}
Beaker
diff --git a/nano/templates/crew_monitor.tmpl b/nano/templates/crew_monitor.tmpl
index efa885f20f5..bdaa9f973d7 100644
--- a/nano/templates/crew_monitor.tmpl
+++ b/nano/templates/crew_monitor.tmpl
@@ -2,13 +2,13 @@
Crew Monitoring Computer interface
-->
- {{for crewmembers}}
- {{if sensor_type == 1}}
- | {{:name}} | {{:dead ? "Deceased" : "Living"}} | Not Available |
- {{else sensor_type == 2}}
- | {{:name}} | {{:dead ? "Deceased" : "Living"}} ({{:oxy}}/{{:tox}}/{{:fire}}/{{:brute}}) | Not Available |
- {{else sensor_type == 3}}
- | {{:name}} | {{:dead ? "Deceased" : "Living"}} ({{:oxy}}/{{:tox}}/{{:fire}}/{{:brute}}) | {{:area}}({{:x}}, {{:y}}) |
+ {{for data.crewmembers}}
+ {{if data.sensor_type == 1}}
+ | {{:data.name}} | {{:data.dead ? "Deceased" : "Living"}} | Not Available |
+ {{else data.sensor_type == 2}}
+ | {{:data.name}} | {{:data.dead ? "Deceased" : "Living"}} ({{:data.oxy}}/{{:data.tox}}/{{:data.fire}}/{{:data.brute}}) | Not Available |
+ {{else data.sensor_type == 3}}
+ | {{:data.name}} | {{:data.dead ? "Deceased" : "Living"}} ({{:data.oxy}}/{{:data.tox}}/{{:data.fire}}/{{:data.brute}}) | {{:data.area}}({{:data.x}}, {{:data.y}}) |
{{/if}}
{{/for}}
\ No newline at end of file
diff --git a/nano/templates/cryo.tmpl b/nano/templates/cryo.tmpl
index c8c5610aa61..08102950f61 100644
--- a/nano/templates/cryo.tmpl
+++ b/nano/templates/cryo.tmpl
@@ -5,59 +5,59 @@ Used In File(s): \code\game\machinery\cryo.dm
Cryo Cell Status
- {{if !hasOccupant}}
+ {{if !data.hasOccupant}}
Cell Unoccupied
{{else}}
- {{:occupant.name}} =>
- {{if occupant.stat == 0}}
+ {{:data.occupant.name}} =>
+ {{if data.occupant.stat == 0}}
Conscious
- {{else occupant.stat == 1}}
+ {{else data.occupant.stat == 1}}
Unconscious
{{else}}
DEAD
{{/if}}
- {{if occupant.stat < 2}}
+ {{if data.occupant.stat < 2}}
Health:
- {{if occupant.health >= 0}}
- {{:~displayBar(occupant.health, 0, occupant.maxHealth, 'good')}}
+ {{if data.occupant.health >= 0}}
+ {{:helper.displayBar(occupant.health, 0, occupant.maxHealth, 'good')}}
{{else}}
- {{:~displayBar(occupant.health, 0, occupant.minHealth, 'average alignRight')}}
+ {{:helper.displayBar(occupant.health, 0, occupant.minHealth, 'average alignRight')}}
{{/if}}
-
{{:~round(occupant.health)}}
+
{{:helper.round(occupant.health)}}
=> Brute Damage:
- {{:~displayBar(occupant.bruteLoss, 0, occupant.maxHealth, 'bad')}}
-
{{:~round(occupant.bruteLoss)}}
+ {{:helper.displayBar(occupant.bruteLoss, 0, occupant.maxHealth, 'bad')}}
+
{{:helper.round(occupant.bruteLoss)}}
=> Resp. Damage:
- {{:~displayBar(occupant.oxyLoss, 0, occupant.maxHealth, 'bad')}}
-
{{:~round(occupant.oxyLoss)}}
+ {{:helper.displayBar(occupant.oxyLoss, 0, occupant.maxHealth, 'bad')}}
+
{{:helper.round(occupant.oxyLoss)}}
=> Toxin Damage:
- {{:~displayBar(occupant.toxLoss, 0, occupant.maxHealth, 'bad')}}
-
{{:~round(occupant.toxLoss)}}
+ {{:helper.displayBar(occupant.toxLoss, 0, occupant.maxHealth, 'bad')}}
+
{{:helper.round(occupant.toxLoss)}}
=> Burn Severity:
- {{:~displayBar(occupant.fireLoss, 0, occupant.maxHealth, 'bad')}}
-
{{:~round(occupant.fireLoss)}}
+ {{:helper.displayBar(occupant.fireLoss, 0, occupant.maxHealth, 'bad')}}
+
{{:helper.round(occupant.fireLoss)}}
{{/if}}
{{/if}}
Cell Temperature:
- {{:~string('{1} K', cellTemperatureStatus, cellTemperature)}}
+ {{:helper.string('{1} K', cellTemperatureStatus, cellTemperature)}}
@@ -67,10 +67,10 @@ Used In File(s): \code\game\machinery\cryo.dm
Cryo Cell Status:
- {{:~link('On', 'power', {'switchOn' : 1}, isOperating ? 'selected' : null)}}{{:~link('Off', 'close', {'switchOff' : 1}, isOperating ? null : 'selected')}}
+ {{:helper.link('On', 'power', {'switchOn' : 1}, isOperating ? 'selected' : null)}}{{:helper.link('Off', 'close', {'switchOff' : 1}, isOperating ? null : 'selected')}}
- {{:~link('Eject Occupant', 'arrowreturnthick-1-s', {'ejectOccupant' : 1}, hasOccupant ? null : 'disabled')}}
+ {{:helper.link('Eject Occupant', 'arrowreturnthick-1-s', {'ejectOccupant' : 1}, hasOccupant ? null : 'disabled')}}
@@ -79,10 +79,10 @@ Used In File(s): \code\game\machinery\cryo.dm
Beaker:
- {{if isBeakerLoaded}}
- {{:beakerLabel ? beakerLabel : 'No label'}}
- {{if beakerVolume}}
- {{:beakerVolume}} units remaining
+ {{if data.isBeakerLoaded}}
+ {{:data.beakerLabel ? beakerLabel : 'No label'}}
+ {{if data.beakerVolume}}
+ {{:data.beakerVolume}} units remaining
{{else}}
Beaker is empty
{{/if}}
@@ -91,6 +91,6 @@ Used In File(s): \code\game\machinery\cryo.dm
{{/if}}
- {{:~link('Eject Beaker', 'eject', {'ejectBeaker' : 1}, isBeakerLoaded ? null : 'disabled')}}
+ {{:helper.link('Eject Beaker', 'eject', {'ejectBeaker' : 1}, isBeakerLoaded ? null : 'disabled')}}
\ No newline at end of file
diff --git a/nano/templates/disease_splicer.tmpl b/nano/templates/disease_splicer.tmpl
index a7d76fb4f69..a3caad12dea 100644
--- a/nano/templates/disease_splicer.tmpl
+++ b/nano/templates/disease_splicer.tmpl
@@ -1,13 +1,13 @@
- {{:~link('Close', 'gear', {'close' : 1}, null, 'fixedLeft')}}
+ {{:helper.link('Close', 'gear', {'close' : 1}, null, 'fixedLeft')}}
-{{if busy}}
+{{if data.busy}}
The Splicer is currently busy.
-
{{:busy}}
+ {{:data.busy}}
Thank you for your patience!
@@ -17,7 +17,7 @@
Virus Dish
- {{:~link('Eject Dish', 'eject', { 'eject' : 1 }, dish_inserted ? null : 'disabled')}}
+ {{:helper.link('Eject Dish', 'eject', { 'eject' : 1 }, dish_inserted ? null : 'disabled')}}
@@ -25,26 +25,26 @@
Growth Density:
- {{:~displayBar(growth, 0, 100, growth >= 50 ? 'good' : growth >= 25 ? 'average' : 'bad', growth + '%' )}}
+ {{:helper.displayBar(growth, 0, 100, growth >= 50 ? 'good' : growth >= 25 ? 'average' : 'bad', growth + '%' )}}
- {{if !info}}
+ {{if !data.info}}
Symptoms:
{{/if}}
- {{if info}}
-
{{:info}}
+ {{if data.info}}
+
{{:data.info}}
{{else}}
- {{for effects}}
+ {{for data.effects}}
- ({{:stage}}) {{:name}}
- {{if badness > 1}}
+ ({{:data.stage}}) {{:data.name}}
+ {{if data.badness > 1}}
Dangerous
{{/if}}
@@ -53,18 +53,18 @@
{{/if}}
- {{if affected_species && !info}}
+ {{if data.affected_species && !info}}
Affected Species:
- {{:affected_species}}
+ {{:data.affected_species}}
{{/if}}
- {{if effects}}
+ {{if data.effects}}
CAUTION: Reverse engineering will destroy the viral sample.
@@ -73,12 +73,12 @@
Reverse Engineering:
- {{for effects}}
- {{:~link(stage, 'transferthick-e-w', { 'grab' : reference })}}
+ {{for data.effects}}
+ {{:helper.link(stage, 'transferthick-e-w', { 'grab' : reference })}}
{{/for}}
- {{:~link('Species', 'transferthick-e-w', { 'affected_species' : 1 })}}
+ {{:helper.link('Species', 'transferthick-e-w', { 'affected_species' : 1 })}}
{{/if}}
@@ -92,17 +92,17 @@
Memory Buffer:
- {{if buffer}}
- {{:buffer.name}} ({{:buffer.stage}})
+ {{if data.buffer}}
+ {{:data.buffer.name}} ({{:data.buffer.stage}})
{{else}}
- {{if species_buffer}}
- {{:species_buffer}}
+ {{if data.species_buffer}}
+ {{:data.species_buffer}}
{{else}}
Empty
{{/if}}
{{/if}}
- {{:~link('Save To Disk', 'disk', { 'disk' : 1 }, (buffer || species_buffer) ? null : 'disabled')}}
- {{:~link('Splice Onto Dish', 'pencil', { 'splice' : 1 }, (buffer || species_buffer) && !info ? null : 'disabled')}}
+ {{:helper.link('Save To Disk', 'disk', { 'disk' : 1 }, (buffer || species_buffer) ? null : 'disabled')}}
+ {{:helper.link('Splice Onto Dish', 'pencil', { 'splice' : 1 }, (buffer || species_buffer) && !info ? null : 'disabled')}}
{{/if}}
diff --git a/nano/templates/dish_incubator.tmpl b/nano/templates/dish_incubator.tmpl
index 6ebff27698a..5b06f924e69 100644
--- a/nano/templates/dish_incubator.tmpl
+++ b/nano/templates/dish_incubator.tmpl
@@ -1,6 +1,6 @@
- {{:~link('Close', 'gear', {'close' : '1'}, null, 'fixedLeft')}}
+ {{:helper.link('Close', 'gear', {'close' : '1'}, null, 'fixedLeft')}}
@@ -12,12 +12,12 @@
Power:
- {{:~link('On', 'power', { 'power' : 1 }, !dish_inserted ? 'disabled' : on ? 'selected' : null)}}{{:~link('Off', 'close', { 'power' : 1 }, on ? null : 'selected')}}
+ {{:helper.link('On', 'power', { 'power' : 1 }, !dish_inserted ? 'disabled' : on ? 'selected' : null)}}{{:helper.link('Off', 'close', { 'power' : 1 }, on ? null : 'selected')}}
- {{:~link('Add Radiation', 'radiation', {'rad' : 1})}}
- {{:~link('Flush System', 'trash', {'flush' : 1}, system_in_use ? null : 'disabled')}}
+ {{:helper.link('Add Radiation', 'radiation', {'rad' : 1})}}
+ {{:helper.link('Flush System', 'trash', {'flush' : 1}, system_in_use ? null : 'disabled')}}
@@ -26,7 +26,7 @@
Virus Food:
- {{:~displayBar(food_supply, 0, 100, 'good', food_supply)}}
+ {{:helper.displayBar(food_supply, 0, 100, 'good', food_supply)}}
@@ -34,9 +34,9 @@
Radiation Level:
- {{:~displayBar(radiation, 0, 100, radiation >= 50 ? 'bad' : growth >= 25 ? 'average' : 'good')}}
+ {{:helper.displayBar(radiation, 0, 100, radiation >= 50 ? 'bad' : growth >= 25 ? 'average' : 'good')}}
- {{:~formatNumber(radiation * 10000)}}
µSv
+ {{:helper.formatNumber(radiation * 10000)}}
µSv
@@ -44,7 +44,7 @@
Toxicity:
- {{:~displayBar(toxins, 0, 100, toxins >= 50 ? 'bad' : toxins >= 25 ? 'average' : 'good', toxins + '%')}}
+ {{:helper.displayBar(toxins, 0, 100, toxins >= 50 ? 'bad' : toxins >= 25 ? 'average' : 'good', toxins + '%')}}
@@ -53,17 +53,17 @@
Chemicals
- {{:~link('Eject Chemicals', 'eject', { 'ejectchem' : 1 }, chemicals_inserted ? null : 'disabled')}}
- {{:~link('Breed Virus', 'circle-arrow-s', { 'virus' : 1 }, can_breed_virus ? null : 'disabled')}}
+ {{:helper.link('Eject Chemicals', 'eject', { 'ejectchem' : 1 }, chemicals_inserted ? null : 'disabled')}}
+ {{:helper.link('Breed Virus', 'circle-arrow-s', { 'virus' : 1 }, can_breed_virus ? null : 'disabled')}}
-{{if chemicals_inserted}}
+{{if data.chemicals_inserted}}
Volume:
- {{:~displayBar(chemical_volume, 0, max_chemical_volume, 'good', chemical_volume + ' / ' + max_chemical_volume)}}
+ {{:helper.displayBar(chemical_volume, 0, max_chemical_volume, 'good', chemical_volume + ' / ' + max_chemical_volume)}}
@@ -71,10 +71,10 @@
Breeding Environment:
-
- {{:!dish_inserted ? 'N/A' : can_breed_virus ? 'Suitable' : 'No hemolytic samples detected'}}
+
+ {{:!data.dish_inserted ? 'N/A' : can_breed_virus ? 'Suitable' : 'No hemolytic samples detected'}}
- {{if blood_already_infected}}
+ {{if data.blood_already_infected}}
CAUTION: Viral infection detected in blood sample.
{{/if}}
@@ -90,17 +90,17 @@
Virus Dish
- {{:~link('Eject Dish', 'eject', {'ejectdish' : 1}, dish_inserted ? null : 'disabled')}}
+ {{:helper.link('Eject Dish', 'eject', {'ejectdish' : 1}, dish_inserted ? null : 'disabled')}}
-{{if dish_inserted}}
- {{if virus}}
+{{if data.dish_inserted}}
+ {{if data.virus}}
Growth Density:
- {{:~displayBar(growth, 0, 100, growth >= 50 ? 'good' : growth >= 25 ? 'average' : 'bad', growth + '%' )}}
+ {{:helper.displayBar(growth, 0, 100, growth >= 50 ? 'good' : growth >= 25 ? 'average' : 'bad', growth + '%' )}}
@@ -108,7 +108,7 @@
Infection Rate:
- {{:analysed ? infection_rate : "Unknown"}}
+ {{:data.analysed ? infection_rate : "Unknown"}}
{{else}}
diff --git a/nano/templates/dna_modifier.tmpl b/nano/templates/dna_modifier.tmpl
index b064de84b85..5efe73ce87d 100644
--- a/nano/templates/dna_modifier.tmpl
+++ b/nano/templates/dna_modifier.tmpl
@@ -5,54 +5,54 @@ Used In File(s): D:\Development\SS13-BS12\code\game\dna\dna_modifier.dm
Status
- {{if !hasOccupant}}
+ {{if !data.hasOccupant}}
Cell Unoccupied
{{else}}
- {{:occupant.name}} =>
- {{if occupant.stat == 0}}
+ {{:data.occupant.name}} =>
+ {{if data.occupant.stat == 0}}
Conscious
- {{else occupant.stat == 1}}
+ {{else data.occupant.stat == 1}}
Unconscious
{{else}}
DEAD
{{/if}}
- {{if !occupant.isViableSubject || !occupant.uniqueIdentity || !occupant.structuralEnzymes}}
+ {{if !data.occupant.isViableSubject || !occupant.uniqueIdentity || !occupant.structuralEnzymes}}
The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure.
- {{else occupant.stat < 2}}
+ {{else data.occupant.stat < 2}}
Health:
- {{if occupant.health >= 0}}
- {{:~displayBar(occupant.health, 0, occupant.maxHealth, 'good')}}
+ {{if data.occupant.health >= 0}}
+ {{:helper.displayBar(occupant.health, 0, occupant.maxHealth, 'good')}}
{{else}}
- {{:~displayBar(occupant.health, 0, occupant.minHealth, 'average alignRight')}}
+ {{:helper.displayBar(occupant.health, 0, occupant.minHealth, 'average alignRight')}}
{{/if}}
-
{{:~round(occupant.health)}}
+
{{:helper.round(occupant.health)}}
Radiation:
- {{:~displayBar(occupant.radiationLevel, 0, 100, 'average')}}
-
{{:~round(occupant.radiationLevel)}}
+ {{:helper.displayBar(occupant.radiationLevel, 0, 100, 'average')}}
+
{{:helper.round(occupant.radiationLevel)}}
Unique Enzymes:
-
{{:occupant.uniqueEnzymes ? occupant.uniqueEnzymes : 'Unknown'}}
+
{{:data.occupant.uniqueEnzymes ? occupant.uniqueEnzymes : 'Unknown'}}
{{/if}}
{{/if}}
@@ -61,65 +61,65 @@ Used In File(s): D:\Development\SS13-BS12\code\game\dna\dna_modifier.dm
Operations
- {{:~link('Modify U.I.', 'link', {'selectMenuKey' : 'ui'}, selectedMenuKey == 'ui' ? 'selected' : null)}}
- {{:~link('Modify S.E.', 'link', {'selectMenuKey' : 'se'}, selectedMenuKey == 'se' ? 'selected' : null)}}
- {{:~link('Transfer Buffers', 'disk', {'selectMenuKey' : 'buffer'}, selectedMenuKey == 'buffer' ? 'selected' : null)}}
- {{:~link('Rejuvenators', 'plusthick', {'selectMenuKey' : 'rejuvenators'}, selectedMenuKey == 'rejuvenators' ? 'selected' : null)}}
+ {{:helper.link('Modify U.I.', 'link', {'selectMenuKey' : 'ui'}, selectedMenuKey == 'ui' ? 'selected' : null)}}
+ {{:helper.link('Modify S.E.', 'link', {'selectMenuKey' : 'se'}, selectedMenuKey == 'se' ? 'selected' : null)}}
+ {{:helper.link('Transfer Buffers', 'disk', {'selectMenuKey' : 'buffer'}, selectedMenuKey == 'buffer' ? 'selected' : null)}}
+ {{:helper.link('Rejuvenators', 'plusthick', {'selectMenuKey' : 'rejuvenators'}, selectedMenuKey == 'rejuvenators' ? 'selected' : null)}}
-{{if !selectedMenuKey || selectedMenuKey == 'ui'}}
+{{if !data.selectedMenuKey || selectedMenuKey == 'ui'}}
Modify Unique Identifier
- {{:~displayDNABlocks(occupant.uniqueIdentity, selectedUIBlock, selectedUISubBlock, dnaBlockSize, 'UI')}}
+ {{:helper.displayDNABlocks(occupant.uniqueIdentity, selectedUIBlock, selectedUISubBlock, dnaBlockSize, 'UI')}}
Target:
- {{:~link('-', null, {'changeUITarget' : 0}, selectedUITarget > 0 ? null : 'disabled')}}
-
{{:selectedUITargetHex}}
- {{:~link('+', null, {'changeUITarget' : 1}, selectedUITarget < 15 ? null : 'disabled')}}
+ {{:helper.link('-', null, {'changeUITarget' : 0}, selectedUITarget > 0 ? null : 'disabled')}}
+
{{:data.selectedUITargetHex}}
+ {{:helper.link('+', null, {'changeUITarget' : 1}, selectedUITarget < 15 ? null : 'disabled')}}
- {{:~link('Irradiate Block', 'radiation', {'pulseUIRadiation' : 1}, !occupant.isViableSubject ? 'disabled' : null)}}
+ {{:helper.link('Irradiate Block', 'radiation', {'pulseUIRadiation' : 1}, !occupant.isViableSubject ? 'disabled' : null)}}
-{{else selectedMenuKey == 'se'}}
+{{else data.selectedMenuKey == 'se'}}
Modify Structural Enzymes
- {{:~displayDNABlocks(occupant.structuralEnzymes, selectedSEBlock, selectedSESubBlock, dnaBlockSize, 'SE')}}
+ {{:helper.displayDNABlocks(occupant.structuralEnzymes, selectedSEBlock, selectedSESubBlock, dnaBlockSize, 'SE')}}
- {{:~link('Irradiate Block', 'radiation', {'pulseSERadiation' : 1}, !occupant.isViableSubject ? 'disabled' : null)}}
+ {{:helper.link('Irradiate Block', 'radiation', {'pulseSERadiation' : 1}, !occupant.isViableSubject ? 'disabled' : null)}}
-{{else selectedMenuKey == 'buffer'}}
+{{else data.selectedMenuKey == 'buffer'}}
Transfer Buffers
- {{for buffers}}
-
Buffer {{:#index + 1}}
+ {{for data.buffers}}
+
Buffer {{:data.#index + 1}}
Load Data:
- {{:~link('Subject U.I.', 'link', {'bufferOption' : 'saveUI', 'bufferId' : (#index + 1)}, !~root.hasOccupant ? 'disabled' : null)}}
- {{:~link('Subject U.I. + U.E.', 'link', {'bufferOption' : 'saveUIAndUE', 'bufferId' : (#index + 1)}, !~root.hasOccupant ? 'disabled' : null)}}
- {{:~link('Subject S.E.', 'link', {'bufferOption' : 'saveSE', 'bufferId' : (#index + 1)}, !~root.hasOccupant ? 'disabled' : null)}}
- {{:~link('From Disk', 'disk', {'bufferOption' : 'loadDisk', 'bufferId' : (#index + 1)}, !~root.hasDisk || !~root.disk.data ? 'disabled' : null)}}
+ {{:helper.link('Subject U.I.', 'link', {'bufferOption' : 'saveUI', 'bufferId' : (#index + 1)}, !~root.hasOccupant ? 'disabled' : null)}}
+ {{:helper.link('Subject U.I. + U.E.', 'link', {'bufferOption' : 'saveUIAndUE', 'bufferId' : (#index + 1)}, !~root.hasOccupant ? 'disabled' : null)}}
+ {{:helper.link('Subject S.E.', 'link', {'bufferOption' : 'saveSE', 'bufferId' : (#index + 1)}, !~root.hasOccupant ? 'disabled' : null)}}
+ {{:helper.link('From Disk', 'disk', {'bufferOption' : 'loadDisk', 'bufferId' : (#index + 1)}, !~root.hasDisk || !~root.disk.data ? 'disabled' : null)}}
- {{if data}}
+ {{if data.data}}
Label:
- {{:~link(label, 'document-b', {'bufferOption' : 'changeLabel', 'bufferId' : (#parent.index + 1)})}}
+ {{:helper.link(label, 'document-b', {'bufferOption' : 'changeLabel', 'bufferId' : (#parent.index + 1)})}}
@@ -127,7 +127,7 @@ Used In File(s): D:\Development\SS13-BS12\code\game\dna\dna_modifier.dm
Subject:
- {{:owner ? owner : 'Unknown'}}
+ {{:data.owner ? owner : 'Unknown'}}
@@ -135,8 +135,8 @@ Used In File(s): D:\Development\SS13-BS12\code\game\dna\dna_modifier.dm
Stored Data:
- {{:data == 'ui' ? 'Unique Identifiers' : 'Structural Enzymes'}}
- {{:ue ? ' + Unique Enzymes' : ''}}
+ {{:data.data == 'ui' ? 'Unique Identifiers' : 'Structural Enzymes'}}
+ {{:data.ue ? ' + Unique Enzymes' : ''}}
{{else}}
@@ -151,11 +151,11 @@ Used In File(s): D:\Development\SS13-BS12\code\game\dna\dna_modifier.dm
Options:
- {{:~link('Clear', 'trash', {'bufferOption' : 'clear', 'bufferId' : (#index + 1)}, !data ? 'disabled' : null)}}
- {{:~link('Injector', ~root.isInjectorReady ? 'pencil' : 'clock', {'bufferOption' : 'createInjector', 'bufferId' : (#index + 1)}, !~root.isInjectorReady || !data ? 'disabled' : null)}}
- {{:~link('Block Injector', ~root.isInjectorReady ? 'pencil' : 'clock', {'bufferOption' : 'createInjector', 'bufferId' : (#index + 1), 'createBlockInjector' : 1}, !~root.isInjectorReady || !data ? 'disabled' : null)}}
- {{:~link('Transfer', 'radiation', {'bufferOption' : 'transfer', 'bufferId' : (#index + 1)}, !~root.hasOccupant || !data ? 'disabled' : null)}}
- {{:~link('Save To Disk', 'disk', {'bufferOption' : 'saveDisk', 'bufferId' : (#index + 1)}, !data || !~root.hasDisk ? 'disabled' : null)}}
+ {{:helper.link('Clear', 'trash', {'bufferOption' : 'clear', 'bufferId' : (#index + 1)}, !data ? 'disabled' : null)}}
+ {{:helper.link('Injector', ~root.isInjectorReady ? 'pencil' : 'clock', {'bufferOption' : 'createInjector', 'bufferId' : (#index + 1)}, !~root.isInjectorReady || !data ? 'disabled' : null)}}
+ {{:helper.link('Block Injector', ~root.isInjectorReady ? 'pencil' : 'clock', {'bufferOption' : 'createInjector', 'bufferId' : (#index + 1), 'createBlockInjector' : 1}, !~root.isInjectorReady || !data ? 'disabled' : null)}}
+ {{:helper.link('Transfer', 'radiation', {'bufferOption' : 'transfer', 'bufferId' : (#index + 1)}, !~root.hasOccupant || !data ? 'disabled' : null)}}
+ {{:helper.link('Save To Disk', 'disk', {'bufferOption' : 'saveDisk', 'bufferId' : (#index + 1)}, !data || !~root.hasDisk ? 'disabled' : null)}}
@@ -163,14 +163,14 @@ Used In File(s): D:\Development\SS13-BS12\code\game\dna\dna_modifier.dm
Data Disk
- {{if hasDisk}}
- {{if disk.data}}
+ {{if data.hasDisk}}
+ {{if data.disk.data}}
Label:
- {{:disk.label ? disk.label : 'No Label'}}
+ {{:data.disk.label ? disk.label : 'No Label'}}
@@ -178,7 +178,7 @@ Used In File(s): D:\Development\SS13-BS12\code\game\dna\dna_modifier.dm
Subject:
- {{:disk.owner ? disk.owner : 'Unknown'}}
+ {{:data.disk.owner ? disk.owner : 'Unknown'}}
@@ -186,8 +186,8 @@ Used In File(s): D:\Development\SS13-BS12\code\game\dna\dna_modifier.dm
Stored Data:
- {{:disk.data == 'ui' ? 'Unique Identifiers' : 'Structural Enzymes'}}
- {{:disk.ue ? ' + Unique Enzymes' : ''}}
+ {{:data.disk.data == 'ui' ? 'Unique Identifiers' : 'Structural Enzymes'}}
+ {{:data.disk.ue ? ' + Unique Enzymes' : ''}}
{{else}}
@@ -209,23 +209,23 @@ Used In File(s): D:\Development\SS13-BS12\code\game\dna\dna_modifier.dm
Options:
- {{:~link('Wipe Disk', 'trash', {'bufferOption' : 'wipeDisk'}, !hasDisk || !disk.data ? 'disabled' : null)}}
- {{:~link('Eject Disk', 'eject', {'bufferOption' : 'ejectDisk'}, !hasDisk ? 'disabled' : null)}}
+ {{:helper.link('Wipe Disk', 'trash', {'bufferOption' : 'wipeDisk'}, !hasDisk || !disk.data ? 'disabled' : null)}}
+ {{:helper.link('Eject Disk', 'eject', {'bufferOption' : 'ejectDisk'}, !hasDisk ? 'disabled' : null)}}
-{{else selectedMenuKey == 'rejuvenators'}}
+{{else data.selectedMenuKey == 'rejuvenators'}}
Rejuvenators
Inject:
- {{:~link('5', 'pencil', {'injectRejuvenators' : 5}, !hasOccupant || !beakerVolume ? 'disabled' : null)}}
- {{:~link('10', 'pencil', {'injectRejuvenators' : 10}, !hasOccupant || !beakerVolume ? 'disabled' : null)}}
- {{:~link('20', 'pencil', {'injectRejuvenators' : 20}, !hasOccupant || !beakerVolume ? 'disabled' : null)}}
- {{:~link('30', 'pencil', {'injectRejuvenators' : 30}, !hasOccupant || !beakerVolume ? 'disabled' : null)}}
- {{:~link('50', 'pencil', {'injectRejuvenators' : 50}, !hasOccupant || !beakerVolume ? 'disabled' : null)}}
+ {{:helper.link('5', 'pencil', {'injectRejuvenators' : 5}, !hasOccupant || !beakerVolume ? 'disabled' : null)}}
+ {{:helper.link('10', 'pencil', {'injectRejuvenators' : 10}, !hasOccupant || !beakerVolume ? 'disabled' : null)}}
+ {{:helper.link('20', 'pencil', {'injectRejuvenators' : 20}, !hasOccupant || !beakerVolume ? 'disabled' : null)}}
+ {{:helper.link('30', 'pencil', {'injectRejuvenators' : 30}, !hasOccupant || !beakerVolume ? 'disabled' : null)}}
+ {{:helper.link('50', 'pencil', {'injectRejuvenators' : 50}, !hasOccupant || !beakerVolume ? 'disabled' : null)}}
@@ -234,10 +234,10 @@ Used In File(s): D:\Development\SS13-BS12\code\game\dna\dna_modifier.dm
Beaker:
- {{if isBeakerLoaded}}
- {{:beakerLabel ? beakerLabel : 'No label'}}
- {{if beakerVolume}}
- {{:beakerVolume}} units remaining
+ {{if data.isBeakerLoaded}}
+ {{:data.beakerLabel ? beakerLabel : 'No label'}}
+ {{if data.beakerVolume}}
+ {{:data.beakerVolume}} units remaining
{{else}}
Beaker is empty
{{/if}}
@@ -246,23 +246,23 @@ Used In File(s): D:\Development\SS13-BS12\code\game\dna\dna_modifier.dm
{{/if}}
- {{:~link('Eject Beaker', 'eject', {'ejectBeaker' : 1}, isBeakerLoaded ? null : 'disabled')}}
+ {{:helper.link('Eject Beaker', 'eject', {'ejectBeaker' : 1}, isBeakerLoaded ? null : 'disabled')}}
{{/if}}
-{{if !selectedMenuKey || selectedMenuKey == 'ui' || selectedMenuKey == 'se'}}
+{{if !data.selectedMenuKey || selectedMenuKey == 'ui' || selectedMenuKey == 'se'}}
Radiation Emitter Settings
Intensity:
- {{:~link('-', null, {'radiationIntensity' : 0}, radiationIntensity > 1 ? null : 'disabled')}}
-
{{:radiationIntensity}}
- {{:~link('+', null, {'radiationIntensity' : 1}, radiationIntensity < 10 ? null : 'disabled')}}
+ {{:helper.link('-', null, {'radiationIntensity' : 0}, radiationIntensity > 1 ? null : 'disabled')}}
+
{{:data.radiationIntensity}}
+ {{:helper.link('+', null, {'radiationIntensity' : 1}, radiationIntensity < 10 ? null : 'disabled')}}
@@ -270,9 +270,9 @@ Used In File(s): D:\Development\SS13-BS12\code\game\dna\dna_modifier.dm
Duration:
- {{:~link('-', null, {'radiationDuration' : 0}, radiationDuration > 2 ? null : 'disabled')}}
-
{{:radiationDuration}}
- {{:~link('+', null, {'radiationDuration' : 1}, radiationDuration < 20 ? null : 'disabled')}}
+ {{:helper.link('-', null, {'radiationDuration' : 0}, radiationDuration > 2 ? null : 'disabled')}}
+
{{:data.radiationDuration}}
+ {{:helper.link('+', null, {'radiationDuration' : 1}, radiationDuration < 20 ? null : 'disabled')}}
@@ -280,7 +280,7 @@ Used In File(s): D:\Development\SS13-BS12\code\game\dna\dna_modifier.dm
- {{:~link('Pulse Radiation', 'radiation', {'pulseRadiation' : 1}, !hasOccupant ? 'disabled' : null)}}
+ {{:helper.link('Pulse Radiation', 'radiation', {'pulseRadiation' : 1}, !hasOccupant ? 'disabled' : null)}}
{{/if}}
@@ -294,7 +294,7 @@ Used In File(s): D:\Development\SS13-BS12\code\game\dna\dna_modifier.dm
Occupant:
- {{:~link('Eject Occupant', 'eject', {'ejectOccupant' : 1}, locked || !hasOccupant || irradiating ? 'disabled' : null)}}
+ {{:helper.link('Eject Occupant', 'eject', {'ejectOccupant' : 1}, locked || !hasOccupant || irradiating ? 'disabled' : null)}}
@@ -302,16 +302,16 @@ Used In File(s): D:\Development\SS13-BS12\code\game\dna\dna_modifier.dm
Door Lock:
- {{:~link('Engaged', 'locked', {'toggleLock' : 1}, locked ? 'selected' : !hasOccupant ? 'disabled' : null)}}
- {{:~link('Disengaged', 'unlocked', {'toggleLock' : 1}, !locked ? 'selected' : irradiating ? 'disabled' : null)}}
+ {{:helper.link('Engaged', 'locked', {'toggleLock' : 1}, locked ? 'selected' : !hasOccupant ? 'disabled' : null)}}
+ {{:helper.link('Disengaged', 'unlocked', {'toggleLock' : 1}, !locked ? 'selected' : irradiating ? 'disabled' : null)}}
-{{if irradiating}}
+{{if data.irradiating}}
Irradiating Subject
- For {{:irradiating}} seconds.
+ For {{:data.irradiating}} seconds.
{{/if}}
diff --git a/nano/templates/docking_airlock_console.tmpl b/nano/templates/docking_airlock_console.tmpl
index b19d13a3a6d..4f69175a8d1 100644
--- a/nano/templates/docking_airlock_console.tmpl
+++ b/nano/templates/docking_airlock_console.tmpl
@@ -3,53 +3,53 @@
Docking Port Status:
- {{if docking_status == "docked"}}
+ {{if data.docking_status == "docked"}}
- {{if !override_enabled}}
+ {{if !data.override_enabled}}
DOCKED
{{else}}
DOCKED-OVERRIDE ENABLED
{{/if}}
- {{:~link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : null)}}
+ {{:helper.link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : null)}}
- {{else docking_status == "docking"}}
+ {{else data.docking_status == "docking"}}
- {{if !override_enabled}}
+ {{if !data.override_enabled}}
DOCKING
{{else}}
DOCKING-OVERRIDE ENABLED
{{/if}}
- {{:~link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : null)}}
+ {{:helper.link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : null)}}
- {{else docking_status == "undocking"}}
+ {{else data.docking_status == "undocking"}}
- {{if !override_enabled}}
+ {{if !data.override_enabled}}
UNDOCKING
{{else}}
UNDOCKING-OVERRIDE ENABLED
{{/if}}
- {{:~link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : null)}}
+ {{:helper.link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : null)}}
- {{else docking_status == "undocked"}}
+ {{else data.docking_status == "undocked"}}
- {{if !override_enabled}}
+ {{if !data.override_enabled}}
NOT IN USE
{{else}}
OVERRIDE ENABLED
{{/if}}
- {{:~link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : null)}}
+ {{:helper.link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : null)}}
{{else}}
ERROR
- {{:~link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : null)}}
+ {{:helper.link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : null)}}
{{/if}}
@@ -59,9 +59,9 @@
Chamber Pressure:
- {{:~displayBar(chamber_pressure, 0, 200, chamber_pressure < 80 || chamber_pressure > 120 ? 'bad' : chamber_pressure < 95 || chamber_pressure > 110 ? 'average' : 'good')}}
+ {{:helper.displayBar(chamber_pressure, 0, 200, chamber_pressure < 80 || chamber_pressure > 120 ? 'bad' : chamber_pressure < 95 || chamber_pressure > 110 ? 'average' : 'good')}}
- {{:chamber_pressure}} kPa
+ {{:data.chamber_pressure}} kPa
@@ -69,28 +69,28 @@
- {{:~link('Cycle to Exterior', 'arrowthickstop-1-w', {'command' : 'cycle_ext'}, (processing || airlock_disabled) ? 'disabled' : null)}}
- {{:~link('Cycle to Interior', 'arrowthickstop-1-e', {'command' : 'cycle_int'}, (processing || airlock_disabled) ? 'disabled' : null)}}
+ {{:helper.link('Cycle to Exterior', 'arrowthickstop-1-w', {'command' : 'cycle_ext'}, (processing || airlock_disabled) ? 'disabled' : null)}}
+ {{:helper.link('Cycle to Interior', 'arrowthickstop-1-e', {'command' : 'cycle_int'}, (processing || airlock_disabled) ? 'disabled' : null)}}
- {{if airlock_disabled}}
- {{:~link('Force exterior door', 'alert', {'command' : 'force_ext'}, 'disabled', null)}}
- {{:~link('Force interior door', 'alert', {'command' : 'force_int'}, 'disabled', null)}}
+ {{if data.airlock_disabled}}
+ {{:helper.link('Force exterior door', 'alert', {'command' : 'force_ext'}, 'disabled', null)}}
+ {{:helper.link('Force interior door', 'alert', {'command' : 'force_int'}, 'disabled', null)}}
{{else}}
- {{if interior_status.state == "open"}}
- {{:~link('Force exterior door', 'alert', {'command' : 'force_ext'}, null, 'redBackground')}}
+ {{if data.interior_status.state == "open"}}
+ {{:helper.link('Force exterior door', 'alert', {'command' : 'force_ext'}, null, 'redBackground')}}
{{else}}
- {{:~link('Force exterior door', 'alert', {'command' : 'force_ext'}, null, processing ? 'yellowBackground' : null)}}
+ {{:helper.link('Force exterior door', 'alert', {'command' : 'force_ext'}, null, processing ? 'yellowBackground' : null)}}
{{/if}}
- {{if exterior_status.state == "open"}}
- {{:~link('Force interior door', 'alert', {'command' : 'force_int'}, null, 'redBackground')}}
+ {{if data.exterior_status.state == "open"}}
+ {{:helper.link('Force interior door', 'alert', {'command' : 'force_int'}, null, 'redBackground')}}
{{else}}
- {{:~link('Force interior door', 'alert', {'command' : 'force_int'}, null, processing ? 'yellowBackground' : null)}}
+ {{:helper.link('Force interior door', 'alert', {'command' : 'force_int'}, null, processing ? 'yellowBackground' : null)}}
{{/if}}
{{/if}}
- {{:~link('Abort', 'cancel', {'command' : 'abort'}, (processing && !airlock_disabled) ? null : 'disabled', (processing && !airlock_disabled) ? 'redBackground' : null)}}
+ {{:helper.link('Abort', 'cancel', {'command' : 'abort'}, (processing && !airlock_disabled) ? null : 'disabled', (processing && !airlock_disabled) ? 'redBackground' : null)}}
\ No newline at end of file
diff --git a/nano/templates/door_access_console.tmpl b/nano/templates/door_access_console.tmpl
new file mode 100644
index 00000000000..ccbdc0f84ab
--- /dev/null
+++ b/nano/templates/door_access_console.tmpl
@@ -0,0 +1,42 @@
+
+
+
+ Exterior Door Status:
+
+
+ {{if data.exterior_status.state == "closed"}}
+ Locked
+ {{else}}
+ Open
+ {{/if}}
+
+
+
+
+ Interior Door Status:
+
+
+ {{if data.interior_status.state == "closed"}}
+ Locked
+ {{else}}
+ Open
+ {{/if}}
+
+
+
+
+
+
+ {{if data.exterior_status.state == "open"}}
+ {{:helper.link('Lock Exterior Door', 'alert', {'command' : 'force_ext'}, processing ? 'disabled' : null)}}
+ {{else}}
+ {{:helper.link('Cycle to Exterior', 'arrowthickstop-1-w', {'command' : 'cycle_ext_door'}, processing ? 'disabled' : null)}}
+ {{/if}}
+ {{if data.interior_status.state == "open"}}
+ {{:helper.link('Lock Interior Door', 'alert', {'command' : 'force_int'}, processing ? 'disabled' : null)}}
+ {{else}}
+ {{:helper.link('Cycle to Interior', 'arrowthickstop-1-e', {'command' : 'cycle_int_door'}, processing ? 'disabled' : null)}}
+ {{/if}}
+
+
+
\ No newline at end of file
diff --git a/nano/templates/escape_pod_console.tmpl b/nano/templates/escape_pod_console.tmpl
index 90346af30ee..3bab0ce7da8 100644
--- a/nano/templates/escape_pod_console.tmpl
+++ b/nano/templates/escape_pod_console.tmpl
@@ -4,68 +4,18 @@
Escape Pod Status:
- {{if docking_status == "docked"}}
- {{if is_armed}}
+ {{if data.docking_status == "docked"}}
+ {{if data.armed}}
ARMED
{{else}}
SYSTEMS OK
{{/if}}
- {{else docking_status == "undocking"}}
- EJECTING
- {{else docking_status == "undocked"}}
+ {{else data.docking_status == "undocking"}}
+ EJECTING-STAND CLEAR!
+ {{else data.docking_status == "undocked"}}
POD EJECTED
- {{else docking_status == "docking"}}
- DOCKING
- {{else}}
- ERROR
- {{/if}}
-
-
-
-
-
-
- Docking Hatch:
-
-
- {{if docking_status == "docked"}}
- {{if door_state == "open"}}
-
OPEN
- {{else door_state == "closed"}}
-
CLOSED
- {{else}}
-
ERROR
- {{/if}}
- {{else docking_status == "docking"}}
- {{if door_state == "open"}}
-
OPEN
- {{else door_state == "closed" && door_lock == "locked"}}
-
SECURED
- {{else door_state == "closed" && door_lock == "unlocked"}}
-
UNSECURED
- {{else}}
-
ERROR
- {{/if}}
- {{else docking_status == "undocking"}}
- {{if door_state == "open"}}
-
OPEN
- {{else door_state == "closed" && door_lock == "locked"}}
-
SECURED
- {{else door_state == "closed" && door_lock == "unlocked"}}
-
UNSECURED
- {{else}}
-
ERROR
- {{/if}}
- {{else docking_status == "undocked"}}
- {{if door_state == "open"}}
-
OPEN
- {{else door_state == "closed" && door_lock == "locked"}}
-
SECURED
- {{else door_state == "closed" && door_lock == "unlocked"}}
-
UNSECURED
- {{else}}
-
ERROR
- {{/if}}
+ {{else data.docking_status == "docking"}}
+
INITIALIZING...
{{else}}
ERROR
{{/if}}
@@ -75,21 +25,18 @@
- {{if docking_status == "docked"}}
- {{:~link('Force exterior door', 'alert', {'command' : 'force_door'}, override_enabled ? null : 'disabled', null)}}
- {{:~link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : null)}}
+ {{if data.armed}}
+ {{if data.docking_status == "docked"}}
+ {{:helper.link('Force exterior door', 'alert', {'command' : 'force_door'}, override_enabled ? null : 'disabled', null)}}
+ {{:helper.link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : null)}}
+ {{else}}
+ {{:helper.link('Force exterior door', 'alert', {'command' : 'force_door'}, override_enabled ? null : 'disabled', override_enabled? 'redBackground' : null)}}
+ {{:helper.link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : 'yellowBackground')}}
+ {{/if}}
{{else}}
- {{:~link('Force exterior door', 'alert', {'command' : 'force_door'}, override_enabled ? null : 'disabled', override_enabled? 'redBackground' : null)}}
- {{:~link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : 'yellowBackground')}}
+ {{:helper.link('Force exterior door', 'alert', {'command' : 'force_door'}, 'disabled', null)}}
+ {{:helper.link('Override', 'alert', {'command' : 'toggle_override'}, 'disabled', null)}}
{{/if}}
-
-
-
-
- {{:~link('ARM', 'alert', {'command' : 'manual_arm'}, is_armed ? 'disabled' : null, is_armed ? 'redBackground' : 'yellowBackground')}}
- {{:~link('MANUAL EJECT', 'alert', {'command' : 'force_launch'}, can_force ? null : 'disabled', can_force ? 'yellowBackground' : null)}}
-
-
-
+
\ No newline at end of file
diff --git a/nano/templates/escape_shuttle_control_console.tmpl b/nano/templates/escape_shuttle_control_console.tmpl
index ad2d682ade9..b779ce5a10f 100644
--- a/nano/templates/escape_shuttle_control_console.tmpl
+++ b/nano/templates/escape_shuttle_control_console.tmpl
@@ -1,7 +1,7 @@
Shuttle Status
- {{:shuttle_status}}
+ {{:data.shuttle_status}}
@@ -10,11 +10,11 @@
Bluespace Drive:
- {{if shuttle_state == "idle"}}
+ {{if data.shuttle_state == "idle"}}
IDLE
- {{else shuttle_state == "warmup"}}
+ {{else data.shuttle_state == "warmup"}}
SPINNING UP
- {{else shuttle_state == "in_transit"}}
+ {{else data.shuttle_state == "in_transit"}}
ENGAGED
{{else}}
ERROR
@@ -22,28 +22,28 @@
-{{if has_docking}}
+{{if data.has_docking}}
Docking Status:
- {{if docking_status == "docked"}}
+ {{if data.docking_status == "docked"}}
DOCKED
- {{else docking_status == "docking"}}
- {{if !docking_override}}
+ {{else data.docking_status == "docking"}}
+ {{if !data.docking_override}}
DOCKING
{{else}}
DOCKING-MANUAL
{{/if}}
- {{else docking_status == "undocking"}}
- {{if !docking_override}}
+ {{else data.docking_status == "undocking"}}
+ {{if !data.docking_override}}
UNDOCKING
{{else}}
UNDOCKING-MANUAL
{{/if}}
- {{else docking_status == "undocked"}}
+ {{else data.docking_status == "undocked"}}
UNDOCKED
{{else}}
ERROR
@@ -55,7 +55,7 @@
Shuttle Authorization
- {{if has_auth}}
+ {{if data.has_auth}}
Access Granted. Shuttle controls unlocked.
{{else}}
Additional authorization required.
@@ -63,8 +63,8 @@
- {{for auth_list}}
- {{:~link(auth_name, 'eject', {'auth' : auth_hash}, null, 'itemContentWide')}}
+ {{for data.auth_list}}
+ {{:helper.link(auth_name, 'eject', {'auth' : auth_hash}, null, 'itemContentWide')}}
{{/for}}
@@ -72,9 +72,9 @@
- {{:~link('Launch Shuttle', 'arrowthickstop-1-e', {'move' : '1'}, can_launch? null : 'disabled' , null)}}
- {{:~link('Cancel Launch', 'cancel', {'cancel' : '1'}, can_cancel? null : 'disabled' , null)}}
- {{:~link('Force Launch', 'alert', {'force' : '1'}, can_force? null : 'disabled' , can_force? 'redBackground' : null)}}
+ {{:helper.link('Launch Shuttle', 'arrowthickstop-1-e', {'move' : '1'}, can_launch? null : 'disabled' , null)}}
+ {{:helper.link('Cancel Launch', 'cancel', {'cancel' : '1'}, can_cancel? null : 'disabled' , null)}}
+ {{:helper.link('Force Launch', 'alert', {'force' : '1'}, can_force? null : 'disabled' , can_force? 'redBackground' : null)}}
\ No newline at end of file
diff --git a/nano/templates/freezer.tmpl b/nano/templates/freezer.tmpl
index 9e1c13edaee..27cdc632145 100644
--- a/nano/templates/freezer.tmpl
+++ b/nano/templates/freezer.tmpl
@@ -3,7 +3,7 @@
Status:
- {{:~link('On', 'power', {'toggleStatus' : 1}, on ? 'selected' : null)}}{{:~link('Off', 'close', {'toggleStatus' : 1}, on ? null : 'selected')}}
+ {{:helper.link('On', 'power', {'toggleStatus' : 1}, on ? 'selected' : null)}}{{:helper.link('Off', 'close', {'toggleStatus' : 1}, on ? null : 'selected')}}
@@ -12,7 +12,7 @@
Gas Pressure:
- {{:gasPressure}} kPa
+ {{:data.gasPressure}} kPa
@@ -22,9 +22,9 @@
Current:
- {{:~displayBar(gasTemperature, minGasTemperature, maxGasTemperature, gasTemperatureClass)}}
+ {{:helper.displayBar(gasTemperature, minGasTemperature, maxGasTemperature, gasTemperatureClass)}}
- {{:gasTemperature}} K
+ {{:data.gasTemperature}} K
@@ -34,15 +34,15 @@
Target:
- {{:~displayBar(targetGasTemperature, minGasTemperature, maxGasTemperature)}}
+ {{:helper.displayBar(targetGasTemperature, minGasTemperature, maxGasTemperature)}}
- {{:~link('-', null, {'temp' : -100}, (targetGasTemperature > minGasTemperature) ? null : 'disabled')}}
- {{:~link('-', null, {'temp' : -10}, (targetGasTemperature > minGasTemperature) ? null : 'disabled')}}
- {{:~link('-', null, {'temp' : -1}, (targetGasTemperature > minGasTemperature) ? null : 'disabled')}}
-
{{:targetGasTemperature}} K
- {{:~link('+', null, {'temp' : 1}, (targetGasTemperature < maxGasTemperature) ? null : 'disabled')}}
- {{:~link('+', null, {'temp' : 10}, (targetGasTemperature < maxGasTemperature) ? null : 'disabled')}}
- {{:~link('+', null, {'temp' : 100}, (targetGasTemperature < maxGasTemperature) ? null : 'disabled')}}
+ {{:helper.link('-', null, {'temp' : -100}, (targetGasTemperature > minGasTemperature) ? null : 'disabled')}}
+ {{:helper.link('-', null, {'temp' : -10}, (targetGasTemperature > minGasTemperature) ? null : 'disabled')}}
+ {{:helper.link('-', null, {'temp' : -1}, (targetGasTemperature > minGasTemperature) ? null : 'disabled')}}
+
{{:data.targetGasTemperature}} K
+ {{:helper.link('+', null, {'temp' : 1}, (targetGasTemperature < maxGasTemperature) ? null : 'disabled')}}
+ {{:helper.link('+', null, {'temp' : 10}, (targetGasTemperature < maxGasTemperature) ? null : 'disabled')}}
+ {{:helper.link('+', null, {'temp' : 100}, (targetGasTemperature < maxGasTemperature) ? null : 'disabled')}}
diff --git a/nano/templates/geoscanner.tmpl b/nano/templates/geoscanner.tmpl
index d3205e2ebe7..2a73f2847da 100644
--- a/nano/templates/geoscanner.tmpl
+++ b/nano/templates/geoscanner.tmpl
@@ -6,10 +6,10 @@ Used In File(s): \code\modules\research\xenoarchaeology\machinery\geosample_scan
Machine Status
- {{:~link(scanning ? 'Halt Scan' : 'Begin Scan', 'signal-diag', {'scanItem' : 1}, null)}}
+ {{:helper.link(scanning ? 'Halt Scan' : 'Begin Scan', 'signal-diag', {'scanItem' : 1}, null)}}
- {{:~link('Eject item', 'eject', {'ejectItem' : 1}, (scanned_item && !scanning) ? null : 'disabled')}}
+ {{:helper.link('Eject item', 'eject', {'ejectItem' : 1}, (scanned_item && !scanning) ? null : 'disabled')}}
@@ -17,8 +17,8 @@ Used In File(s): \code\modules\research\xenoarchaeology\machinery\geosample_scan
Item:
- {{if scanned_item}}
-
{{:scanned_item}}
+ {{if data.scanned_item}}
+
{{:data.scanned_item}}
{{else}}
No item inserted
{{/if}}
@@ -27,8 +27,8 @@ Used In File(s): \code\modules\research\xenoarchaeology\machinery\geosample_scan
Heuristic analysis:
- {{if scanned_item_desc}}
- {{:scanned_item_desc}}
+ {{if data.scanned_item_desc}}
+ {{:data.scanned_item_desc}}
{{/if}}
@@ -38,11 +38,11 @@ Used In File(s): \code\modules\research\xenoarchaeology\machinery\geosample_scan
Scan progress:
- {{:~displayBar(scan_progress, 0, 100, 'good')}}
- {{:scan_progress}} %
+ {{:helper.displayBar(scan_progress, 0, 100, 'good')}}
+ {{:data.scan_progress}} %
- {{if scan_progress >= 100}}
+ {{if data.scan_progress >= 100}}
Scan completed successfully.
{{/if}}
@@ -50,11 +50,11 @@ Used In File(s): \code\modules\research\xenoarchaeology\machinery\geosample_scan
Vacuum seal integrity:
- {{:~displayBar(scanner_seal_integrity, 0, 100, (scanner_seal_integrity < 66 ? (scanner_seal_integrity < 33 ? 'bad' : 'average') : 'good'))}}
- {{:scanner_seal_integrity}} %
+ {{:helper.displayBar(scanner_seal_integrity, 0, 100, (scanner_seal_integrity < 66 ? (scanner_seal_integrity < 33 ? 'bad' : 'average') : 'good'))}}
+ {{:data.scanner_seal_integrity}} %
- {{if scanner_seal_integrity < 25}}
+ {{if data.scanner_seal_integrity < 25}}
Warning! Vacuum seal breach will result in scan failure!
{{/if}}
@@ -64,11 +64,11 @@ Used In File(s): \code\modules\research\xenoarchaeology\machinery\geosample_scan
MASER Efficiency:
- {{:~displayBar(maser_efficiency, 1, 100, (maser_efficiency < 66 ? (maser_efficiency < 33 ? 'bad' : 'average') : 'good'))}}
- {{:maser_efficiency}} %
+ {{:helper.displayBar(maser_efficiency, 1, 100, (maser_efficiency < 66 ? (maser_efficiency < 33 ? 'bad' : 'average') : 'good'))}}
+ {{:data.maser_efficiency}} %
- {{if maser_efficiency < 50}}
+ {{if data.maser_efficiency < 50}}
Match wavelengths to progress the scan.
{{/if}}
@@ -76,25 +76,25 @@ Used In File(s): \code\modules\research\xenoarchaeology\machinery\geosample_scan
Optimal Wavelength:
- {{:~displayBar(optimal_wavelength, 1, 10000, 'good')}}
- {{:optimal_wavelength}} MHz
+ {{:helper.displayBar(optimal_wavelength, 1, 10000, 'good')}}
+ {{:data.optimal_wavelength}} MHz
Current Wavelength:
- {{:~displayBar(maser_wavelength, 1, 10000, 'good')}}
- {{:maser_wavelength}} MHz
+ {{:helper.displayBar(maser_wavelength, 1, 10000, 'good')}}
+ {{:data.maser_wavelength}} MHz
- {{:~link('-2 KHz', null, {'maserWavelength' : -2}, null)}}
- {{:~link('-1 KHz', null, {'maserWavelength' : -1}, null)}}
- {{:~link('-0.5 KHz', null, {'maserWavelength' : -0.5}, null)}}
+ {{:helper.link('-2 KHz', null, {'maserWavelength' : -2}, null)}}
+ {{:helper.link('-1 KHz', null, {'maserWavelength' : -1}, null)}}
+ {{:helper.link('-0.5 KHz', null, {'maserWavelength' : -0.5}, null)}}
- {{:~link('+0.5 KHz', null, {'maserWavelength' : 0.5}, null)}}
- {{:~link('+1 KHz', null, {'maserWavelength' : 1}, null)}}
- {{:~link('+2 KHz', null, {'maserWavelength' : 2}, null)}}
+ {{:helper.link('+0.5 KHz', null, {'maserWavelength' : 0.5}, null)}}
+ {{:helper.link('+1 KHz', null, {'maserWavelength' : 1}, null)}}
+ {{:helper.link('+2 KHz', null, {'maserWavelength' : 2}, null)}}
@@ -102,18 +102,18 @@ Used In File(s): \code\modules\research\xenoarchaeology\machinery\geosample_scan
Centrifuge speed:
- {{:~displayBar(scanner_rpm, 0, 1000, 'good')}}
- {{:scanner_rpm}} RPM
+ {{:helper.displayBar(scanner_rpm, 0, 1000, 'good')}}
+ {{:data.scanner_rpm}} RPM
Internal temperature:
- {{:~displayBar(scanner_temperature, 0, 1273, (scanner_temperature > 250 ? (scanner_temperature > 1000 ? 'bad' : 'average') : 'good')))}}
- {{:scanner_temperature}} K
+ {{:helper.displayBar(scanner_temperature, 0, 1273, (scanner_temperature > 250 ? (scanner_temperature > 1000 ? 'bad' : 'average') : 'good')))}}
+ {{:data.scanner_temperature}} K
- {{if scanner_temperature > 1000}}
+ {{if data.scanner_temperature > 1000}}
Warning! Exceeding 1200K will result in scan failure!
{{/if}}
@@ -123,12 +123,12 @@ Used In File(s): \code\modules\research\xenoarchaeology\machinery\geosample_scan
Ambient radiation:
- {{:~displayBar(radiation, 0, 100, (radiation > 15 ? (radiation > 65 ? 'bad' : 'average') : 'good'))}}
- {{:radiation}} mSv
+ {{:helper.displayBar(radiation, 0, 100, (radiation > 15 ? (radiation > 65 ? 'bad' : 'average') : 'good'))}}
+ {{:data.radiation}} mSv
- {{:~link(rad_shield_on ? 'Disable Radiation Shielding' : 'Enable Radiation Shielding', 'radiation', {'toggle_rad_shield' : 1}, null)}}
- {{if rad_shield_on}}
+ {{:helper.link(rad_shield_on ? 'Disable Radiation Shielding' : 'Enable Radiation Shielding', 'radiation', {'toggle_rad_shield' : 1}, null)}}
+ {{if data.rad_shield_on}}
Shield blocking scanner.
{{/if}}
@@ -138,11 +138,11 @@ Used In File(s): \code\modules\research\xenoarchaeology\machinery\geosample_scan
Coolant remaining:
- {{:~displayBar(unused_coolant_per, 0, 100, (unused_coolant_per < 66 ? (unused_coolant_per < 33 ? 'bad' : 'average') : 'good'))}}
- {{:unused_coolant_abs}} u
+ {{:helper.displayBar(unused_coolant_per, 0, 100, (unused_coolant_per < 66 ? (unused_coolant_per < 33 ? 'bad' : 'average') : 'good'))}}
+ {{:data.unused_coolant_abs}} u
- {{if unused_coolant_per < 20}}
+ {{if data.unused_coolant_per < 20}}
Warning! Coolant stocks low!
{{/if}}
@@ -150,28 +150,28 @@ Used In File(s): \code\modules\research\xenoarchaeology\machinery\geosample_scan
Coolant flow rate:
- {{:~displayBar(coolant_usage_rate, 0, 10, 'good')}}
- {{:coolant_usage_rate}} u/s
+ {{:helper.displayBar(coolant_usage_rate, 0, 10, 'good')}}
+ {{:data.coolant_usage_rate}} u/s
- {{:~link('Min u/s', null, {'coolantRate' : -10}, null)}}
- {{:~link('-3 u/s', null, {'coolantRate' : -3}, null)}}
- {{:~link('-1 u/s', null, {'coolantRate' : -1}, null)}}
+ {{:helper.link('Min u/s', null, {'coolantRate' : -10}, null)}}
+ {{:helper.link('-3 u/s', null, {'coolantRate' : -3}, null)}}
+ {{:helper.link('-1 u/s', null, {'coolantRate' : -1}, null)}}
- {{:~link('+1 u/s', null, {'coolantRate' : 1}, null)}}
- {{:~link('+3 u/s', null, {'coolantRate' : 3}, null)}}
- {{:~link('Max u/s', null, {'coolantRate' : 10}, null)}}
+ {{:helper.link('+1 u/s', null, {'coolantRate' : 1}, null)}}
+ {{:helper.link('+3 u/s', null, {'coolantRate' : 3}, null)}}
+ {{:helper.link('Max u/s', null, {'coolantRate' : 10}, null)}}
Coolant purity:
- {{:~displayBar(coolant_purity, 0, 100, (coolant_purity < 66 ? (coolant_purity < 33 ? 'bad' : 'average') : 'good'))}}
- {{:coolant_purity}} %
+ {{:helper.displayBar(coolant_purity, 0, 100, (coolant_purity < 66 ? (coolant_purity < 33 ? 'bad' : 'average') : 'good'))}}
+ {{:data.coolant_purity}} %
- {{if coolant_purity < 0.5}}
+ {{if data.coolant_purity < 0.5}}
Warning! Check coolant for contaminants!
{{/if}}
@@ -180,6 +180,6 @@ Used In File(s): \code\modules\research\xenoarchaeology\machinery\geosample_scan
Latest Results
- {{:last_scan_data}}
+ {{:data.last_scan_data}}
diff --git a/nano/templates/identification_computer.tmpl b/nano/templates/identification_computer.tmpl
index 3ad4cffeaff..ed6e6d125be 100644
--- a/nano/templates/identification_computer.tmpl
+++ b/nano/templates/identification_computer.tmpl
@@ -1,4 +1,4 @@
-{{if printing}}
+{{if data.printing}}
The computer is currently busy.
Printing...
@@ -7,23 +7,23 @@
Thank you for your patience!
{{else}}
- {{:~link('Access Modification', 'home', {'choice' : 'mode', 'mode_target' : 0}, !mode ? 'disabled' : null)}}
- {{:~link('Crew Manifest', 'folder-open', {'choice' : 'mode', 'mode_target' : 1}, mode ? 'disabled' : null)}}
- {{:~link('Print', 'print', {'choice' : 'print'}, (mode || has_modify) ? null : 'disabled')}}
+ {{:helper.link('Access Modification', 'home', {'choice' : 'mode', 'mode_target' : 0}, !mode ? 'disabled' : null)}}
+ {{:helper.link('Crew Manifest', 'folder-open', {'choice' : 'mode', 'mode_target' : 1}, mode ? 'disabled' : null)}}
+ {{:helper.link('Print', 'print', {'choice' : 'print'}, (mode || has_modify) ? null : 'disabled')}}
- {{if mode}}
+ {{if data.mode}}
Crew Manifest
- {{:manifest}}
+ {{:data.manifest}}
{{else}}
Access Modification
- {{if !authenticated}}
+ {{if !data.authenticated}}
Please insert the IDs into the terminal to proceed.
{{/if}}
@@ -32,7 +32,7 @@
Target Identity:
- {{:~link(target_name, 'eject', {'choice' : 'modify'})}}
+ {{:helper.link(target_name, 'eject', {'choice' : 'modify'})}}
@@ -40,12 +40,12 @@
Authorized Identity:
- {{:~link(scan_name, 'eject', {'choice' : 'scan'})}}
+ {{:helper.link(scan_name, 'eject', {'choice' : 'scan'})}}
- {{if authenticated}}
+ {{if data.authenticated}}
- {{if has_modify}}
+ {{if data.has_modify}}
Details
-
-
- {{:~link('Terminate ' + target_owner, 'gear', {'choice' : 'terminate'}, target_rank == "Terminated" ? 'disabled' : null, target_rank == "Terminated" ? 'disabled' : 'linkDanger')}}
+ {{:helper.link('Terminate ' + target_owner, 'gear', {'choice' : 'terminate'}, target_rank == "Terminated" ? 'disabled' : null, target_rank == "Terminated" ? 'disabled' : 'linkDanger')}}
@@ -125,7 +125,7 @@
@@ -137,74 +137,63 @@
| Special |
- {{:~link("Captain", '', {'choice' : 'assign', 'assign_target' : 'Captain'}, target_rank == 'Captain' ? 'disabled' : null)}}
- {{:~link("Custom", '', {'choice' : 'assign', 'assign_target' : 'Custom'})}}
+ {{:helper.link("Captain", '', {'choice' : 'assign', 'assign_target' : 'Captain'}, target_rank == 'Captain' ? 'disabled' : null)}}
+ {{:helper.link("Custom", '', {'choice' : 'assign', 'assign_target' : 'Custom'})}}
|
| Engineering |
- {{for engineering_jobs}}
- {{:~link(display_name, '', {'choice' : 'assign', 'assign_target' : job}, target_rank == job ? 'disabled' : null)}}
+ {{for data.engineering_jobs}}
+ {{:helper.link(display_name, '', {'choice' : 'assign', 'assign_target' : job}, target_rank == job ? 'disabled' : null)}}
{{/for}}
|
| Medical |
- {{for medical_jobs}}
- {{:~link(display_name, '', {'choice' : 'assign', 'assign_target' : job}, target_rank == job ? 'disabled' : null)}}
+ {{for data.medical_jobs}}
+ {{:helper.link(display_name, '', {'choice' : 'assign', 'assign_target' : job}, target_rank == job ? 'disabled' : null)}}
{{/for}}
|
| Science |
- {{for science_jobs}}
- {{:~link(display_name, '', {'choice' : 'assign', 'assign_target' : job}, target_rank == job ? 'disabled' : null)}}
+ {{for data.science_jobs}}
+ {{:helper.link(display_name, '', {'choice' : 'assign', 'assign_target' : job}, target_rank == job ? 'disabled' : null)}}
{{/for}}
|
| Security |
- {{for security_jobs}}
- {{:~link(display_name, '', {'choice' : 'assign', 'assign_target' : job}, target_rank == job ? 'disabled' : null)}}
+ {{for data.security_jobs}}
+ {{:helper.link(display_name, '', {'choice' : 'assign', 'assign_target' : job}, target_rank == job ? 'disabled' : null)}}
{{/for}}
|
- | Support |
+ Civilian |
- {{for support_jobs}}
- {{if #index && #index % 6 === 0}}
+ {{for data.civilian_jobs}}
+ {{if data.#index && #index % 6 === 0}}
|
|
{{/if}}
- {{:~link(display_name, '', {'choice' : 'assign', 'assign_target' : job}, target_rank == job ? 'disabled' : null)}}
+ {{:helper.link(display_name, '', {'choice' : 'assign', 'assign_target' : job}, target_rank == job ? 'disabled' : null)}}
{{/for}}
|
-
- | Special |
-
- {{for special_jobs}}
- {{if #index && #index % 6 === 0}}
- |
|
- {{/if}}
- {{:~link(display_name, '', {'choice' : 'assign', 'assign_target' : job}, target_rank == job ? 'disabled' : null)}}
- {{/for}}
- |
-
- {{if centcom_access}}
+ {{if data.centcom_access}}
| CentCom |
- {{for centcom_jobs}}
- {{if #index % 6 === 0}}
+ {{for data.centcom_jobs}}
+ {{if data.#index % 6 === 0}}
|
|
{{/if}}
- {{:~link(display_name, '', {'choice' : 'assign', 'assign_target' : job}, target_rank == job ? 'disabled' : null)}}
+ {{:helper.link(display_name, '', {'choice' : 'assign', 'assign_target' : job}, target_rank == job ? 'disabled' : null)}}
{{/for}}
|
@@ -213,28 +202,28 @@
- {{if centcom_access}}
+ {{if data.centcom_access}}
Central Command
- {{for all_centcom_access}}
+ {{for data.all_centcom_access}}
- {{:~link(desc, '', {'choice' : 'access', 'access_target' : ref, 'allowed' : allowed}, null, allowed ? 'selected' : null)}}
+ {{:helper.link(desc, '', {'choice' : 'access', 'access_target' : ref, 'allowed' : allowed}, null, allowed ? 'selected' : null)}}
{{/for}}
{{else}}
-
{{:station_name}}
+ {{:data.station_name}}
- {{for regions}}
+ {{for data.regions}}
-
{{:name}}
- {{for accesses}}
+
{{:data.name}}
+ {{for data.accesses}}
- {{:~link(desc, '', {'choice' : 'access', 'access_target' : ref, 'allowed' : allowed}, null, allowed ? 'selected' : null)}}
+ {{:helper.link(desc, '', {'choice' : 'access', 'access_target' : ref, 'allowed' : allowed}, null, allowed ? 'selected' : null)}}
{{/for}}
diff --git a/nano/templates/isolation_centrifuge.tmpl b/nano/templates/isolation_centrifuge.tmpl
index 1c201ff9f5b..1dcde36d315 100644
--- a/nano/templates/isolation_centrifuge.tmpl
+++ b/nano/templates/isolation_centrifuge.tmpl
@@ -1,45 +1,45 @@
- {{:~link('Close', 'gear', {'close' : 1}, null, 'fixedLeft')}}
- {{:~link('Print', 'print', { 'print' : 1 }, antibodies || pathogens ? null : 'disabled', 'fixedLeft')}}
+ {{:helper.link('Close', 'gear', {'close' : 1}, null, 'fixedLeft')}}
+ {{:helper.link('Print', 'print', { 'print' : 1 }, antibodies || pathogens ? null : 'disabled', 'fixedLeft')}}
-{{if busy}}
+{{if data.busy}}
The Centrifuge is currently busy.
-
{{:busy}}
+ {{:data.busy}}
Thank you for your patience!
{{else}}
-
{{:is_antibody_sample ? 'Antibody Sample' : 'Blood Sample'}}
+ {{:data.is_antibody_sample ? 'Antibody Sample' : 'Blood Sample'}}
- {{:~link('Eject Vial', 'eject', { 'action' : 'sample' }, sample_inserted ? null : 'disabled')}}
+ {{:helper.link('Eject Vial', 'eject', { 'action' : 'sample' }, sample_inserted ? null : 'disabled')}}
- {{if sample_inserted}}
- {{if antibodies || pathogens}}
+ {{if data.sample_inserted}}
+ {{if data.antibodies || pathogens}}
- {{if antibodies}}
+ {{if data.antibodies}}
Antibodies:
- {{:antibodies}}
+ {{:data.antibodies}}
{{/if}}
- {{if pathogens}}
+ {{if data.pathogens}}
Pathogens:
- {{for pathogens}}
+ {{for data.pathogens}}
- {{:name}} ({{:spread_type}})
+ {{:data.name}} ({{:data.spread_type}})
{{/for}}
@@ -56,24 +56,24 @@
No vial detected.
{{/if}}
- {{if antibodies && !is_antibody_sample}}
+ {{if data.antibodies && !is_antibody_sample}}
Isolate Antibodies:
- {{:~link(antibodies, 'pencil', { 'action' : 'antibody' })}}
+ {{:helper.link(antibodies, 'pencil', { 'action' : 'antibody' })}}
{{/if}}
- {{if pathogens}}
+ {{if data.pathogens}}
Isolate Strain:
- {{for pathogens}}
- {{:~link(name, 'pencil', { 'isolate' : reference })}}
+ {{for data.pathogens}}
+ {{:helper.link(name, 'pencil', { 'isolate' : reference })}}
{{/for}}
diff --git a/nano/templates/multi_docking_console.tmpl b/nano/templates/multi_docking_console.tmpl
index 82cca2971b8..98daca0c522 100644
--- a/nano/templates/multi_docking_console.tmpl
+++ b/nano/templates/multi_docking_console.tmpl
@@ -4,13 +4,13 @@
Docking Port Status:
- {{if docking_status == "docked"}}
+ {{if data.docking_status == "docked"}}
DOCKED
- {{else docking_status == "docking"}}
+ {{else data.docking_status == "docking"}}
DOCKING
- {{else docking_status == "undocking"}}
+ {{else data.docking_status == "undocking"}}
UNDOCKING
- {{else docking_status == "undocked"}}
+ {{else data.docking_status == "undocked"}}
NOT IN USE
{{else}}
ERROR
@@ -19,14 +19,14 @@
-{{for airlocks}}
+{{for data.airlocks}}
- {{:name}}
+ {{:data.name}}
- {{if override_enabled}}
+ {{if data.override_enabled}}
OVERRIDE ENABLED
{{else}}
STATUS OK
diff --git a/nano/templates/omni_filter.tmpl b/nano/templates/omni_filter.tmpl
new file mode 100644
index 00000000000..92dbfd054ed
--- /dev/null
+++ b/nano/templates/omni_filter.tmpl
@@ -0,0 +1,82 @@
+
+
+ {{:helper.link(power ? 'On' : 'Off', null, {'command' : 'power'}, null, power ? 'selected' : 'redBackground')}}
+
+
+ {{:helper.link('Configure', null, {'command' : 'configure'}, null, config ? 'selected' : null)}}
+
+
+ {{if data.config}}
+
+
+
+
Port
+ {{for data.ports}}
+
{{:data.dir}} Port
+ {{/for}}
+
+
+
Input
+ {{for data.ports}}
+
+ {{:helper.link(' ', null, {'command' : 'switch_mode', 'mode' : 'in', 'dir' : dir}, null, input ? 'selected' : null)}}
+
+ {{/for}}
+
+
+
Output
+ {{for data.ports}}
+
+ {{:helper.link(' ', null, {'command' : 'switch_mode', 'mode' : 'out', 'dir' : dir}, null, output ? 'selected' : null)}}
+
+ {{/for}}
+
+
+
Filter
+ {{for data.ports}}
+
+ {{:helper.link(f_type ? f_type : 'None', null, {'command' : 'switch_filter', 'mode' : f_type, 'dir' : dir}, filter ? null : 'disabled', f_type ? 'selected' : null)}}
+
+ {{/for}}
+
+
+
+
+ Target Output Pressure: {{:helper.round(pressure)}} kPa
+
+
+ {{:helper.link('Set Target Pressure', null, {'command' : 'set_pressure'})}}
+
+
+ {{else}}
+
+
+
+
Port
+ {{for data.ports}}
+
{{:data.dir}} Port
+ {{/for}}
+
+
+
Mode
+ {{for data.ports}}
+
+ {{if data.input}}
+ Input
+ {{else data.output}}
+ Output
+ {{else data.f_type}}
+ {{:data.f_type}}
+ {{else}}
+ Disabled
+ {{/if}}
+
+ {{/for}}
+
+
+
+
+ Target Output Pressure: {{:helper.round(pressure)}} kPa
+
+ {{/if}}
+
\ No newline at end of file
diff --git a/nano/templates/omni_mixer.tmpl b/nano/templates/omni_mixer.tmpl
new file mode 100644
index 00000000000..ed128e0d8db
--- /dev/null
+++ b/nano/templates/omni_mixer.tmpl
@@ -0,0 +1,100 @@
+
+
+ {{:helper.link(power ? 'On' : 'Off', null, {'command' : 'power'}, null, power ? 'selected' : 'redBackground')}}
+
+
+ {{:helper.link('Configure', null, {'command' : 'configure'}, null, config ? 'selected' : null)}}
+
+
+ {{if data.config}}
+
+
+
+
Port
+ {{for data.ports}}
+
{{:data.dir}} Port
+ {{/for}}
+
+
+
Input
+ {{for data.ports}}
+
+ {{:helper.link(' ', null, input ? {'command' : 'switch_mode', 'mode' : 'none', 'dir' : dir} : {'command' : 'switch_mode', 'mode' : 'in', 'dir' : dir}, output ? 'disabled' : null, input ? 'selected' : null)}}
+
+ {{/for}}
+
+
+
Output
+ {{for data.ports}}
+
+ {{:helper.link(' ', null, output ? null : {'command' : 'switch_mode', 'mode' : 'out', 'dir' : dir}, null, output ? 'selected' : null)}}
+
+ {{/for}}
+
+
+
Concentration
+ {{for data.ports}}
+
+ {{:helper.link( input ? ~round(concentration*100)+' %' : '-', null, {'command' : 'switch_con', 'dir' : dir}, input ? null : 'disabled')}}
+
+ {{/for}}
+
+
+
Lock
+ {{for data.ports}}
+
+ {{:helper.link(' ', con_lock ? 'locked' : 'unlocked', {'command' : 'switch_conlock', 'dir' : dir}, input ? null : 'disabled', con_lock ? 'selected' : null)}}
+
+ {{/for}}
+
+
+
+
+ Target Output Pressure: {{:helper.round(pressure)}} kPa
+
+
+ {{:helper.link('Set Target Pressure', null, {'command' : 'set_pressure'})}}
+
+
+ {{else}}
+
+
+
+
Port
+ {{for data.ports}}
+
{{:data.dir}} Port
+ {{/for}}
+
+
+
Mode
+ {{for data.ports}}
+
+ {{if data.input}}
+ Input
+ {{else data.output}}
+ Output
+ {{else}}
+ Disabled
+ {{/if}}
+
+ {{/for}}
+
+
+
Concentration
+ {{for data.ports}}
+
+ {{if data.input}}
+ {{:helper.round(concentration*100)}} %
+ {{else}}
+ -
+ {{/if}}
+
+ {{/for}}
+
+
+
+
+ Target Output Pressure: {{:helper.round(pressure)}} kPa
+
+ {{/if}}
+
\ No newline at end of file
diff --git a/nano/templates/pathogenic_isolator.tmpl b/nano/templates/pathogenic_isolator.tmpl
index ad88151c3b7..c48bcce1663 100644
--- a/nano/templates/pathogenic_isolator.tmpl
+++ b/nano/templates/pathogenic_isolator.tmpl
@@ -2,17 +2,17 @@
Menu
- {{if !isolating}}
- {{:~link('Home', 'home', {'home' : 1}, state == 'home' ? 'disabled' : null, 'fixedLeft')}}
- {{:~link('List', 'note', {'list' : 1}, state == 'list' ? 'disabled' : null, 'fixedLeft')}}
- {{:~link('Pathogen', 'folder-open', {'entry' : 1}, state == 'entry' ? 'disabled' : null, 'fixedLeft')}}
+ {{if !data.isolating}}
+ {{:helper.link('Home', 'home', {'home' : 1}, state == 'home' ? 'disabled' : null, 'fixedLeft')}}
+ {{:helper.link('List', 'note', {'list' : 1}, state == 'list' ? 'disabled' : null, 'fixedLeft')}}
+ {{:helper.link('Pathogen', 'folder-open', {'entry' : 1}, state == 'entry' ? 'disabled' : null, 'fixedLeft')}}
{{/if}}
- {{:~link('Close', 'gear', {'close' : 1}, null, 'fixedLeft')}}
- {{:~link('Print', 'print', { 'print' : 1 }, can_print ? null : 'disabled', 'fixedLeft')}}
+ {{:helper.link('Close', 'gear', {'close' : 1}, null, 'fixedLeft')}}
+ {{:helper.link('Print', 'print', { 'print' : 1 }, can_print ? null : 'disabled', 'fixedLeft')}}
-{{if isolating}}
+{{if data.isolating}}
The Isolator is currently busy.
Isolating pathogens...
@@ -21,22 +21,22 @@
Thank you for your patience!
{{else}}
- {{if state =="home"}}
+ {{if data.state =="home"}}
Blood Sample
- {{:~link('Eject Syringe', 'eject', { 'eject' : 1 }, syringe_inserted ? null : 'disabled')}}
+ {{:helper.link('Eject Syringe', 'eject', { 'eject' : 1 }, syringe_inserted ? null : 'disabled')}}
- {{if syringe_inserted}}
+ {{if data.syringe_inserted}}
Pathogens:
- {{if pathogen_pool}}
- {{for pathogen_pool}}
+ {{if data.pathogen_pool}}
+ {{for data.pathogen_pool}}
- {{:#index + 1}}. #{{:unique_id}} {{:is_in_database ? "(Analysed)" : ""}}
- {{:name}}: {{:dna}}
+ {{:data.#index + 1}}. #{{:data.unique_id}} {{:data.is_in_database ? "(Analysed)" : ""}}
+ {{:data.name}}: {{:data.dna}}
{{/for}}
{{else}}
@@ -48,14 +48,14 @@
No syringe loaded.
{{/if}}
- {{if pathogen_pool}}
+ {{if data.pathogen_pool}}
Isolate Pathogens:
- {{for pathogen_pool}}
- {{:~link('#' + unique_id, 'pencil', { 'isolate' : reference }, null, 'fixedLeft')}}
+ {{for data.pathogen_pool}}
+ {{:helper.link('#' + unique_id, 'pencil', { 'isolate' : reference }, null, 'fixedLeft')}}
{{/for}}
@@ -64,25 +64,25 @@
Database Lookup:
- {{for pathogen_pool}}
- {{if is_in_database}}
- {{:~link('#' + unique_id, 'info', { 'entry' : 1, 'view' : record }, null, 'fixedLeft')}}
+ {{for data.pathogen_pool}}
+ {{if data.is_in_database}}
+ {{:helper.link('#' + unique_id, 'info', { 'entry' : 1, 'view' : record }, null, 'fixedLeft')}}
{{/if}}
{{/for}}
{{/if}}
{{else}}
- {{if state == "list"}}
+ {{if data.state == "list"}}
View Database
- {{if database}}
- {{for database}}
+ {{if data.database}}
+ {{for data.database}}
-
{{:name}}
- {{:~link('Details', 'circle-arrow-s', { 'entry' : 1, 'view' : record }, null, 'fixedLeft')}}
+
{{:data.name}}
+ {{:helper.link('Details', 'circle-arrow-s', { 'entry' : 1, 'view' : record }, null, 'fixedLeft')}}
{{/for}}
{{else}}
@@ -90,13 +90,13 @@
{{/if}}
{{else}}
- {{if state == "entry"}}
- {{if entry}}
+ {{if data.state == "entry"}}
+ {{if data.entry}}
-
{{:entry.name}}
+ {{:data.entry.name}}
- {{:entry.description}}
+ {{:data.entry.description}}
{{else}}
No virus selected.
diff --git a/nano/templates/pda.tmpl b/nano/templates/pda.tmpl
index f875638dbb6..8b8431a30e9 100644
--- a/nano/templates/pda.tmpl
+++ b/nano/templates/pda.tmpl
@@ -3,16 +3,16 @@
Title: PDA UI
Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
-->
-{{if owner}}
+{{if data.owner}}
Functions:
-
- {{:~link('Close', 'gear', {'choice' : "Close"}, null, 'fixedLeft')}}
- {{if idInserted}} {{:~link('Update PDA Info', 'eject', {'choice' : "UpdateInfo"}, null, 'fixedLeftWide')}} {{/if}}
- {{if mode != 0}} {{:~link('Return', 'arrowreturn-1-w', {'choice' : "Return"}, null, 'fixedLeft')}} {{/if}}
+
+ {{:helper.link('Close', 'gear', {'choice' : "Close"}, null, 'fixedLeft')}}
+ {{if data.idInserted}} {{:helper.link('Update PDA Info', 'eject', {'choice' : "UpdateInfo"}, null, 'fixedLeftWide')}} {{/if}}
+ {{if data.mode != 0}} {{:helper.link('Return', 'arrowreturn-1-w', {'choice' : "Return"}, null, 'fixedLeft')}} {{/if}}
@@ -21,17 +21,17 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
Station Time:
- {{:stationTime}}
+ {{:data.stationTime}}
- {{if mode == 0}}
+ {{if data.mode == 0}}
Owner:
- {{:owner}}, {{:ownjob}}
+ {{:data.owner}}, {{:data.ownjob}}
@@ -40,7 +40,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
ID:
- {{:~link(idLink, 'eject', {'choice' : "Authenticate"}, idInserted ? null : 'disabled', idInserted ? 'fixedLeftWidest' : 'fixedLeft')}}
+ {{:helper.link(idLink, 'eject', {'choice' : "Authenticate"}, idInserted ? null : 'disabled', idInserted ? 'fixedLeftWidest' : 'fixedLeft')}}
@@ -49,10 +49,10 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
Cartridge:
- {{if cart_loaded==1}}
- {{:~link(cartridge.name, 'eject', {'choice' : "Eject"},null,null)}}
+ {{if data.cart_loaded==1}}
+ {{:helper.link(cartridge.name, 'eject', {'choice' : "Eject"},null,null)}}
{{else}}
- {{:~link('None', 'eject', {'choice' : "Eject"},'disabled',null)}}
+ {{:helper.link('None', 'eject', {'choice' : "Eject"},'disabled',null)}}
{{/if}}
@@ -64,68 +64,68 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
General:
- {{:~link('Notekeeper', 'note', {'choice' : "1"}, null, 'fixedLeftWide')}}
- {{:~link('Messenger', newMessage ? 'mail-closed' : 'mail-open', {'choice' : "2"}, null, 'fixedLeftWide')}}
- {{:~link('Crew Manifest', 'contact', {'choice' : "41"}, null, 'fixedLeftWide')}}
+ {{:helper.link('Notekeeper', 'note', {'choice' : "1"}, null, 'fixedLeftWide')}}
+ {{:helper.link('Messenger', newMessage ? 'mail-closed' : 'mail-open', {'choice' : "2"}, null, 'fixedLeftWide')}}
+ {{:helper.link('Crew Manifest', 'contact', {'choice' : "41"}, null, 'fixedLeftWide')}}
- {{if cartridge}}
- {{if cartridge.access.access_clown == 1}}
+ {{if data.cartridge}}
+ {{if data.cartridge.access.access_clown == 1}}
Clown:
- {{:~link('Honk Synthesizer', 'gear', {'choice' : "Honk"}, null, 'fixedLeftWide')}}
+ {{:helper.link('Honk Synthesizer', 'gear', {'choice' : "Honk"}, null, 'fixedLeftWide')}}
{{/if}}
- {{if cartridge.access.access_engine == 1}}
+ {{if data.cartridge.access.access_engine == 1}}
Engineering:
- {{:~link('Power Monitor', 'alert', {'choice' : "43"}, null, 'fixedLeftWide')}}
+ {{:helper.link('Power Monitor', 'alert', {'choice' : "43"}, null, 'fixedLeftWide')}}
{{/if}}
- {{if cartridge.access.access_medical == 1}}
+ {{if data.cartridge.access.access_medical == 1}}
Medical:
- {{:~link('Medical Records', 'gear', {'choice' : "44"}, null, 'fixedLeftWide')}}
- {{:~link(scanmode == 1 ? 'Disable Med Scanner' : 'Enable Med Scanner', 'gear', {'choice' : "Medical Scan"}, null , 'fixedLeftWide')}}
+ {{:helper.link('Medical Records', 'gear', {'choice' : "44"}, null, 'fixedLeftWide')}}
+ {{:helper.link(scanmode == 1 ? 'Disable Med Scanner' : 'Enable Med Scanner', 'gear', {'choice' : "Medical Scan"}, null , 'fixedLeftWide')}}
{{/if}}
- {{if cartridge.access.access_security == 1}}
+ {{if data.cartridge.access.access_security == 1}}
Security:
- {{:~link('Security Records', 'gear', {'choice' : "45"}, null, 'fixedLeftWide')}}
- {{if cartridge.radio ==1}} {{:~link('Security Bot Access', 'gear', {'choice' : "46"}, null, 'fixedLeftWide')}} {{/if}}
+ {{:helper.link('Security Records', 'gear', {'choice' : "45"}, null, 'fixedLeftWide')}}
+ {{if data.cartridge.radio ==1}} {{:helper.link('Security Bot Access', 'gear', {'choice' : "46"}, null, 'fixedLeftWide')}} {{/if}}
{{/if}}
- {{if cartridge.access.access_quartermaster == 1}}
+ {{if data.cartridge.access.access_quartermaster == 1}}
Quartermaster:
- {{:~link('Supply Records', 'gear', {'choice' : "47"}, null, 'fixedLeftWide')}}
- {{if cartridge.radio == 3}} {{:~link('Delivery Bot Control', 'gear', {'choice' : "48"}, null, 'fixedLeftWide')}} {{/if}}
+ {{:helper.link('Supply Records', 'gear', {'choice' : "47"}, null, 'fixedLeftWide')}}
+ {{if data.cartridge.radio == 3}} {{:helper.link('Delivery Bot Control', 'gear', {'choice' : "48"}, null, 'fixedLeftWide')}} {{/if}}
@@ -138,32 +138,32 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
Utilities:
- {{if cartridge}}
- {{if cartridge.access.access_status_display == 1}} {{:~link('Status Display', 'gear', {'choice' : "42"}, null, 'fixedLeftWide')}}{{/if}}
- {{if cartridge.access.access_janitor==1}} {{:~link('Custodial Locator', 'gear', {'choice' : "49"}, null, 'fixedLeftWide')}} {{/if}}
- {{if cartridge.radio == 2}} {{:~link('Signaler System', 'gear', {'choice' : "40"}, null, 'fixedLeftWide')}} {{/if}}
- {{if cartridge.access.access_reagent_scanner==1}} {{:~link(scanmode == 3 ? 'Disable Reagent Scanner' : 'Enable Reagent Scanner', 'gear', {'choice' : "Reagent Scan"}, null, 'fixedLeftWider')}} {{/if}}
- {{if cartridge.access.access_engine==1}} {{:~link(scanmode == 4 ? 'Disable Halogen Counter' : 'Enable Halogen Counter', 'gear', {'choice' : "Halogen Counter"}, null, 'fixedLeftWider')}} {{/if}}
- {{if cartridge.access.access_atmos==1}} {{:~link(scanmode == 5 ? 'Disable Gas Scanner' : 'Enable Gas Scanner', 'gear', {'choice' : "Gas Scan"}, null, 'fixedLeftWide')}} {{/if}}
- {{if cartridge.access.access_remote_door==1}}{{:~link('Toggle Door', 'gear', {'choice' : "Toggle Door"}, null, 'fixedLeftWide')}} {{/if}}
+ {{if data.cartridge}}
+ {{if data.cartridge.access.access_status_display == 1}} {{:helper.link('Status Display', 'gear', {'choice' : "42"}, null, 'fixedLeftWide')}}{{/if}}
+ {{if data.cartridge.access.access_janitor==1}} {{:helper.link('Custodial Locator', 'gear', {'choice' : "49"}, null, 'fixedLeftWide')}} {{/if}}
+ {{if data.cartridge.radio == 2}} {{:helper.link('Signaler System', 'gear', {'choice' : "40"}, null, 'fixedLeftWide')}} {{/if}}
+ {{if data.cartridge.access.access_reagent_scanner==1}} {{:helper.link(scanmode == 3 ? 'Disable Reagent Scanner' : 'Enable Reagent Scanner', 'gear', {'choice' : "Reagent Scan"}, null, 'fixedLeftWider')}} {{/if}}
+ {{if data.cartridge.access.access_engine==1}} {{:helper.link(scanmode == 4 ? 'Disable Halogen Counter' : 'Enable Halogen Counter', 'gear', {'choice' : "Halogen Counter"}, null, 'fixedLeftWider')}} {{/if}}
+ {{if data.cartridge.access.access_atmos==1}} {{:helper.link(scanmode == 5 ? 'Disable Gas Scanner' : 'Enable Gas Scanner', 'gear', {'choice' : "Gas Scan"}, null, 'fixedLeftWide')}} {{/if}}
+ {{if data.cartridge.access.access_remote_door==1}}{{:helper.link('Toggle Door', 'gear', {'choice' : "Toggle Door"}, null, 'fixedLeftWide')}} {{/if}}
{{/if}}
- {{:~link('Atmospheric Scan', 'gear', {'choice' : "3"}, null, 'fixedLeftWide')}}
- {{:~link(fon==1 ? 'Disable Flashlight' : 'Enable Flashlight', 'lightbulb', {'choice' : "Light"}, null,'fixedLeftWide')}}
+ {{:helper.link('Atmospheric Scan', 'gear', {'choice' : "3"}, null, 'fixedLeftWide')}}
+ {{:helper.link(fon==1 ? 'Disable Flashlight' : 'Enable Flashlight', 'lightbulb', {'choice' : "Light"}, null,'fixedLeftWide')}}
- {{if pai}}
+ {{if data.pai}}
PAI Utilities:
- {{:~link('Configuration', 'gear', {'choice' : "pai", 'option' : "1"}, null, 'fixedLeft')}}
- {{:~link('Eject pAI', 'eject', {'choice' : "pai", 'option' : "2"}, null, 'fixedLeft')}}
+ {{:helper.link('Configuration', 'gear', {'choice' : "pai", 'option' : "1"}, null, 'fixedLeft')}}
+ {{:helper.link('Eject pAI', 'eject', {'choice' : "pai", 'option' : "2"}, null, 'fixedLeft')}}
{{/if}}
{{/if}}
- {{if mode == 1}}
+ {{if data.mode == 1}}
Notes:
@@ -172,18 +172,18 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
- {{:note}}
+ {{:data.note}}
- {{:~link('Edit Notes', 'gear', {'choice' : "Edit"}, null, 'fixedLeft')}}
+ {{:helper.link('Edit Notes', 'gear', {'choice' : "Edit"}, null, 'fixedLeft')}}
- {{else mode == 2}}
+ {{else data.mode == 2}}
SpaceMessenger V4.0.1
@@ -191,53 +191,53 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
- {{:~link(silent==1 ? 'Ringer: Off' : 'Ringer: On', silent==1 ? 'volume-off' : 'volume-on', {'choice' : "Toggle Ringer"}, null, 'fixedLeftWide')}}
- {{:~link(toff==1 ? 'Messenger: Off' : 'Messenger: On',toff==1 ? 'close':'check', {'choice' : "Toggle Messenger"}, null, 'fixedLeftWide')}}
- {{:~link('Set Ringtone', 'comment', {'choice' : "Ringtone"}, null, 'fixedLeftWide')}}
- {{:~link('Delete all Conversations', 'trash', {'choice' : "Clear", 'option' : "All"}, null, 'fixedLeftWider')}}
+ {{:helper.link(silent==1 ? 'Ringer: Off' : 'Ringer: On', silent==1 ? 'volume-off' : 'volume-on', {'choice' : "Toggle Ringer"}, null, 'fixedLeftWide')}}
+ {{:helper.link(toff==1 ? 'Messenger: Off' : 'Messenger: On',toff==1 ? 'close':'check', {'choice' : "Toggle Messenger"}, null, 'fixedLeftWide')}}
+ {{:helper.link('Set Ringtone', 'comment', {'choice' : "Ringtone"}, null, 'fixedLeftWide')}}
+ {{:helper.link('Delete all Conversations', 'trash', {'choice' : "Clear", 'option' : "All"}, null, 'fixedLeftWider')}}
- {{if toff == 0}}
+ {{if data.toff == 0}}
- {{if cartridge}}
- {{if cartridge.charges}}
+ {{if data.cartridge}}
+ {{if data.cartridge.charges}}
- {{:cartridge.charges}}
- {{if cartridge.type == "/obj/item/weapon/cartridge/syndicate"}} detonation charges left. {{/if}}
- {{if cartridge.type == "/obj/item/weapon/cartridge/clown" || cartridge.type == "/obj/item/weapon/cartridge/mime"}} viral files left. {{/if}}
+ {{:data.cartridge.charges}}
+ {{if data.cartridge.type == "/obj/item/weapon/cartridge/syndicate"}} detonation charges left. {{/if}}
+ {{if data.cartridge.type == "/obj/item/weapon/cartridge/clown" || cartridge.type == "/obj/item/weapon/cartridge/mime"}} viral files left. {{/if}}
{{/if}}
{{/if}}
- {{if pda_count == 0}}
No other PDAS located
+ {{if data.pda_count == 0}}
No other PDAS located
{{else}}
Current Conversations
- {{for convopdas}}
+ {{for data.convopdas}}
- {{:~link(Name, 'circle-arrow-s', {'choice' : "Select Conversation", 'convo' : Reference } , null, fixedLeftWider)}}
- {{if ~root.cartridge}}
- {{if ~root.cartridge.type == "/obj/item/weapon/cartridge/syndicate" && Detonate == 1}} {{:~link('*Detonate*', 'radiation', {'choice' : "Detonate", 'target' : Reference}, null, 'fixedLeft')}} {{/if}}
- {{if ~root.cartridge.type == "/obj/item/weapon/cartridge/clown"}} {{:~link('*Send Virus*', 'star', {'choice' : "Send Honk", 'target' : Reference}, null, 'fixedLeft')}} {{/if}}
- {{if ~root.cartridge.type == "/obj/item/weapon/cartridge/mime"}} {{:~link('*Send Virus*', 'circle-arrow-s', {'choice' : "Send Silence", 'target' : Reference}, null, 'fixedLeft')}} {{/if}}
+ {{:helper.link(Name, 'circle-arrow-s', {'choice' : "Select Conversation", 'convo' : Reference } , null, fixedLeftWider)}}
+ {{if data.~root.cartridge}}
+ {{if data.~root.cartridge.type == "/obj/item/weapon/cartridge/syndicate" && Detonate == 1}} {{:helper.link('*Detonate*', 'radiation', {'choice' : "Detonate", 'target' : Reference}, null, 'fixedLeft')}} {{/if}}
+ {{if data.~root.cartridge.type == "/obj/item/weapon/cartridge/clown"}} {{:helper.link('*Send Virus*', 'star', {'choice' : "Send Honk", 'target' : Reference}, null, 'fixedLeft')}} {{/if}}
+ {{if data.~root.cartridge.type == "/obj/item/weapon/cartridge/mime"}} {{:helper.link('*Send Virus*', 'circle-arrow-s', {'choice' : "Send Silence", 'target' : Reference}, null, 'fixedLeft')}} {{/if}}
{{/if}}
{{/for}}
Other PDAs
- {{for pdas}}
+ {{for data.pdas}}
- {{:~link(Name, 'circle-arrow-s', {'choice' : "Message", 'target' : Reference}, null, fixedLeftWider)}}
- {{if ~root.cartridge}}
- {{if ~root.cartridge.type == "/obj/item/weapon/cartridge/syndicate" && Detonate == 1}} {{:~link('*Detonate*', 'radiation', {'choice' : "Detonate", 'target' : Reference}, null, 'fixedLeft')}} {{/if}}
- {{if ~root.cartridge.type == "/obj/item/weapon/cartridge/clown"}} {{:~link('*Send Virus*', 'star', {'choice' : "Send Honk", 'target' : Reference}, null, 'fixedLeft')}} {{/if}}
- {{if ~root.cartridge.type == "/obj/item/weapon/cartridge/mime"}} {{:~link('*Send Virus*', 'circle-arrow-s', {'choice' : "Send Silence", 'target' : Reference}, null, 'fixedLeft')}} {{/if}}
+ {{:helper.link(Name, 'circle-arrow-s', {'choice' : "Message", 'target' : Reference}, null, fixedLeftWider)}}
+ {{if data.~root.cartridge}}
+ {{if data.~root.cartridge.type == "/obj/item/weapon/cartridge/syndicate" && Detonate == 1}} {{:helper.link('*Detonate*', 'radiation', {'choice' : "Detonate", 'target' : Reference}, null, 'fixedLeft')}} {{/if}}
+ {{if data.~root.cartridge.type == "/obj/item/weapon/cartridge/clown"}} {{:helper.link('*Send Virus*', 'star', {'choice' : "Send Honk", 'target' : Reference}, null, 'fixedLeft')}} {{/if}}
+ {{if data.~root.cartridge.type == "/obj/item/weapon/cartridge/mime"}} {{:helper.link('*Send Virus*', 'circle-arrow-s', {'choice' : "Send Silence", 'target' : Reference}, null, 'fixedLeft')}} {{/if}}
{{/if}}
{{/for}}
{{/if}}
{{/if}}
- {{else mode == 21}}
+ {{else data.mode == 21}}
SpaceMessenger V4.0.1
@@ -245,20 +245,20 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
- {{:~link('Delete Conversation', 'trash', {'choice' : "Clear", 'option' : "Convo"}, null, 'fixedLeftWide')}}
+ {{:helper.link('Delete Conversation', 'trash', {'choice' : "Clear", 'option' : "Convo"}, null, 'fixedLeftWide')}}
-
Conversation with: {{:convo_name}} ({{:convo_job}})
+
Conversation with: {{:data.convo_name}} ({{:data.convo_job}})
- {{for messages}}
- {{if ~root.active_conversation == target}}
- {{if sent==0}}
- Them: {{:message}}
+ {{for data.messages}}
+ {{if data.~root.active_conversation == target}}
+ {{if data.sent==0}}
+ Them: {{:data.message}}
{{else}}
- You: {{:message}}
+ You: {{:data.message}}
{{/if}}
{{/if}}
{{/for}}
@@ -266,132 +266,132 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
- {{:~link('Reply', 'comment', {'choice' : "Message", 'target': active_conversation}, null, 'fixedLeft')}}
+ {{:helper.link('Reply', 'comment', {'choice' : "Message", 'target': active_conversation}, null, 'fixedLeft')}}
- {{else mode== 41}}
+ {{else data.mode== 41}}
- {{if manifest.heads.length}}
+ {{if data.manifest.heads.length}}
| Command |
- {{for manifest["heads"]}}
- {{if rank == "Captain"}}
- | {{:name}} | {{:rank}} | {{:active}} |
+ {{for data.manifest["heads"]}}
+ {{if data.rank == "Captain"}}
+ | {{:data.name}} | {{:data.rank}} | {{:data.active}} |
{{else}}
- | {{:name}} | {{:rank}} | {{:active}} |
+ | {{:data.name}} | {{:data.rank}} | {{:data.active}} |
{{/if}}
{{/for}}
{{/if}}
- {{if manifest.sec.length}}
+ {{if data.manifest.sec.length}}
| Security |
- {{for manifest["sec"]}}
- {{if rank == "Head of Security"}}
- | {{:name}} | {{:rank}} | {{:active}} |
+ {{for data.manifest["sec"]}}
+ {{if data.rank == "Head of Security"}}
+ | {{:data.name}} | {{:data.rank}} | {{:data.active}} |
{{else}}
- | {{:name}} | {{:rank}} | {{:active}} |
+ | {{:data.name}} | {{:data.rank}} | {{:data.active}} |
{{/if}}
{{/for}}
{{/if}}
- {{if manifest.eng.length}}
+ {{if data.manifest.eng.length}}
| Engineering |
- {{for manifest["eng"]}}
- {{if rank == "Chief Engineer"}}
- | {{:name}} | {{:rank}} | {{:active}} |
+ {{for data.manifest["eng"]}}
+ {{if data.rank == "Chief Engineer"}}
+ | {{:data.name}} | {{:data.rank}} | {{:data.active}} |
{{else}}
- | {{:name}} | {{:rank}} | {{:active}} |
+ | {{:data.name}} | {{:data.rank}} | {{:data.active}} |
{{/if}}
{{/for}}
{{/if}}
- {{if manifest.med.length}}
+ {{if data.manifest.med.length}}
| Medical |
- {{for manifest["med"]}}
- {{if rank == "Chief Medical Officer"}}
- | {{:name}} | {{:rank}} | {{:active}} |
+ {{for data.manifest["med"]}}
+ {{if data.rank == "Chief Medical Officer"}}
+ | {{:data.name}} | {{:data.rank}} | {{:data.active}} |
{{else}}
- | {{:name}} | {{:rank}} | {{:active}} |
+ | {{:data.name}} | {{:data.rank}} | {{:data.active}} |
{{/if}}
{{/for}}
{{/if}}
- {{if manifest.sci.length}}
+ {{if data.manifest.sci.length}}
| Science |
- {{for manifest["sci"]}}
- {{if rank == "Research Director"}}
- | {{:name}} | {{:rank}} | {{:active}} |
+ {{for data.manifest["sci"]}}
+ {{if data.rank == "Research Director"}}
+ | {{:data.name}} | {{:data.rank}} | {{:data.active}} |
{{else}}
- | {{:name}} | {{:rank}} | {{:active}} |
+ | {{:data.name}} | {{:data.rank}} | {{:data.active}} |
{{/if}}
{{/for}}
{{/if}}
- {{if manifest.supp.length}}
- | Support |
- {{for manifest["supp"]}}
- {{if rank == "Head of Personnel"}}
- | {{:name}} | {{:rank}} | {{:active}} |
+ {{if data.manifest.civ.length}}
+ | Civilian |
+ {{for data.manifest["civ"]}}
+ {{if data.rank == "Head of Personnel"}}
+ | {{:data.name}} | {{:data.rank}} | {{:data.active}} |
{{else}}
- | {{:name}} | {{:rank}} | {{:active}} |
+ | {{:data.name}} | {{:data.rank}} | {{:data.active}} |
{{/if}}
{{/for}}
{{/if}}
- {{if manifest.misc.length}}
+ {{if data.manifest.misc.length}}
| Misc |
- {{for manifest["misc"]}}
- | {{:name}} | {{:rank}} | {{:active}} |
+ {{for data.manifest["misc"]}}
+ | {{:data.name}} | {{:data.rank}} | {{:data.active}} |
{{/for}}
{{/if}}
- {{else mode == 3}}
+ {{else data.mode == 3}}
Atmospheric Scan
- {{if aircontents.reading == 1}}
+ {{if data.aircontents.reading == 1}}
Pressure:
- {{:~string('{1} kPa', aircontents.pressure < 80 || aircontents.pressure > 120 ? 'bad' : aircontents.pressure < 95 || aircontents.pressure > 110 ? 'average' : 'good' , aircontents.pressure)}}
+ {{:helper.string('{1} kPa', aircontents.pressure < 80 || aircontents.pressure > 120 ? 'bad' : aircontents.pressure < 95 || aircontents.pressure > 110 ? 'average' : 'good' , aircontents.pressure)}}
Temperature:
- {{:~string('{1} °C', aircontents.temp < 5 || aircontents.temp > 35 ? 'bad' : aircontents.temp < 15 || aircontents.temp > 25 ? 'average' : 'good' , aircontents.temp)}}
+ {{:helper.string('{1} °C', aircontents.temp < 5 || aircontents.temp > 35 ? 'bad' : aircontents.temp < 15 || aircontents.temp > 25 ? 'average' : 'good' , aircontents.temp)}}
Oxygen:
- {{:~string('{1}%', aircontents.oxygen < 17 ? 'bad' : aircontents.oxygen < 19 ? 'average' : 'good' , aircontents.oxygen)}}
+ {{:helper.string('{1}%', aircontents.oxygen < 17 ? 'bad' : aircontents.oxygen < 19 ? 'average' : 'good' , aircontents.oxygen)}}
Nitrogen:
- {{:~string('{1}%', aircontents.nitrogen > 82 ? 'bad' : aircontents.nitrogen > 80 ? 'average' : 'good' , aircontents.nitrogen)}}
+ {{:helper.string('{1}%', aircontents.nitrogen > 82 ? 'bad' : aircontents.nitrogen > 80 ? 'average' : 'good' , aircontents.nitrogen)}}
Carbon Dioxide:
- {{:~string('{1}%', aircontents.carbon_dioxide > 5 ? 'bad' : 'good' , aircontents.carbon_dioxide)}}
+ {{:helper.string('{1}%', aircontents.carbon_dioxide > 5 ? 'bad' : 'good' , aircontents.carbon_dioxide)}}
- Plasma:
+ Phoron:
- {{:~string('{1}%', aircontents.plasma > 0 ? 'bad' : 'good' , aircontents.plasma)}}
+ {{:helper.string('{1}%', aircontents.phoron > 0 ? 'bad' : 'good' , aircontents.phoron)}}
- {{if aircontents.other > 0}}
+ {{if data.aircontents.other > 0}}
Unknown:
- {{:aircontents.other}}%
+ {{:data.aircontents.other}}%
{{/if}}
{{else}}
@@ -402,20 +402,20 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
- {{else mode == 40}}
+ {{else data.mode == 40}}
Remote Signaling System
Frequency:
- {{:records.signal_freq}}
+ {{:data.records.signal_freq}}
- {{:~link('-1', null, {'cartmenu' : "1", 'choice' : "Signal Frequency", 'sfreq' : "-10"}, null, null)}}
- {{:~link('-.2', null, {'cartmenu' : "1", 'choice' : "Signal Frequency", 'sfreq' : "-2"}, null, null)}}
+ {{:helper.link('-1', null, {'cartmenu' : "1", 'choice' : "Signal Frequency", 'sfreq' : "-10"}, null, null)}}
+ {{:helper.link('-.2', null, {'cartmenu' : "1", 'choice' : "Signal Frequency", 'sfreq' : "-2"}, null, null)}}
- {{:~link('+.2', null, {'cartmenu' : "1", 'choice' : "Signal Frequency", 'sfreq' : "2"}, null, null)}}
- {{:~link('+1', null, {'cartmenu' : "1", 'choice' : "Signal Frequency", 'sfreq' : "10"}, null, null)}}
+ {{:helper.link('+.2', null, {'cartmenu' : "1", 'choice' : "Signal Frequency", 'sfreq' : "2"}, null, null)}}
+ {{:helper.link('+1', null, {'cartmenu' : "1", 'choice' : "Signal Frequency", 'sfreq' : "10"}, null, null)}}
@@ -425,28 +425,28 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
- {{:records.signal_code}}
+ {{:data.records.signal_code}}
- {{:~link('-5', null, {'cartmenu' : "1", 'choice' : "Signal Code", 'scode' : "-5"}, null, null)}}
- {{:~link('-1', null, {'cartmenu' : "1", 'choice' : "Signal Code", 'scode' : "-1"}, null, null)}}
- {{:~link('+1', null, {'cartmenu' : "1", 'choice' : "Signal Code", 'scode' : "1"}, null, null)}}
- {{:~link('+5', null, {'cartmenu' : "1", 'choice' : "Signal Code", 'scode' : "5"}, null, null)}}
+ {{:helper.link('-5', null, {'cartmenu' : "1", 'choice' : "Signal Code", 'scode' : "-5"}, null, null)}}
+ {{:helper.link('-1', null, {'cartmenu' : "1", 'choice' : "Signal Code", 'scode' : "-1"}, null, null)}}
+ {{:helper.link('+1', null, {'cartmenu' : "1", 'choice' : "Signal Code", 'scode' : "1"}, null, null)}}
+ {{:helper.link('+5', null, {'cartmenu' : "1", 'choice' : "Signal Code", 'scode' : "5"}, null, null)}}
- {{:~link('Send Signal', 'radiation', {'cartmenu' : "1", 'choice' : "Send Signal"}, null, null)}}
+ {{:helper.link('Send Signal', 'radiation', {'cartmenu' : "1", 'choice' : "Send Signal"}, null, null)}}
- {{else mode == 42}}
+ {{else data.mode == 42}}
Station Status Displays Interlink
Code:
- {{:~link('Clear', 'trash', {'cartmenu' : "1", 'choice' : "Status", 'statdisp' : "blank"}, null, null)}}
- {{:~link('Shuttle ETA', 'gear', {'cartmenu' : "1", 'choice' : "Status",'statdisp' : "shuttle"}, null, null)}}
- {{:~link('Message', 'gear', {'cartmenu' : "1", 'choice' : "Status",'statdisp' : "message"}, null, null)}}
+ {{:helper.link('Clear', 'trash', {'cartmenu' : "1", 'choice' : "Status", 'statdisp' : "blank"}, null, null)}}
+ {{:helper.link('Shuttle ETA', 'gear', {'cartmenu' : "1", 'choice' : "Status",'statdisp' : "shuttle"}, null, null)}}
+ {{:helper.link('Message', 'gear', {'cartmenu' : "1", 'choice' : "Status",'statdisp' : "message"}, null, null)}}
@@ -455,7 +455,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
Message line 1
- {{:~link(records.message1 + ' (set)', 'pencil', {'cartmenu' : "1", 'choice' : "Status",'statdisp' : "setmsg1"}, null, null)}}
+ {{:helper.link(records.message1 + ' (set)', 'pencil', {'cartmenu' : "1", 'choice' : "Status",'statdisp' : "setmsg1"}, null, null)}}
@@ -463,7 +463,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
Message line 2
- {{:~link(records.message2 + ' (set)', 'pencil', {'cartmenu' : "1", 'choice' : "Status",'statdisp' : "setmsg2"}, null, null)}}
+ {{:helper.link(records.message2 + ' (set)', 'pencil', {'cartmenu' : "1", 'choice' : "Status",'statdisp' : "setmsg2"}, null, null)}}
@@ -473,33 +473,33 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
ALERT!:
- {{:~link('None', 'alert', {'cartmenu' : "1", 'choice' : "Status",'statdisp' : "alert", 'alert' : "default"}, null, null)}}
- {{:~link('Red Alert', 'alert', {'cartmenu' : "1", 'choice' : "Status",'statdisp' : "alert", 'alert' : "redalert"}, null, null)}}
- {{:~link('Lockdown', 'caution', {'cartmenu' : "1", 'choice' : "Status",'statdisp' : "alert", 'alert' : "lockdown"}, null, null)}}
- {{:~link('Biohazard', 'radiation', {'cartmenu' : "1", 'choice' : "Status",'statdisp' : "alert", 'alert' : "biohazard"}, null, null)}}
+ {{:helper.link('None', 'alert', {'cartmenu' : "1", 'choice' : "Status",'statdisp' : "alert", 'alert' : "default"}, null, null)}}
+ {{:helper.link('Red Alert', 'alert', {'cartmenu' : "1", 'choice' : "Status",'statdisp' : "alert", 'alert' : "redalert"}, null, null)}}
+ {{:helper.link('Lockdown', 'caution', {'cartmenu' : "1", 'choice' : "Status",'statdisp' : "alert", 'alert' : "lockdown"}, null, null)}}
+ {{:helper.link('Biohazard', 'radiation', {'cartmenu' : "1", 'choice' : "Status",'statdisp' : "alert", 'alert' : "biohazard"}, null, null)}}
- {{else mode == 43}}
+ {{else data.mode == 43}}
Station Powermonitors
Select A power monitor:
- {{for records.powermonitors}}
+ {{for data.records.powermonitors}}
- {{:~link(Name, 'radiation', {'cartmenu' : "1", 'choice' : "Power Select",'target' : ref}, null, null)}}
+ {{:helper.link(Name, 'radiation', {'cartmenu' : "1", 'choice' : "Power Select",'target' : ref}, null, null)}}
{{/for}}
- {{else mode == 433}}
+ {{else data.mode == 433}}
Powernet Status
Current Load:
- {{:records.powerload}} W
+ {{:data.records.powerload}} W
@@ -507,72 +507,72 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
Total Power:
- {{:records.poweravail}} W
+ {{:data.records.poweravail}} W
- {{for records.apcs}}
- {{if #index % 20 === 0}}
+ {{for data.records.apcs}}
+ {{if data.#index % 20 === 0}}
| Area | Eqp. | Lgt. | Env | Cell |
{{/if}}
- | {{:Name}} |
- {{:~string(' | ', Equipment==1 ? '#4f7529' : '#8f1414')}}
- {{:~string(' | ', Lights==1 ? '#4f7529' : '#8f1414')}}
- {{:~string(' | ', Environment==1 ? '#4f7529' : '#8f1414')}}
- {{:~string('{1} | ', CellStatus==1 ? '#4f7529' : '#8f1414', CellStatus==-1 ? 'No Cell' : CellPct + '%')}}
+
| {{:data.Name}} |
+ {{:helper.string(' | ', Equipment==1 ? '#4f7529' : '#8f1414')}}
+ {{:helper.string(' | ', Lights==1 ? '#4f7529' : '#8f1414')}}
+ {{:helper.string(' | ', Environment==1 ? '#4f7529' : '#8f1414')}}
+ {{:helper.string('{1} | ', CellStatus==1 ? '#4f7529' : '#8f1414', CellStatus==-1 ? 'No Cell' : CellPct + '%')}}
{{/for}}
- {{else mode == 44}}
+ {{else data.mode == 44}}
Medical Record List
Select A record
- {{for records.medical_records}}
+ {{for data.records.medical_records}}
- {{:~link(Name, 'gear', {'cartmenu' : "1", 'choice' : "Medical Records",'target' : ref}, null, null)}}
+ {{:helper.link(Name, 'gear', {'cartmenu' : "1", 'choice' : "Medical Records",'target' : ref}, null, null)}}
{{/for}}
- {{else mode == 441}}
+ {{else data.mode == 441}}
Medical Record
- {{if records.general_exists == 1}}
- Name: {{:records.general.name}}
- Sex: {{:records.general.sex}}
- Species: {{:records.general.species}}
- Age: {{:records.general.age}}
- Rank: {{:records.general.rank}}
- Fingerprint: {{:records.general.fingerprint}}
- Physical Status: {{:records.general.p_stat}}
- Mental Status: {{:records.general.m_stat}}
+ {{if data.records.general_exists == 1}}
+ Name: {{:data.records.general.name}}
+ Sex: {{:data.records.general.sex}}
+ Species: {{:data.records.general.species}}
+ Age: {{:data.records.general.age}}
+ Rank: {{:data.records.general.rank}}
+ Fingerprint: {{:data.records.general.fingerprint}}
+ Physical Status: {{:data.records.general.p_stat}}
+ Mental Status: {{:data.records.general.m_stat}}
{{else}}
General Record Lost!
{{/if}}
- {{if records.medical_exists == 1}}
+ {{if data.records.medical_exists == 1}}
Medical Data:
- Blood Type: {{:records.medical.b_type}}
- Minor Disabilities: {{:records.medical.mi_dis}}
- Details: {{:records.medical.mi_dis_d}}
- Major Disabilities: {{:records.medical.ma_dis}}
- Details: {{:records.medical.ma_dis_d}}
- Allergies: {{:records.medical.alg}}
- Details: {{:records.medical.alg_d}}
- Current Disease: {{:records.medical.cdi}}
- Details: {{:records.medical.alg_d}}
- Important Notes: {{:records.medical.notes}}
+ Blood Type: {{:data.records.medical.b_type}}
+ Minor Disabilities: {{:data.records.medical.mi_dis}}
+ Details: {{:data.records.medical.mi_dis_d}}
+ Major Disabilities: {{:data.records.medical.ma_dis}}
+ Details: {{:data.records.medical.ma_dis_d}}
+ Allergies: {{:data.records.medical.alg}}
+ Details: {{:data.records.medical.alg_d}}
+ Current Disease: {{:data.records.medical.cdi}}
+ Details: {{:data.records.medical.alg_d}}
+ Important Notes: {{:data.records.medical.notes}}
{{else}}
Medical Record Lost!
@@ -583,47 +583,47 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
- {{else mode == 45}}
+ {{else data.mode == 45}}
Security Record List
Select A record
- {{for records.security_records}}
+ {{for data.records.security_records}}
- {{:~link(Name, 'gear', {'cartmenu' : "1", 'choice' : "Security Records",'target' : ref}, null, null)}}
+ {{:helper.link(Name, 'gear', {'cartmenu' : "1", 'choice' : "Security Records",'target' : ref}, null, null)}}
{{/for}}
- {{else mode == 451}}
+ {{else data.mode == 451}}
Security Record
- {{if records.general_exists == 1}}
- Name: {{:records.general.name}}
- Sex: {{:records.general.sex}}
- Species: {{:records.general.species}}
- Age: {{:records.general.age}}
- Rank: {{:records.general.rank}}
- Fingerprint: {{:records.general.fingerprint}}
- Physical Status: {{:records.general.p_stat}}
- Mental Status: {{:records.general.m_stat}}
+ {{if data.records.general_exists == 1}}
+ Name: {{:data.records.general.name}}
+ Sex: {{:data.records.general.sex}}
+ Species: {{:data.records.general.species}}
+ Age: {{:data.records.general.age}}
+ Rank: {{:data.records.general.rank}}
+ Fingerprint: {{:data.records.general.fingerprint}}
+ Physical Status: {{:data.records.general.p_stat}}
+ Mental Status: {{:data.records.general.m_stat}}
{{else}}
General Record Lost!
{{/if}}
- {{if records.security_exists == 1}}
+ {{if data.records.security_exists == 1}}
Security Data:
- Criminal Status: {{:records.security.criminal}}
- Minor Crimes: {{:records.security.mi_crim}}
- Details: {{:records.security.mi_crim_d}}
- Major Crimes: {{:records.security.ma_crim}}
- Details: {{:records.security.ma_crim_d}}
- Important Notes: {{:records.security.notes}}
+ Criminal Status: {{:data.records.security.criminal}}
+ Minor Crimes: {{:data.records.security.mi_crim}}
+ Details: {{:data.records.security.mi_crim_d}}
+ Major Crimes: {{:data.records.security.ma_crim}}
+ Details: {{:data.records.security.ma_crim_d}}
+ Important Notes: {{:data.records.security.notes}}
{{else}}
Security Record Lost!
@@ -632,29 +632,29 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
- {{else mode == 46}}
+ {{else data.mode == 46}}
Security Bot Control
- {{if records.beepsky.active == null || records.beepsky.active == 0}}
- {{if records.beepsky.count == 0}}
+ {{if data.records.beepsky.active == null || records.beepsky.active == 0}}
+ {{if data.records.beepsky.count == 0}}
No bots found.
{{else}}
Select A Bot.
- {{for records.beepsky.bots}}
+ {{for data.records.beepsky.bots}}
- {{:~link(Name, 'gear', {'radiomenu' : "1", 'op' : "control",'bot' : ref}, null, null)}} (Location: {{:Location}})
+ {{:helper.link(Name, 'gear', {'radiomenu' : "1", 'op' : "control",'bot' : ref}, null, null)}} (Location: {{:data.Location}})
{{/for}}
{{/if}}
- {{:~link('Scan for Bots','gear', {'radiomenu' : "1", 'op' : "scanbots"}, null, null)}}
+ {{:helper.link('Scan for Bots','gear', {'radiomenu' : "1", 'op' : "scanbots"}, null, null)}}
{{else}}
-
{{:records.beepsky.active}}
+
{{:data.records.beepsky.active}}
- {{if records.beepsky.botstatus.mode == -1}}
+ {{if data.records.beepsky.botstatus.mode == -1}}
Waiting for response...
{{else}}
Status:
@@ -664,7 +664,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
Location:
- {{:records.beepsky.botstatus.loca}}
+ {{:data.records.beepsky.botstatus.loca}}
@@ -673,30 +673,30 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
- {{if records.beepsky.botstatus.mode ==0}} Ready
- {{else records.beepsky.botstatus.mode == 1}}
+ {{if data.records.beepsky.botstatus.mode ==0}} Ready
+ {{else data.records.beepsky.botstatus.mode == 1}}
Apprehending target
- {{else records.beepsky.botstatus.mode ==2 || records.beepsky.botstatus.mode == 3}}
+ {{else data.records.beepsky.botstatus.mode ==2 || records.beepsky.botstatus.mode == 3}}
Arresting target
- {{else records.beepsky.botstatus.mode ==4}}
+ {{else data.records.beepsky.botstatus.mode ==4}}
Starting patrol
- {{else records.beepsky.botstatus.mode ==5}}
+ {{else data.records.beepsky.botstatus.mode ==5}}
On Patrol
- {{else records.beepsky.botstatus.mode ==6}}
+ {{else data.records.beepsky.botstatus.mode ==6}}
Responding to summons
{{/if}}
- {{:~link('Stop Patrol', 'gear', {'radiomenu' : "1", 'op' : "stop"}, null, null)}}
- {{:~link('Start Patrol', 'gear', {'radiomenu' : "1", 'op' : "go"}, null, null)}}
- {{:~link('Summon Bot', 'gear', {'radiomenu' : "1", 'op' : "summon"}, null, null)}}
+ {{:helper.link('Stop Patrol', 'gear', {'radiomenu' : "1", 'op' : "stop"}, null, null)}}
+ {{:helper.link('Start Patrol', 'gear', {'radiomenu' : "1", 'op' : "go"}, null, null)}}
+ {{:helper.link('Summon Bot', 'gear', {'radiomenu' : "1", 'op' : "summon"}, null, null)}}
{{/if}}
- {{:~link('Return to Bot list', 'gear', {'radiomenu' : "1", 'op' : "botlist"}, null, null)}}
+ {{:helper.link('Return to Bot list', 'gear', {'radiomenu' : "1", 'op' : "botlist"}, null, null)}}
{{/if}}
- {{else mode == 47}}
+ {{else data.mode == 47}}
Supply Record Interlink
@@ -704,10 +704,10 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
- {{if records.supply.shuttle_moving}}
- Moving to station ({{:records.supply.shuttle_eta}})
+ {{if data.records.supply.shuttle_moving}}
+ Moving to station ({{:data.records.supply.shuttle_eta}})
{{else}}
- Shuttle at {{:records.supply.shuttle_loc}}
+ Shuttle at {{:data.records.supply.shuttle_loc}}
{{/if}}
@@ -716,30 +716,30 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
Current Approved Orders
- {{if records.supply.approved_count == 0}}
+ {{if data.records.supply.approved_count == 0}}
No current approved orders
{{else}}
- {{for records.supply.approved}}
- #{{:Number}} - {{:Name}} approved by {{:OrderedBy}}
{{if Comment != ""}} {{:Comment}}
{{/if}}
+ {{for data.records.supply.approved}}
+ #{{:data.Number}} - {{:data.Name}} approved by {{:data.OrderedBy}}
{{if data.Comment != ""}} {{:data.Comment}}
{{/if}}
{{/for}}
{{/if}}
Current Requested Orders
- {{if records.supply.requests_count == 0}}
+ {{if data.records.supply.requests_count == 0}}
No current requested orders
{{else}}
- {{for records.supply.requests}}
- #{{:Number}} - {{:Name}} requested by {{:OrderedBy}}
{{if Comment != ""}} {{:Comment}}
{{/if}}
+ {{for data.records.supply.requests}}
+ #{{:data.Number}} - {{:data.Name}} requested by {{:data.OrderedBy}}
{{if data.Comment != ""}} {{:data.Comment}}
{{/if}}
{{/for}}
{{/if}}
- {{else mode == 48}}
+ {{else data.mode == 48}}
Mule Control
- {{if records.mulebot.active == null || records.mulebot.active == 0}}
- {{if records.mulebot.count == 0}}
+ {{if data.records.mulebot.active == null || records.mulebot.active == 0}}
+ {{if data.records.mulebot.count == 0}}
No bots found.
{{else}}
@@ -748,16 +748,16 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
Select A Mulebot
- {{for records.mulebot.bots}}
+ {{for data.records.mulebot.bots}}
- {{:~link(Name, 'gear', {'radiomenu' : "1", 'op' : "control",'bot' : ref}, null, null)}} (Location: {{:Location}})
+ {{:helper.link(Name, 'gear', {'radiomenu' : "1", 'op' : "control",'bot' : ref}, null, null)}} (Location: {{:data.Location}})
{{/for}}
{{/if}}
- {{:~link('Scan for Bots','gear', {'radiomenu' : "1", 'op' : "scanbots"}, null, null)}}
+ {{:helper.link('Scan for Bots','gear', {'radiomenu' : "1", 'op' : "scanbots"}, null, null)}}
{{else}}
- {{if records.mulebot.botstatus.mode == -1}}
+ {{if data.records.mulebot.botstatus.mode == -1}}
Waiting for response...
{{else}}
Status:
@@ -767,7 +767,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
Location:
- {{:records.mulebot.botstatus.loca}}
+ {{:data.records.mulebot.botstatus.loca}}
@@ -776,19 +776,19 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
- {{if records.mulebot.botstatus.mode ==0}} Ready
- {{else records.mulebot.botstatus.mode == 1}}
+ {{if data.records.mulebot.botstatus.mode ==0}} Ready
+ {{else data.records.mulebot.botstatus.mode == 1}}
Loading/Unloading
- {{else records.mulebot.botstatus.mode ==2}}
+ {{else data.records.mulebot.botstatus.mode ==2}}
Navigating to Delivery Location
- {{else records.mulebot.botstatus.mode == 3}}
+ {{else data.records.mulebot.botstatus.mode == 3}}
Navigating to Home
- {{else records.mulebot.botstatus.mode ==4}}
+ {{else data.records.mulebot.botstatus.mode ==4}}
Waiting for Clear Path
- {{else records.mulebot.botstatus.mode ==5 || records.mulebot.botstatus.mode == 6}}
+ {{else data.records.mulebot.botstatus.mode ==5 || records.mulebot.botstatus.mode == 6}}
Calculating navigation Path
- {{else records.mulebot.botstatus.mode ==7}}
+ {{else data.records.mulebot.botstatus.mode ==7}}
Unable to locate destination
{{/if}}
@@ -800,7 +800,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
- {{:~link(records.mulebot.botstatus.load == null ? 'None (Unload)' : records.mulebot.botstatus.load + ' (Unload)', 'gear', {'radiomenu' : "1", 'op' : "unload"},records.mulebot.botstatus.load == null ? 'disabled' : null, null)}}
+ {{:helper.link(records.mulebot.botstatus.load == null ? 'None (Unload)' : records.mulebot.botstatus.load + ' (Unload)', 'gear', {'radiomenu' : "1", 'op' : "unload"},records.mulebot.botstatus.load == null ? 'disabled' : null, null)}}
@@ -810,7 +810,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
- {{:records.mulebot.botstatus.powr}}%
+ {{:data.records.mulebot.botstatus.powr}}%
@@ -820,7 +820,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
Destination:
- {{:~link(records.mulebot.botstatus.dest == null || records.mulebot.botstatus.dest == "" ? 'None (Set)': records.mulebot.botstatus.dest+ ' (Set)', 'gear', {'radiomenu' : "1", 'op' : "setdest"}, null, null)}}
+ {{:helper.link(records.mulebot.botstatus.dest == null || records.mulebot.botstatus.dest == "" ? 'None (Set)': records.mulebot.botstatus.dest+ ' (Set)', 'gear', {'radiomenu' : "1", 'op' : "setdest"}, null, null)}}
@@ -829,7 +829,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
Home:
- {{if records.mulebot.botstatus.home == null}} None {{else}} {{:records.mulebot.botstatus.home}} {{/if}}
+ {{if data.records.mulebot.botstatus.home == null}} None {{else}} {{:data.records.mulebot.botstatus.home}} {{/if}}
@@ -837,7 +837,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
Auto Return:
- {{:~link(records.mulebot.botstatus.retn == 1 ? 'ON' : 'OFF', 'gear', {'radiomenu' : "1", 'op' : records.mulebot.botstatus.retn==1 ? "retoff" : "reton"}, null, null)}}
+ {{:helper.link(records.mulebot.botstatus.retn == 1 ? 'ON' : 'OFF', 'gear', {'radiomenu' : "1", 'op' : records.mulebot.botstatus.retn==1 ? "retoff" : "reton"}, null, null)}}
@@ -845,7 +845,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
Auto Pickup:
- {{:~link(records.mulebot.botstatus.pick==1? 'ON' : 'OFF', 'gear', {'radiomenu' : "1", 'op' : records.mulebot.botstatus.pick==1 ? "pickoff" : "pickon"}, null, null)}}
+ {{:helper.link(records.mulebot.botstatus.pick==1? 'ON' : 'OFF', 'gear', {'radiomenu' : "1", 'op' : records.mulebot.botstatus.pick==1 ? "pickoff" : "pickon"}, null, null)}}
@@ -853,13 +853,13 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
Functions:
- {{:~link('Stop', 'gear', {'radiomenu' : "1", 'op' : "stop"}, null, null)}}
- {{:~link('Proceed', 'gear', {'radiomenu' : "1", 'op' : "go"}, null, null)}}
- {{:~link('Return Home', 'gear', {'radiomenu' : "1", 'op' : "home"}, null, null)}}
+ {{:helper.link('Stop', 'gear', {'radiomenu' : "1", 'op' : "stop"}, null, null)}}
+ {{:helper.link('Proceed', 'gear', {'radiomenu' : "1", 'op' : "go"}, null, null)}}
+ {{:helper.link('Return Home', 'gear', {'radiomenu' : "1", 'op' : "home"}, null, null)}}
- {{:~link('Return to Bot list', 'gear', {'radiomenu' : "1", 'op' : "botlist"}, null, null)}}
+ {{:helper.link('Return to Bot list', 'gear', {'radiomenu' : "1", 'op' : "botlist"}, null, null)}}
{{/if}}
@@ -867,54 +867,54 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
- {{else mode == 49}}
+ {{else data.mode == 49}}
Janatorial Supplies Locator
Current Location:
- {{if records.janitor.user_loc.x == 0}}
+ {{if data.records.janitor.user_loc.x == 0}}
Unknown
{{else}}
- {{:records.janitor.user_loc.x}} / {{:records.janitor.user_loc.y}}
+ {{:data.records.janitor.user_loc.x}} / {{:data.records.janitor.user_loc.y}}
{{/if}}
- {{for records.janitor.mops}}
- {{if x==0}}
+ {{for data.records.janitor.mops}}
+ {{if data.x==0}}
Unable to locate Mop
{{else}}
Mop Location:
- ({{:x}} / {{:y}}) - {{:dir}} - Status: {{:status}}
+ ({{:data.x}} / {{:data.y}}) - {{:data.dir}} - Status: {{:data.status}}
{{/if}}
{{/for}}
- {{for records.janitor.buckets}}
- {{if x==0}}
+ {{for data.records.janitor.buckets}}
+ {{if data.x==0}}
Unable to locate Water Buckets
{{else}}
Water Buckets Location:
- ({{:x}} / {{:y}}) - {{:dir}} - Water Level: {{:status}}
+ ({{:data.x}} / {{:data.y}}) - {{:data.dir}} - Water Level: {{:data.status}}
{{/if}}
{{/for}}
- {{for records.janitor.cleanbots}}
- {{if x==0}}
+ {{for data.records.janitor.cleanbots}}
+ {{if data.x==0}}
Unable to locate Clean Bots
{{else}}
Clean Bots Location:
- ({{:x}} / {{:y}}) - {{:dir}} - Status: {{:status}}
+ ({{:data.x}} / {{:data.y}}) - {{:data.dir}} - Status: {{:data.status}}
{{/if}}
{{/for}}
- {{for records.janitor.carts}}
- {{if x==0}}
+ {{for data.records.janitor.carts}}
+ {{if data.x==0}}
Unable to locate Janitorial Cart
{{else}}
Janitorial cart Location:
-
({{:x}} / {{:y}}) - {{:dir}} - Status: {{:status}}
+
({{:data.x}} / {{:data.y}}) - {{:data.dir}} - Status: {{:data.status}}
{{/if}}
{{/for}}
diff --git a/nano/templates/shuttle_control_console.tmpl b/nano/templates/shuttle_control_console.tmpl
index 59f40799592..a1b30c0eb9e 100644
--- a/nano/templates/shuttle_control_console.tmpl
+++ b/nano/templates/shuttle_control_console.tmpl
@@ -1,7 +1,7 @@
Shuttle Status
- {{:shuttle_status}}
+ {{:data.shuttle_status}}
@@ -10,11 +10,11 @@
Bluespace Drive:
- {{if shuttle_state == "idle"}}
+ {{if data.shuttle_state == "idle"}}
IDLE
- {{else shuttle_state == "warmup"}}
+ {{else data.shuttle_state == "warmup"}}
SPINNING UP
- {{else shuttle_state == "in_transit"}}
+ {{else data.shuttle_state == "in_transit"}}
ENGAGED
{{else}}
ERROR
@@ -22,28 +22,28 @@
-{{if has_docking}}
+{{if data.has_docking}}
Docking Status:
- {{if docking_status == "docked"}}
+ {{if data.docking_status == "docked"}}
DOCKED
- {{else docking_status == "docking"}}
- {{if !docking_override}}
+ {{else data.docking_status == "docking"}}
+ {{if !data.docking_override}}
DOCKING
{{else}}
DOCKING-MANUAL
{{/if}}
- {{else docking_status == "undocking"}}
- {{if !docking_override}}
+ {{else data.docking_status == "undocking"}}
+ {{if !data.docking_override}}
UNDOCKING
{{else}}
UNDOCKING-MANUAL
{{/if}}
- {{else docking_status == "undocked"}}
+ {{else data.docking_status == "undocked"}}
UNDOCKED
{{else}}
ERROR
@@ -58,9 +58,9 @@
- {{:~link('Launch Shuttle', 'arrowthickstop-1-e', {'move' : '1'}, can_launch? null : 'disabled' , null)}}
- {{:~link('Cancel Launch', 'cancel', {'cancel' : '1'}, can_cancel? null : 'disabled' , null)}}
- {{:~link('Force Launch', 'alert', {'force' : '1'}, can_force? null : 'disabled' , can_force? 'redBackground' : null)}}
+ {{:helper.link('Launch Shuttle', 'arrowthickstop-1-e', {'move' : '1'}, can_launch? null : 'disabled' , null)}}
+ {{:helper.link('Cancel Launch', 'cancel', {'cancel' : '1'}, can_cancel? null : 'disabled' , null)}}
+ {{:helper.link('Force Launch', 'alert', {'force' : '1'}, can_force? null : 'disabled' , can_force? 'redBackground' : null)}}
\ No newline at end of file
diff --git a/nano/templates/simple_airlock_console.tmpl b/nano/templates/simple_airlock_console.tmpl
index 99752958599..177e37b3f18 100644
--- a/nano/templates/simple_airlock_console.tmpl
+++ b/nano/templates/simple_airlock_console.tmpl
@@ -4,9 +4,9 @@
Chamber Pressure:
- {{:~displayBar(chamber_pressure, 0, 200, chamber_pressure < 80 || chamber_pressure > 120 ? 'bad' : chamber_pressure < 95 || chamber_pressure > 110 ? 'average' : 'good')}}
+ {{:helper.displayBar(chamber_pressure, 0, 200, chamber_pressure < 80 || chamber_pressure > 120 ? 'bad' : chamber_pressure < 95 || chamber_pressure > 110 ? 'average' : 'good')}}
- {{:chamber_pressure}} kPa
+ {{:data.chamber_pressure}} kPa
@@ -14,23 +14,23 @@
- {{:~link('Cycle to Exterior', 'arrowthickstop-1-w', {'command' : 'cycle_ext'}, processing ? 'disabled' : null)}}
- {{:~link('Cycle to Interior', 'arrowthickstop-1-e', {'command' : 'cycle_int'}, processing ? 'disabled' : null)}}
+ {{:helper.link('Cycle to Exterior', 'arrowthickstop-1-w', {'command' : 'cycle_ext'}, processing ? 'disabled' : null)}}
+ {{:helper.link('Cycle to Interior', 'arrowthickstop-1-e', {'command' : 'cycle_int'}, processing ? 'disabled' : null)}}
- {{if interior_status.state == "open"}}
- {{:~link('Force exterior door', 'alert', {'command' : 'force_ext'}, null, 'redBackground')}}
+ {{if data.interior_status.state == "open"}}
+ {{:helper.link('Force exterior door', 'alert', {'command' : 'force_ext'}, null, 'redBackground')}}
{{else}}
- {{:~link('Force exterior door', 'alert', {'command' : 'force_ext'}, null, processing ? 'yellowBackground' : null)}}
+ {{:helper.link('Force exterior door', 'alert', {'command' : 'force_ext'}, null, processing ? 'yellowBackground' : null)}}
{{/if}}
- {{if exterior_status.state == "open"}}
- {{:~link('Force interior door', 'alert', {'command' : 'force_int'}, null, 'redBackground')}}
+ {{if data.exterior_status.state == "open"}}
+ {{:helper.link('Force interior door', 'alert', {'command' : 'force_int'}, null, 'redBackground')}}
{{else}}
- {{:~link('Force interior door', 'alert', {'command' : 'force_int'}, null, processing ? 'yellowBackground' : null)}}
+ {{:helper.link('Force interior door', 'alert', {'command' : 'force_int'}, null, processing ? 'yellowBackground' : null)}}
{{/if}}
- {{:~link('Abort', 'cancel', {'command' : 'abort'}, processing ? null : 'disabled', processing ? 'redBackground' : null)}}
+ {{:helper.link('Abort', 'cancel', {'command' : 'abort'}, processing ? null : 'disabled', processing ? 'redBackground' : null)}}
\ No newline at end of file
diff --git a/nano/templates/simple_docking_console.tmpl b/nano/templates/simple_docking_console.tmpl
index 0d5ce1fc697..feb8cf53e1c 100644
--- a/nano/templates/simple_docking_console.tmpl
+++ b/nano/templates/simple_docking_console.tmpl
@@ -4,26 +4,26 @@
Docking Port Status:
- {{if docking_status == "docked"}}
- {{if !override_enabled}}
+ {{if data.docking_status == "docked"}}
+ {{if !data.override_enabled}}
DOCKED
{{else}}
DOCKED-OVERRIDE ENABLED
{{/if}}
- {{else docking_status == "docking"}}
- {{if !override_enabled}}
+ {{else data.docking_status == "docking"}}
+ {{if !data.override_enabled}}
DOCKING
{{else}}
DOCKING-OVERRIDE ENABLED
{{/if}}
- {{else docking_status == "undocking"}}
- {{if !override_enabled}}
+ {{else data.docking_status == "undocking"}}
+ {{if !data.override_enabled}}
UNDOCKING
{{else}}
UNDOCKING-OVERRIDE ENABLED
{{/if}}
- {{else docking_status == "undocked"}}
- {{if !override_enabled}}
+ {{else data.docking_status == "undocked"}}
+ {{if !data.override_enabled}}
NOT IN USE
{{else}}
OVERRIDE ENABLED
@@ -40,40 +40,40 @@
Docking Hatch:
- {{if docking_status == "docked"}}
- {{if door_state == "open"}}
+ {{if data.docking_status == "docked"}}
+ {{if data.door_state == "open"}}
OPEN
- {{else door_state == "closed"}}
+ {{else data.door_state == "closed"}}
CLOSED
{{else}}
ERROR
{{/if}}
- {{else docking_status == "docking"}}
- {{if door_state == "open"}}
+ {{else data.docking_status == "docking"}}
+ {{if data.door_state == "open"}}
OPEN
- {{else door_state == "closed" && door_lock == "locked"}}
+ {{else data.door_state == "closed" && door_lock == "locked"}}
SECURED
- {{else door_state == "closed" && door_lock == "unlocked"}}
+ {{else data.door_state == "closed" && door_lock == "unlocked"}}
UNSECURED
{{else}}
ERROR
{{/if}}
- {{else docking_status == "undocking"}}
- {{if door_state == "open"}}
+ {{else data.docking_status == "undocking"}}
+ {{if data.door_state == "open"}}
OPEN
- {{else door_state == "closed" && door_lock == "locked"}}
+ {{else data.door_state == "closed" && door_lock == "locked"}}
SECURED
- {{else door_state == "closed" && door_lock == "unlocked"}}
+ {{else data.door_state == "closed" && door_lock == "unlocked"}}
UNSECURED
{{else}}
ERROR
{{/if}}
- {{else docking_status == "undocked"}}
- {{if door_state == "open"}}
+ {{else data.docking_status == "undocked"}}
+ {{if data.door_state == "open"}}
OPEN
- {{else door_state == "closed" && door_lock == "locked"}}
+ {{else data.door_state == "closed" && door_lock == "locked"}}
SECURED
- {{else door_state == "closed" && door_lock == "unlocked"}}
+ {{else data.door_state == "closed" && door_lock == "unlocked"}}
UNSECURED
{{else}}
ERROR
@@ -87,12 +87,12 @@
- {{if docking_status == "docked"}}
- {{:~link('Force exterior door', 'alert', {'command' : 'force_door'}, override_enabled ? null : 'disabled', null)}}
- {{:~link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : null)}}
+ {{if data.docking_status == "docked"}}
+ {{:helper.link('Force exterior door', 'alert', {'command' : 'force_door'}, override_enabled ? null : 'disabled', null)}}
+ {{:helper.link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : null)}}
{{else}}
- {{:~link('Force exterior door', 'alert', {'command' : 'force_door'}, override_enabled ? null : 'disabled', override_enabled? 'redBackground' : null)}}
- {{:~link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : 'yellowBackground')}}
+ {{:helper.link('Force exterior door', 'alert', {'command' : 'force_door'}, override_enabled ? null : 'disabled', override_enabled? 'redBackground' : null)}}
+ {{:helper.link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : 'yellowBackground')}}
{{/if}}
diff --git a/nano/templates/simple_docking_console_pod.tmpl b/nano/templates/simple_docking_console_pod.tmpl
new file mode 100644
index 00000000000..bca867b56ef
--- /dev/null
+++ b/nano/templates/simple_docking_console_pod.tmpl
@@ -0,0 +1,101 @@
+
+
+
+ Docking Port Status:
+
+
+ {{if data.docking_status == "docked"}}
+ {{if !data.override_enabled}}
+ DOCKED
+ {{else}}
+ DOCKED-OVERRIDE ENABLED
+ {{/if}}
+ {{else data.docking_status == "docking"}}
+ {{if !data.override_enabled}}
+ DOCKING
+ {{else}}
+ DOCKING-OVERRIDE ENABLED
+ {{/if}}
+ {{else data.docking_status == "undocking"}}
+ {{if !data.override_enabled}}
+ UNDOCKING
+ {{else}}
+ UNDOCKING-OVERRIDE ENABLED
+ {{/if}}
+ {{else data.docking_status == "undocked"}}
+ {{if !data.override_enabled}}
+ NOT IN USE
+ {{else}}
+ OVERRIDE ENABLED
+ {{/if}}
+ {{else}}
+ ERROR
+ {{/if}}
+
+
+
+
+
+
+ Docking Hatch:
+
+
+ {{if data.docking_status == "docked"}}
+ {{if data.door_state == "open"}}
+ OPEN
+ {{else data.door_state == "closed"}}
+ CLOSED
+ {{else}}
+ ERROR
+ {{/if}}
+ {{else data.docking_status == "docking"}}
+ {{if data.door_state == "open"}}
+ OPEN
+ {{else data.door_state == "closed" && door_lock == "locked"}}
+ SECURED
+ {{else data.door_state == "closed" && door_lock == "unlocked"}}
+ UNSECURED
+ {{else}}
+ ERROR
+ {{/if}}
+ {{else data.docking_status == "undocking"}}
+ {{if data.door_state == "open"}}
+ OPEN
+ {{else data.door_state == "closed" && door_lock == "locked"}}
+ SECURED
+ {{else data.door_state == "closed" && door_lock == "unlocked"}}
+ UNSECURED
+ {{else}}
+ ERROR
+ {{/if}}
+ {{else data.docking_status == "undocked"}}
+ {{if data.door_state == "open"}}
+ OPEN
+ {{else data.door_state == "closed" && door_lock == "locked"}}
+ SECURED
+ {{else data.door_state == "closed" && door_lock == "unlocked"}}
+ UNSECURED
+ {{else}}
+ ERROR
+ {{/if}}
+ {{else}}
+ ERROR
+ {{/if}}
+
+
+
+
+
+
+ {{if data.docking_status == "docked"}}
+ {{:helper.link('Force exterior door', 'alert', {'command' : 'force_door'}, override_enabled ? null : 'disabled', null)}}
+ {{:helper.link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : null)}}
+ {{:helper.link('MANUAL EJECT', 'alert', {'command' : 'toggle_override'}, 'disabled', null)}}
+ {{else}}
+ {{:helper.link('Force exterior door', 'alert', {'command' : 'force_door'}, override_enabled ? null : 'disabled', override_enabled? 'redBackground' : null)}}
+ {{:helper.link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : 'yellowBackground')}}
+ {{:helper.link('MANUAL EJECT', 'alert', {'command' : 'toggle_override'}, can_force ? null : 'disabled', can_force ? 'redBackground' : null)}}
+ {{/if}}
+
+
+
\ No newline at end of file
diff --git a/nano/templates/smartfridge.tmpl b/nano/templates/smartfridge.tmpl
index 9e50bab96d2..b9a7e859480 100644
--- a/nano/templates/smartfridge.tmpl
+++ b/nano/templates/smartfridge.tmpl
@@ -1,35 +1,35 @@
- {{:~link('Close', 'gear', {'close' : 1}, null, 'fixedLeft')}}
+ {{:helper.link('Close', 'gear', {'close' : 1}, null, 'fixedLeft')}}
Storage
- {{if secure}}
+ {{if data.secure}}
- {{:locked == -1 ? "Sec.re ACC_** //):securi_nt.diag=>##'or 1=1'%($..." : "Secure Access: Please have your identification ready."}}
+ {{:data.locked == -1 ? "Sec.re ACC_** //):securi_nt.diag=>##'or 1=1'%($..." : "Secure Access: Please have your identification ready."}}
{{/if}}
- {{if contents}}
- {{for contents}}
+ {{if data.contents}}
+ {{for data.contents}}
- {{:display_name}} ({{:quantity}}):
+ {{:data.display_name}} ({{:data.quantity}}):
- {{:~link('Vend', 'circle-arrow-s', { "vend" : vend, "amount" : 1 }, null, 'statusValue')}}
- {{if quantity >= 5}}
- {{:~link('x5', 'circle-arrow-s', { "vend" : vend, "amount" : 5 }, null, 'statusValue')}}
+ {{:helper.link('Vend', 'circle-arrow-s', { "vend" : vend, "amount" : 1 }, null, 'statusValue')}}
+ {{if data.quantity >= 5}}
+ {{:helper.link('x5', 'circle-arrow-s', { "vend" : vend, "amount" : 5 }, null, 'statusValue')}}
{{/if}}
- {{if quantity >= 10}}
- {{:~link('x10', 'circle-arrow-s', { "vend" : vend, "amount" : 10 }, null, 'statusValue')}}
+ {{if data.quantity >= 10}}
+ {{:helper.link('x10', 'circle-arrow-s', { "vend" : vend, "amount" : 10 }, null, 'statusValue')}}
{{/if}}
- {{if quantity >= 25}}
- {{:~link('x25', 'circle-arrow-s', { "vend" : vend, "amount" : 25 }, null, 'statusValue')}}
+ {{if data.quantity >= 25}}
+ {{:helper.link('x25', 'circle-arrow-s', { "vend" : vend, "amount" : 25 }, null, 'statusValue')}}
{{/if}}
- {{if quantity > 1}}
- {{:~link('All', 'circle-arrow-s', { "vend" : vend, "amount" : quantity }, null, 'statusValue')}}
+ {{if data.quantity > 1}}
+ {{:helper.link('All', 'circle-arrow-s', { "vend" : vend, "amount" : quantity }, null, 'statusValue')}}
{{/if}}
@@ -39,7 +39,7 @@
{{/if}}
-{{if panel_open}}
+{{if data.panel_open}}
Access Panel
@@ -48,17 +48,17 @@
Wires:
- {{for wires}}
+ {{for data.wires}}
-
- {{:wire}} wire:
+
+ {{:data.wire}} wire:
- {{if cut}}
- {{:~link('Mend', 'plus', {'cutwire' : index})}}
+ {{if data.cut}}
+ {{:helper.link('Mend', 'plus', {'cutwire' : index})}}
{{else}}
- {{:~link('Cut', 'minus', {'cutwire' : index})}}
- {{:~link('Pulse', 'signal-diag', {'pulsewire' : index})}}
+ {{:helper.link('Cut', 'minus', {'cutwire' : index})}}
+ {{:helper.link('Pulse', 'signal-diag', {'pulsewire' : index})}}
{{/if}}
@@ -67,12 +67,12 @@
- The orange light is {{:electrified ? "on" : "off"}}.
- The red light is {{:shoot_inventory ? "on" : "off"}}.
- {{if secure}}
+ The orange light is {{:data.electrified ? "on" : "off"}}.
+ The red light is {{:data.shoot_inventory ? "on" : "off"}}.
+ {{if data.secure}}
The green light is
-
- {{:locked == 1 ? "off" : locked == -1 ? "blinking" : "on"}}
+
+ {{:data.locked == 1 ? "off" : locked == -1 ? "blinking" : "on"}}
.
{{/if}}
diff --git a/nano/templates/smes.tmpl b/nano/templates/smes.tmpl
index 760228e4cd5..e2bf4c92f01 100644
--- a/nano/templates/smes.tmpl
+++ b/nano/templates/smes.tmpl
@@ -3,9 +3,9 @@
Stored Capacity:
- {{:~displayBar(storedCapacity, 0, 100, charging ? 'good' : 'average')}}
+ {{:helper.displayBar(storedCapacity, 0, 100, charging ? 'good' : 'average')}}
- {{:~round(storedCapacity)}}%
+ {{:helper.round(storedCapacity)}}%
@@ -16,9 +16,9 @@
Charge Mode:
- {{:~link('Auto', 'refresh', {'cmode' : 1}, chargeMode ? 'selected' : null)}}{{:~link('Off', 'close', {'cmode' : 1}, chargeMode ? null : 'selected')}}
+ {{:helper.link('Auto', 'refresh', {'cmode' : 1}, chargeMode ? 'selected' : null)}}{{:helper.link('Off', 'close', {'cmode' : 1}, chargeMode ? null : 'selected')}}
- {{if charging}}
+ {{if data.charging}}
[Charging]
{{else}}
[Not Charging]
@@ -31,12 +31,12 @@
Input Level:
- {{:~displayBar(chargeLevel, 0, chargeMax)}}
+ {{:helper.displayBar(chargeLevel, 0, chargeMax)}}
- {{:~link('MIN', null, {'input' : 'min'}, (chargeLevel > 0) ? null : 'disabled')}}
- {{:~link('SET', null, {'input' : 'set'}, null)}}
- {{:~link('MAX', null, {'input' : 'max'}, (chargeLevel < chargeMax) ? null : 'disabled')}}
-
{{:chargeLevel}} W
+ {{:helper.link('MIN', null, {'input' : 'min'}, (chargeLevel > 0) ? null : 'disabled')}}
+ {{:helper.link('SET', null, {'input' : 'set'}, null)}}
+ {{:helper.link('MAX', null, {'input' : 'max'}, (chargeLevel < chargeMax) ? null : 'disabled')}}
+
{{:data.chargeLevel}} W
@@ -47,7 +47,7 @@
Output Status:
- {{:~link('Online', 'power', {'online' : 1}, outputOnline ? 'selected' : null)}}{{:~link('Offline', 'close', {'online' : 1}, outputOnline ? null : 'selected')}}
+ {{:helper.link('Online', 'power', {'online' : 1}, outputOnline ? 'selected' : null)}}{{:helper.link('Offline', 'close', {'online' : 1}, outputOnline ? null : 'selected')}}
@@ -56,12 +56,12 @@
Output Level:
- {{:~displayBar(outputLevel, 0, outputMax)}}
+ {{:helper.displayBar(outputLevel, 0, outputMax)}}
- {{:~link('MIN', null, {'output' : 'min'}, (outputLevel > 0) ? null : 'disabled')}}
- {{:~link('SET', null, {'output' : 'set'}, null)}}
- {{:~link('MAX', null, {'output' : 'max'}, (outputLevel < outputMax) ? null : 'disabled')}}
-
{{:outputLevel}} W
+ {{:helper.link('MIN', null, {'output' : 'min'}, (outputLevel > 0) ? null : 'disabled')}}
+ {{:helper.link('SET', null, {'output' : 'set'}, null)}}
+ {{:helper.link('MAX', null, {'output' : 'max'}, (outputLevel < outputMax) ? null : 'disabled')}}
+
{{:data.outputLevel}} W
@@ -71,9 +71,9 @@
Output Load:
- {{:~displayBar(outputLoad, 0, outputMax, (outputLoad < outputLevel) ? 'good' : 'average')}}
+ {{:helper.displayBar(outputLoad, 0, outputMax, (outputLoad < outputLevel) ? 'good' : 'average')}}
- {{:outputLoad}} W
+ {{:data.outputLoad}} W
\ No newline at end of file
diff --git a/nano/templates/tanks.tmpl b/nano/templates/tanks.tmpl
index af7ab874f64..ab64597b211 100644
--- a/nano/templates/tanks.tmpl
+++ b/nano/templates/tanks.tmpl
@@ -1,4 +1,4 @@
-{{if maskConnected}}
+{{if data.maskConnected}}
This tank is connected to a mask.
{{else}}
This tank is NOT connected to a mask.
@@ -9,9 +9,9 @@
Tank Pressure:
- {{:~displayBar(tankPressure, 0, 1013, (tankPressure > 200) ? 'good' : (tankPressure > 100) ? 'average' : 'bad'))}}
+ {{:helper.displayBar(tankPressure, 0, 1013, (tankPressure > 200) ? 'good' : (tankPressure > 100) ? 'average' : 'bad'))}}
- {{:tankPressure}} kPa
+ {{:data.tankPressure}} kPa
@@ -23,15 +23,15 @@
Mask Release Pressure:
- {{:~displayBar(releasePressure, 0, maxReleasePressure, (releasePressure >= 23) ? null : ((releasePressure >= 17) ? 'average' : 'bad'))}}
+ {{:helper.displayBar(releasePressure, 0, maxReleasePressure, (releasePressure >= 23) ? null : ((releasePressure >= 17) ? 'average' : 'bad'))}}
- {{:~link('-', null, {'dist_p' : -10}, (releasePressure > 0) ? null : 'disabled')}}
- {{:~link('-', null, {'dist_p' : -1}, (releasePressure > 0) ? null : 'disabled')}}
-
{{:releasePressure}} kPa
- {{:~link('+', null, {'dist_p' : 1}, (releasePressure < maxReleasePressure) ? null : 'disabled')}}
- {{:~link('+', null, {'dist_p' : 10}, (releasePressure < maxReleasePressure) ? null : 'disabled')}}
- {{:~link('Max', null, {'dist_p' : 'max'}, (releasePressure < maxReleasePressure) ? null : 'disabled')}}
- {{:~link('Reset', null, {'dist_p' : 'reset'}, (releasePressure != defaultReleasePressure) ? null : 'disabled')}}
+ {{:helper.link('-', null, {'dist_p' : -10}, (releasePressure > 0) ? null : 'disabled')}}
+ {{:helper.link('-', null, {'dist_p' : -1}, (releasePressure > 0) ? null : 'disabled')}}
+
{{:data.releasePressure}} kPa
+ {{:helper.link('+', null, {'dist_p' : 1}, (releasePressure < maxReleasePressure) ? null : 'disabled')}}
+ {{:helper.link('+', null, {'dist_p' : 10}, (releasePressure < maxReleasePressure) ? null : 'disabled')}}
+ {{:helper.link('Max', null, {'dist_p' : 'max'}, (releasePressure < maxReleasePressure) ? null : 'disabled')}}
+ {{:helper.link('Reset', null, {'dist_p' : 'reset'}, (releasePressure != defaultReleasePressure) ? null : 'disabled')}}
@@ -41,7 +41,7 @@
Mask Release Valve:
- {{:~link('Open', 'unlocked', {'stat' : 1}, (!maskConnected) ? 'disabled' : (valveOpen ? 'selected' : null))}}{{:~link('Close', 'locked', {'stat' : 1}, valveOpen ? null : 'selected')}}
+ {{:helper.link('Open', 'unlocked', {'stat' : 1}, (!maskConnected) ? 'disabled' : (valveOpen ? 'selected' : null))}}{{:helper.link('Close', 'locked', {'stat' : 1}, valveOpen ? null : 'selected')}}
diff --git a/nano/templates/telescience_console.tmpl b/nano/templates/telescience_console.tmpl
index bd88dc4586d..5906a4e38e6 100644
--- a/nano/templates/telescience_console.tmpl
+++ b/nano/templates/telescience_console.tmpl
@@ -5,16 +5,16 @@ Used In File(s): \code\modules\telesci\telesci_computer.dm
Coordinates:
- {{:~link('X: ' + coordx, 'gear', {'setx': 1})}}
- {{:~link('Y: ' + coordy, 'gear', {'sety': 1})}}
- {{:~link('Z: ' + coordz, 'gear', {'setz': 1})}}
+ {{:helper.link('X: ' + coordx, 'gear', {'setx': 1})}}
+ {{:helper.link('Y: ' + coordy, 'gear', {'sety': 1})}}
+ {{:helper.link('Z: ' + coordz, 'gear', {'setz': 1})}}
Controls:
- {{:~link('Send', 'gear', {'send': 1}, null, (coordx != null && coordy != null && coordz != null) ? '' : 'disabled')}}
- {{:~link('Receive', 'gear', {'receive': 1}, null, (coordx != null && coordy != null && coordz != null) ? '' : 'disabled')}}
- {{:~link('Recalibrate', 'gear', {'recal': 1})}}
+ {{:helper.link('Send', 'gear', {'send': 1}, null, (coordx != null && coordy != null && coordz != null) ? '' : 'disabled')}}
+ {{:helper.link('Receive', 'gear', {'receive': 1}, null, (coordx != null && coordy != null && coordz != null) ? '' : 'disabled')}}
+ {{:helper.link('Recalibrate', 'gear', {'recal': 1})}}
diff --git a/nano/templates/transfer_valve.tmpl b/nano/templates/transfer_valve.tmpl
index c2d957652a9..470a097469f 100644
--- a/nano/templates/transfer_valve.tmpl
+++ b/nano/templates/transfer_valve.tmpl
@@ -3,12 +3,12 @@
Attachment One:
- {{if attachmentOne}}
- {{:attachmentOne}}
+ {{if data.attachmentOne}}
+ {{:data.attachmentOne}}
{{else}}
None
{{/if}}
- {{:~link('Remove', 'eject', {'tankone' : 1}, attachmentOne ? null : 'disabled')}}
+ {{:helper.link('Remove', 'eject', {'tankone' : 1}, attachmentOne ? null : 'disabled')}}
@@ -17,12 +17,12 @@
Attachment Two:
- {{if attachmentTwo}}
- {{:attachmentTwo}}
+ {{if data.attachmentTwo}}
+ {{:data.attachmentTwo}}
{{else}}
None
{{/if}}
- {{:~link('Remove', 'eject', {'tanktwo' : 1}, attachmentTwo ? null : 'disabled')}}
+ {{:helper.link('Remove', 'eject', {'tanktwo' : 1}, attachmentTwo ? null : 'disabled')}}
@@ -31,12 +31,15 @@
Valve Attachment:
- {{if valveAttachment}}
- {{:valveAttachment}}
+ {{if data.valveAttachment}}
+ {{:data.valveAttachment}}
{{else}}
None
{{/if}}
- {{:~link('Remove', 'eject', {'rem_device' : 1}, valveAttachment ? null : 'disabled')}}
+ {{:helper.link('Remove', 'eject', {'rem_device' : 1}, valveAttachment ? null : 'disabled')}}
+ {{if data.valveAttachment}}
+ {{:helper.link('View', 'wrench', {'device' : 1})}}
+ {{/if}}
@@ -47,7 +50,7 @@
Valve Status:
- {{:~link('Open', 'unlocked', {'open' : 1}, (!attachmentOne || !attachmentTwo) ? 'disabled' : (valveOpen ? 'selected' : null))}}{{:~link('Close', 'locked', {'open' : 1}, (!attachmentOne || !attachmentTwo) ? 'disabled' : (valveOpen ? null : 'selected'))}}
+ {{:helper.link('Open', 'unlocked', {'open' : 1}, (!attachmentOne || !attachmentTwo) ? 'disabled' : (valveOpen ? 'selected' : null))}}{{:helper.link('Close', 'locked', {'open' : 1}, (!attachmentOne || !attachmentTwo) ? 'disabled' : (valveOpen ? null : 'selected'))}}
diff --git a/nano/templates/uplink.tmpl b/nano/templates/uplink.tmpl
index 34188899a59..d11160772ea 100644
--- a/nano/templates/uplink.tmpl
+++ b/nano/templates/uplink.tmpl
@@ -3,15 +3,15 @@
Title: Syndicate Uplink, uses some javascript to change nanoUI up a bit.
Used In File(s): \code\game\objects\items\devices\uplinks.dm
-->
-{{:~syndicateMode()}}
-{{:welcome}}
+{{:helper.syndicateMode()}}
+{{:data.welcome}}
Functions:
- {{:~link('Close', 'gear', {'lock' : "1"}, null, 'fixedLeft')}}
+ {{:helper.link('Close', 'gear', {'lock' : "1"}, null, 'fixedLeft')}}
@@ -20,20 +20,20 @@ Used In File(s): \code\game\objects\items\devices\uplinks.dm
Tele-Crystals:
- {{:crystals}}
+ {{:data.crystals}}
Request items:
Each item costs a number of tele-crystals as indicated by the number following their name.
-{{for nano_items}}
+{{for data.nano_items}}
-
{{:Category}}
+ {{:data.Category}}
- {{for items}}
+ {{for data.items}}
- {{:~link( Name, 'gear', {'buy_item' : obj_path, 'cost' : Cost}, Cost > ~root.crystals ? 'disabled' : null, null)}} - {{:Cost}}
+ {{:helper.link( Name, 'gear', {'buy_item' : obj_path, 'cost' : Cost}, Cost > ~root.crystals ? 'disabled' : null, null)}} - {{:data.Cost}}
{{/for}}
@@ -41,6 +41,6 @@ Used In File(s): \code\game\objects\items\devices\uplinks.dm
{{/for}}
- {{:~link('Buy Random (??)' , 'gear', {'buy_item' : 'random'}, null, 'fixedLeftWidest')}}
+ {{:helper.link('Buy Random (??)' , 'gear', {'buy_item' : 'random'}, null, 'fixedLeftWidest')}}