Add: [Script] Custom news message text for industry SetProductionLevel.
(cherry picked from commit 0089323542
)
This commit is contained in:

committed by
Jonathan G Rennison

parent
4c6ed36b6a
commit
fb6d85dbe5
@@ -47,9 +47,9 @@ static inline void AddTileNewsItem(StringID string, NewsType type, TileIndex til
|
||||
AddNewsItem(string, type, NF_NO_TRANSPARENT | NF_SHADE | NF_THIN, NR_TILE, tile, station == INVALID_STATION ? NR_NONE : NR_STATION, station, data);
|
||||
}
|
||||
|
||||
static inline void AddIndustryNewsItem(StringID string, NewsType type, IndustryID industry)
|
||||
static inline void AddIndustryNewsItem(StringID string, NewsType type, IndustryID industry, const NewsAllocatedData *data = nullptr)
|
||||
{
|
||||
AddNewsItem(string, type, NF_NO_TRANSPARENT | NF_SHADE | NF_THIN, NR_INDUSTRY, industry);
|
||||
AddNewsItem(string, type, NF_NO_TRANSPARENT | NF_SHADE | NF_THIN, NR_INDUSTRY, industry, NR_NONE, UINT32_MAX, data);
|
||||
}
|
||||
|
||||
void NewsLoop();
|
||||
|
Reference in New Issue
Block a user