mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-16 17:44:25 +01:00
Display OOC notes on mind and body records
This commit is contained in:
@@ -165,7 +165,8 @@
|
||||
"gender" = active_br.bodygender, \
|
||||
"synthetic" = active_br.synthetic ? "Yes" : "No", \
|
||||
"locked" = active_br.locked ? "Low" : "High", \
|
||||
"cando" = can_grow_active)
|
||||
"cando" = can_grow_active,
|
||||
"booc" = active_br.body_oocnotes)
|
||||
else
|
||||
data["activeRecord"] = null
|
||||
|
||||
@@ -175,7 +176,8 @@
|
||||
can_sleeve_current = 0
|
||||
data["activeMindRecord"] = list("charname" = active_mr.mindname, \
|
||||
"obviously_dead" = active_mr.dead_state == MR_DEAD ? "Past-due" : "Current", \
|
||||
"cando" = can_sleeve_current)
|
||||
"cando" = can_sleeve_current,
|
||||
"mooc" = active_mr.mind_oocnotes)
|
||||
else
|
||||
data["activeMindRecord"] = null
|
||||
|
||||
@@ -215,6 +217,12 @@
|
||||
active_mr = null
|
||||
temp = "ERROR: Record missing."
|
||||
|
||||
else if (href_list["boocnotes"])
|
||||
menu = 6
|
||||
|
||||
else if (href_list["moocnotes"])
|
||||
menu = 7
|
||||
|
||||
else if (href_list["refresh"])
|
||||
updateUsrDialog()
|
||||
|
||||
|
||||
@@ -108,6 +108,10 @@
|
||||
<div class='itemLabel'>Synthetic:</div>
|
||||
<div class='itemContent'>{{:data.activeBodyRecord.synthetic}}</div>
|
||||
</div>
|
||||
<div class='item'>
|
||||
<div class='itemLabel'>OOC Notes:</div>
|
||||
<div class='itemContent'>{{:helper.link('View', null, {'boocnotes' : data.activeBodyRecord.booc}, data.activeBodyRecord.booc ? null : 'linkOff')}}</div>
|
||||
</div>
|
||||
|
||||
{{:helper.link('Create', 'play', {'create' : data.activeBodyRecord.real_name}, data.activeBodyRecord.cando ? null : 'linkOff')}}
|
||||
|
||||
@@ -126,13 +130,40 @@
|
||||
<div class='itemContent'>{{:data.activeMindRecord.charname}}</div>
|
||||
</div>
|
||||
<div class='item'>
|
||||
<div class='itemLabel'>Backup status:</div>
|
||||
<div class='itemLabel'>Backup Status:</div>
|
||||
<div class='itemContent'>{{:data.activeMindRecord.obviously_dead}}</div>
|
||||
</div>
|
||||
<div class='item'>
|
||||
<div class='itemLabel'>OOC Notes:</div>
|
||||
<div class='itemContent'>{{:helper.link('View', null, {'moocnotes' : data.activeMindRecord.mooc}, data.activeMindRecord.mooc ? null : 'linkOff')}}</div>
|
||||
</div>
|
||||
{{:helper.link('Sleeve', 'play', {'sleeve' : data.activeMindRecord.charname}, data.activeMindRecord.cando ? null : 'linkOff')}}
|
||||
|
||||
{{else}}
|
||||
<div class='item bad'>ERROR: Record not found.</div>
|
||||
{{/if}}
|
||||
|
||||
<!-- Menu6: Body OOC Notes -->
|
||||
{{else data.menu == 6}}
|
||||
<h3>Body OOC Notes (This is OOC!)</h3>
|
||||
<div class='item'>{{:helper.link('Back', 'arrowreturn-1-w', {'menu' : 4})}}</div>
|
||||
{{if data.activeBodyRecord}}
|
||||
<div class='itemLabel'>Notes:</div>
|
||||
<div class='itemContent'>{{:data.activeBodyRecord.booc}}</div>
|
||||
{{else}}
|
||||
<div class='item bad'>ERROR: Record not found.</div>
|
||||
{{/if}}
|
||||
|
||||
<!-- Menu7: Mind OOC Notes -->
|
||||
{{else data.menu == 7}}
|
||||
<h3>Mind OOC Notes (This is OOC!)</h3>
|
||||
<div class='item'>{{:helper.link('Back', 'arrowreturn-1-w', {'menu' : 5})}}</div>
|
||||
{{if data.activeMindRecord}}
|
||||
<div class='itemLabel'>Notes:</div>
|
||||
<div class='itemContent'>{{:data.activeMindRecord.mooc}}</div>
|
||||
{{else}}
|
||||
<div class='item bad'>ERROR: Record not found.</div>
|
||||
{{/if}}
|
||||
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
Reference in New Issue
Block a user