Skip to content

Commit

Permalink
extend tooltip, remove scanforinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kherae committed Nov 4, 2023
1 parent 042e649 commit 090a462
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
10 changes: 5 additions & 5 deletions objects/kheAA/kheAA_containerLink/kheAA_containerLink.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ function init()
self.outPartialFillNode=config.getParameter("kheAA_outPartialFillNode")
self.outCompleteFillNode=config.getParameter("kheAA_outCompleteFillNode")

local desc="^blue;Input: ^white;item network^reset;\n^red;Output: ^white;item network^reset;"
if self.outPartialFillNode then
desc=desc.."\n^red;Lower output: ^white;item network^reset;\n^red;Upper outputs: ^white;Partial/Complete Fill^reset;"
end
object.setConfigParameter('description',desc)
-- local desc="^blue;Input: ^white;item network^reset;\n^red;Output: ^white;item network^reset;"
-- if self.outPartialFillNode then
-- desc=desc.."\n^red;Lower output: ^white;item network^reset;\n^red;Upper outputs: ^white;Partial/Complete Fill^reset;"
-- end
-- object.setConfigParameter('description',desc)
end

function update(dt)
Expand Down
4 changes: 3 additions & 1 deletion objects/kheAA/kheAA_containerLink/kheAA_containerLink.object
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"objectName" : "network_containerlink",
"tooltipKind":"basenew",
"printable" : false,
"rarity" : "Common",
"description" : "Marks containers for use by an item network. Place near object placement point. Scan for more info.",
"description" : "Marks containers for use by an item network. Place near object placement point.
^blue;Input: ^white;item network^reset;\n^red;Output: ^white;item network^reset;",
"shortdescription" : "Storage Bridge",
"race" : "generic",
// "learnBlueprintsOnPickup":["network_containerlink2","network_pointsensor"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"objectName" : "network_containerlink2",
"tooltipKind":"basenew",
"printable" : false,
"rarity" : "Common",
"description" : "Marks containers for use by an item network. Place near object placement point. Scan for more info.",
"description" : "Marks containers for use by an item network. Place near object placement point.
^blue;Input: ^white;item network^reset;\n^red;Output: ^white;item network^reset;
^red;Lower output: ^white;item network^reset;\n^red;Upper outputs: ^white;Partial/Complete Fill^reset;",
"shortdescription" : "Storage Bridge V2",
"race" : "generic",

Expand Down

0 comments on commit 090a462

Please sign in to comment.