Add fallback value in GUI sprite button tooltips for entity prototypes

This commit is contained in:
Will Berry
2023-04-04 11:53:23 -04:00
parent 9f9477bffa
commit 704acf3850
2 changed files with 12 additions and 12 deletions

View File

@@ -174,7 +174,7 @@ function inventory_tab.build(map_data, player_data)
tooltip = { "",
img_path,
" [font=default-semibold]",
{ item_string },
item_string,
"[/font]\n"..format.number(count),
},
}
@@ -198,7 +198,7 @@ function inventory_tab.build(map_data, player_data)
tooltip = { "",
img_path,
" [font=default-semibold]",
{ item_string },
item_string,
"[/font]\n"..format.number(count),
},
}
@@ -222,7 +222,7 @@ function inventory_tab.build(map_data, player_data)
tooltip = { "",
img_path,
" [font=default-semibold]",
{ item_string },
item_string,
"[/font]\n"..format.number(count),
},
}