forked from ParadiseSS13/Paradise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpai_interface.tmpl
45 lines (41 loc) · 1.01 KB
/
pai_interface.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
<!-- pAI interface file
code/modules/mob/living/silicon/pai/software.dm
-->
<span class="item">
<span class="itemLabel">
Emotion:
</span>
<span class="itemContent">
{{for data.emotions}}
{{:helper.link(value.name, '', {"image" : value.id}, data.current_emotion == value.id ? 'selected' : null)}}
{{/for}}
</span>
</span>
<span class="item">
<span class="itemLabel">
Installed Software:
</span>
<span class="itemContent">
{{for data.bought}}
{{:helper.link(value.name, '', {"software" : value.id}, null, value.on ? 'selected' : null)}}
{{/for}}
</span>
</span>
<span class="item">
<span class="itemLabel">
Available RAM:
</span>
<span class="itemContent">
{{:data.available_ram}}
</span>
</span>
<span class="item">
<span class="itemLabel">
Downloadable Software:
</span>
<span class="itemContent">
{{for data.not_bought}}
{{:helper.link(value.name + " (" + value.ram + ")", '', {"purchase" : value.id}, value.ram <= data.available_ram ? null : 'disabled')}}
{{/for}}
</span>
</span>