From ceaaae0d25b8090a412f97ca4725cc75c364836f Mon Sep 17 00:00:00 2001 From: Arkerthan <arkerthan@gmail.com> Date: Tue, 17 Sep 2019 17:13:47 +0200 Subject: [PATCH] formatting --- src/npc/descriptions/limbs.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/npc/descriptions/limbs.js b/src/npc/descriptions/limbs.js index d2e6657084a..5bc6edde3a3 100644 --- a/src/npc/descriptions/limbs.js +++ b/src/npc/descriptions/limbs.js @@ -160,11 +160,11 @@ App.Desc.limbChange = function() { if (slave.PLimb > 1) { r += row("Cybernetic limb", 6); } else { - r += "<div class='cyber'><center>//Install an advanced interface to attach cybernetic limbs.//</center></div>"; + r += "<div class='cyber' style='text-align: center;'>//Install an advanced interface to attach cybernetic limbs.//</div>"; } } - r = `<<set _newState = [${state}]>>` + + r = `<br><br><<set _newState = [${state}]>>` + "<style> .selector{display: grid; grid-template-columns: 200px 100px 100px 100px 100px;}" + ".cyber {grid-column-start: 1; grid-column-end: 6;</style>" + `<div class='selector'>${r}</div>${apply()}`; @@ -232,6 +232,7 @@ App.Desc.limbChange = function() { */ function reaction(slave, oldLimbs, returnTo = "") { let r = "//Slave's reaction//"; + // TODO // reaction based on limb change & devotion/trust if (returnTo) { r = `<br><br>${r}<br>[[Continue|${returnTo}]]`; -- GitLab