in the debug mode terrain descriptions, also give the editor image
This is helpful if you are trying to figure out what to put in the <img> tags when inserting an image for a terrain in a help entry.
This commit is contained in:
parent
b7a8b53493
commit
9494754509
1 changed files with 6 additions and 0 deletions
|
@ -1362,6 +1362,12 @@ public:
|
|||
ss << "Light Bonus: " << type_.light_bonus(0) << "\n";
|
||||
|
||||
ss << type_.income_description();
|
||||
|
||||
if (type_.editor_image().empty()) { // Note: this is purely temporary to help make a different help entry
|
||||
ss << "\nEditor Image: Empty\n";
|
||||
} else {
|
||||
ss << "\nEditor Image: " << type_.editor_image() << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
return ss.str();
|
||||
|
|
Loading…
Add table
Reference in a new issue