Adds descriptions to things you can take the cell out of (#5323)

* descripshuns

* Revert "descripshuns"

This reverts commit b32e87dd9ed5ab031fbd98512fc90c92ae0d2a35.

* update

* code readability
This commit is contained in:
Tom
2021-04-29 23:42:52 +01:00
committed by GitHub
parent 825e113886
commit 3ec025968c
@@ -124,7 +124,8 @@ component_cell_out_of_charge/component_cell_removed proc using loc where necessa
if(!inserted_cell)
examine_list += "<span class='danger'>It does not have a cell inserted!</span>"
else if(!inside_robot)
examine_list += "<span class='notice'>It has [inserted_cell] inserted. It has <b>[inserted_cell.percent()]%</b> charge left."
examine_list += "<span class='notice'>It has [inserted_cell] inserted. It has <b>[inserted_cell.percent()]%</b> charge left.\
Ctrl+Shift+Click to remove the [inserted_cell]."
else
examine_list += "<span class='notice'>It is drawing power from an external powersource, reading <b>[inserted_cell.percent()]%</b> charge.</span>"