forked from ParadiseSS13/Paradise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomputer_fabricator.tmpl
82 lines (81 loc) · 4.98 KB
/
computer_fabricator.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{{:helper.link('Clear Order', 'circle', {'action' : 'clean_order'})}}<br><br>
<i>Your new computer device you always dreamed of is just four steps away...</i><hr>
{{if data.state == 0}}
<div class='item'>
<h2>Step 1: Select your device type</h2>
{{:helper.link('Laptop', 'laptop', {'action' : 'pick_device', 'pick' : 1})}}
{{:helper.link('Tablet', 'tablet', {'action' : 'pick_device', 'pick' : 2})}}
</div>
{{else data.state == 1}}
<div class='item'>
<h2>Step 2: Personalise your device</h2>
<table>
<tr>
<td><b>Current Price:</b>
<td>{{:data.totalprice}}C
</tr>
<tr>
<td><b>Battery:</b>
<td>{{:helper.link('Standard', 'bolt', {'action' : 'hw_battery', 'battery' : 1}, data.hw_battery == 1 ? "selected" : null)}}
<td>{{:helper.link('Upgraded', 'bolt', {'action' : 'hw_battery', 'battery' : 2}, data.hw_battery == 2 ? "selected" : null)}}
<td>{{:helper.link('Advanced', 'bolt', {'action' : 'hw_battery', 'battery' : 3}, data.hw_battery == 3 ? "selected" : null)}}
</tr>
<tr>
<td><b>Hard Drive:</b>
<td>{{:helper.link('Standard', 'hdd-o', {'action' : 'hw_disk', 'disk' : 1}, data.hw_disk == 1 ? "selected" : null)}}
<td>{{:helper.link('Upgraded', 'hdd-o', {'action' : 'hw_disk', 'disk' : 2}, data.hw_disk == 2 ? "selected" : null)}}
<td>{{:helper.link('Advanced', 'hdd-o', {'action' : 'hw_disk', 'disk' : 3}, data.hw_disk == 3 ? "selected" : null)}}
</tr>
<tr>
<td><b>Network Card:</b>
<td>{{:helper.link('None', 'times', {'action' : 'hw_netcard', 'netcard' : 0}, data.hw_netcard == 0 ? "selected" : null)}}
<td>{{:helper.link('Standard', 'signal', {'action' : 'hw_netcard', 'netcard' : 1}, data.hw_netcard == 1 ? "selected" : null)}}
<td>{{:helper.link('Advanced', 'signal', {'action' : 'hw_netcard', 'netcard' : 2}, data.hw_netcard == 2 ? "selected" : null)}}
</tr>
<tr>
<td><b>Nano Printer:</b>
<td>{{:helper.link('None', 'times', {'action' : 'hw_nanoprint', 'print' : 0}, data.hw_nanoprint == 0 ? "selected" : null)}}
<td>{{:helper.link('Standard', 'print', {'action' : 'hw_nanoprint', 'print' : 1}, data.hw_nanoprint == 1 ? "selected" : null)}}
</tr>
<tr>
<td><b>Card Reader:</b>
<td>{{:helper.link('None', 'times', {'action' : 'hw_card', 'card' : 0}, data.hw_card == 0 ? "selected" : null)}}
<td>{{:helper.link('Standard', 'credit-card', {'action' : 'hw_card', 'card' : 1}, data.hw_card == 1 ? "selected" : null)}}
</tr>
{{if data.devtype != 2}}
<tr>
<td><b>Processor Unit:</b>
<td>{{:helper.link('Standard', 'tasks', {'action' : 'hw_cpu', 'cpu' : 1}, data.hw_cpu == 1 ? "selected" : null)}}
<td>{{:helper.link('Advanced', 'tasks', {'action' : 'hw_cpu', 'cpu' : 2}, data.hw_cpu == 2 ? "selected" : null)}}
</tr>
<tr>
<td><b>Tesla Relay:</b>
<td>{{:helper.link('None', 'times', {'action' : 'hw_tesla', 'tesla' : 0}, data.hw_tesla == 0 ? "selected" : null)}}
<td>{{:helper.link('Standard', 'plug', {'action' : 'hw_tesla', 'tesla' : 1}, data.hw_tesla == 1 ? "selected" : null)}}
</tr>
{{/if}}
</table>
<table>
<tr>
<td><b>Confirm Order:</b>
<td>{{:helper.link('CONFIRM', 'check', {'action' : 'confirm_order'})}}
</tr>
</table>
<hr>
<b>Battery</b> allows your device to operate without external utility power source. Advanced batteries increase battery life.<br>
<b>Hard Drive</b> stores file on your device. Advanced drives can store more files, but use more power, shortening battery life.<br>
<b>Network Card</b> allows your device to wirelessly connect to stationwide NTNet network. Basic cards are limited to on-station use, while advanced cards can operate anywhere near the station, which includes the asteroid outposts.<br>
<b>Processor Unit</b> is critical for your device's functionality. It allows you to run programs from your hard drive. Advanced CPUs use more power, but allow you to run more programs on background at once.<br>
<b>Tesla Relay</b> is an advanced wireless power relay that allows your device to connect to nearby area power controller to provide alternative power source. This component is currently unavailable on tablet computers due to size restrictions.<br>
<b>Nano Printer</b> is device that allows for various paperwork manipulations, such as, scanning of documents or printing new ones. This device was certified EcoFriendlyPlus and is capable of recycling existing paper for printing purposes.<br>
<b>Card Reader</b> adds a slot that allows you to manipulate RFID cards. Please note that this is not necessary to allow the device to read your identification, it is just necessary to manipulate other cards.
</div>
{{else data.state == 2}}
<h2>Step 3: Payment</h2>
<b>Your device is now ready for fabrication..</b><br>
<i>Please swipe your identification card to finish purchase.</i><br>
<i>Total price: <b>{{:data.totalprice}}C</b></i>
{{else data.state == 3}}
<h2>Step 4: Thank you for your purchase</h2>
<b>Should you experience any issues with your new device, contact technical support at [email protected]</b>
{{/if}}