Custom furnace entity can't be smelted text

User avatar
CaitSith2
Burner Inserter
Burner Inserter
Posts: 18
Joined: Wed Nov 10, 2021 8:09 pm
Contact:

Custom furnace entity can't be smelted text

Post by CaitSith2 »

TL;DR
Custom furnace prototype "can't smelt" localized text

What ?
A way to specify custom localized "can't be smelted" text for a given furnace prototype, for example, a crusher could say "<item> can't be crushed", or for an incinerator, "<item> can't be incinerated.", or for an air filtering machine, "<item> can't be used as an air filter."
Why ?
In the cases of various entities that are implemented as furnaces, it doesn't make sense in every case to say "<localised_item_name> can't be smelted".
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3290
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Custom furnace entity can't be smelted text

Post by boskid »

That makes a lot of sense. Added for 1.1.89.

Value to provide will be just a `string` which is used as a LocalisedString key. __1__ parameter is the localised name of the item that a player tries to insert to the source stack
Version: 1.1.89 wrote:Modding:
- Added FurnacePrototype::cant_insert_at_source_message_key. (108146)
curiosity
Filter Inserter
Filter Inserter
Posts: 516
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: Custom furnace entity can't be smelted text

Post by curiosity »

This is a duplicate of viewtopic.php?f=28&t=2264, actually.
Post Reply

Return to “Implemented mod requests”