mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 22:47:59 +01:00
Fix cloning console nano update issues
This commit is contained in:
@@ -119,7 +119,7 @@
|
||||
return
|
||||
var/data[0]
|
||||
data["menu"] = src.menu
|
||||
data["scanner"] = src.scanner
|
||||
data["scanner"] = sanitize("[src.scanner]")
|
||||
|
||||
var/canpodautoprocess = 0
|
||||
if(pods.len)
|
||||
@@ -130,7 +130,7 @@
|
||||
if(pod.efficiency > 5)
|
||||
canpodautoprocess = 1
|
||||
|
||||
tempods.Add(list(list("pod" = "\ref[pod]", "name" = capitalize(pod.name), "biomass" = pod.biomass)))
|
||||
tempods.Add(list(list("pod" = "\ref[pod]", "name" = sanitize(capitalize(pod.name)), "biomass" = pod.biomass)))
|
||||
data["pods"] = tempods
|
||||
|
||||
data["loading"] = loading
|
||||
@@ -150,7 +150,7 @@
|
||||
var/list/temprecords[0]
|
||||
for(var/datum/dna2/record/R in records)
|
||||
var tempRealName = R.dna.real_name
|
||||
temprecords.Add(list(list("record" = "\ref[R]", "realname" = tempRealName)))
|
||||
temprecords.Add(list(list("record" = "\ref[R]", "realname" = sanitize(tempRealName))))
|
||||
data["records"] = temprecords
|
||||
|
||||
if(src.menu == 3)
|
||||
@@ -162,7 +162,7 @@
|
||||
|
||||
if ((H) && (istype(H)))
|
||||
data["health"] = H.sensehealth()
|
||||
data["realname"] = src.active_record.dna.real_name
|
||||
data["realname"] = sanitize(src.active_record.dna.real_name)
|
||||
data["unidentity"] = src.active_record.dna.uni_identity
|
||||
data["strucenzymes"] = src.active_record.dna.struc_enzymes
|
||||
if(selected_pod && (selected_pod in pods) && selected_pod.biomass >= CLONE_BIOMASS)
|
||||
|
||||
@@ -65,17 +65,21 @@ Used In File(s): \code\game\machinery\computer\cloning.dm
|
||||
{{if data.numberofpods}}
|
||||
<h2>Pods</h2>
|
||||
{{for data.pods}}
|
||||
<div class="item">
|
||||
<b>{{:value.name}}</b>
|
||||
<b>{{:value.name}}</b></br>
|
||||
<div class="item">
|
||||
<div class="itemLabelNarrow">Biomass</div>
|
||||
<div class="itemContentWide{{if value.biomass > 0}} good{{else}} bad{{/if}}">
|
||||
{{:value.biomass}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="itemLabelNarrow">Select</div>
|
||||
<div class="itemContentWide">
|
||||
{{:helper.link('Select', 'check', {'selectpod' : value.pod}, value.pod == data.selected_pod ? 'selected' : '')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{/for}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
@@ -108,7 +112,7 @@ Used In File(s): \code\game\machinery\computer\cloning.dm
|
||||
</div>
|
||||
<div class="item">
|
||||
<b>UI:</b> {{:data.unidentity}}<br />
|
||||
<b>SE:</b> {{:data.strucenzymes}}
|
||||
<b>SE:</b> <div style="word-wrap: break-word;">{{:data.strucenzymes}}</div>
|
||||
</div>
|
||||
{{if data.disk}}
|
||||
<div class="item">
|
||||
|
||||
Reference in New Issue
Block a user