diff --git a/src/interaction/prostheticConfig.tw b/src/interaction/prostheticConfig.tw index f628de0ddf67c45ede151be337a56615dbededd2..be79bc78afa2d5188176c8c32e722c4392c73c8f 100644 --- a/src/interaction/prostheticConfig.tw +++ b/src/interaction/prostheticConfig.tw @@ -230,11 +230,16 @@ This room is lined with shelves and cabinets, it could be easily mistaken for a <style> .container { display: grid; - grid-template-columns: 300px 200px 200px; + grid-template-columns: 300px 150px 150px 150px; } .full { grid-column-start: 2; - grid-column-end: 4; + grid-column-end: 5; + } + .research { + grid-column-start: 3; + grid-column-end: 5; + text-align: center; } </style> @@ -244,6 +249,15 @@ This room is lined with shelves and cabinets, it could be easily mistaken for a <div> <<if $researchLab.level > 0>> <<= App.UI.disabledLink(`''Construct in lab''`, ["Depending on lab speed might be faster than fitting an existing prosthetic but almost always faster than first building and than fitting it to $him."])>> + <<else>> + <<= App.UI.disabledLink(`''Construct in lab''`, ["With a lab you could both increase speed and decrease cost."])>> + <</if>> + </div> + <div style="text-align:right"> + <<if $researchLab.speed >= 300>> /* max speed */ + <<= App.UI.disabledLink(`''Fast assembly''`, ["Your lab is so fast that fitting prosthetics to your slave can done instantly though you will sacrifice some efficiency."])>> + <<elseif $researchLab.level > 0>> + <<= App.UI.disabledLink(`''Fast assembly''`, ["Your lab is not fast enough to fit prosthetics instantly."])>> <</if>> </div> @@ -269,7 +283,8 @@ This room is lined with shelves and cabinets, it could be easily mistaken for a <</link>> <</if>> </div> - <div> + <<if $prosthetics[_p].research > 0>> + <div style="text-align:center"> <<if $researchLab.level > 0 && $prosthetics[_p].research > 0>> <<link "Construct" "Prosthetics Configuration">> <<set $researchLab.tasks.push({ @@ -281,6 +296,24 @@ This room is lined with shelves and cabinets, it could be easily mistaken for a <</link>> <</if>> </div> + <div style="text-align:right"> + <<if $researchLab.speed >= 300 && $prosthetics[_p].research > 0>> /* max speed */ + <<if $prosthetics[_p].amount > 0>> + <<link "From storage: <<= cashFormat(setup.prosthetics[_p].adjust * 50)>>" "Prosthetics Configuration">> + <<set cashX(forceNeg(setup.prosthetics[_p].costs * 1.5), "slaveMod", $activeSlave), addProsthetic($activeSlave, _p)>> + <</link>> + <<else>> + <<link "<<= cashFormat(setup.prosthetics[_p].costs + setup.prosthetics[_p].adjust * 100)>>" "Prosthetics Configuration">> + <<set cashX(forceNeg(setup.prosthetics[_p].costs + setup.prosthetics[_p].adjust * 100), "slaveMod", $activeSlave), addProsthetic($activeSlave, _p)>> + <</link>> + <</if>> + <</if>> + </div> + <<elseif $researchLab.level > 0>> + <div class="research"> + //Not researched.// + </div> + <</if>> <</capture>> <</if>> <</if>>