localised_description for turret-attack technology modifier (if not more)

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
Honktown
Smart Inserter
Smart Inserter
Posts: 1025
Joined: Thu Oct 03, 2019 7:10 am
Contact:

localised_description for turret-attack technology modifier (if not more)

Post by Honktown »

What I expected: to be able to set a localised_description or 'effect_description' on modifier effects. Particularly turret-attack.

Why: I can dynamically make a new turret in data, but there is no way to add a correct localised_string for the description. They are fixed to {"modifier-description."..effect.turret_id.."-attack-bonus", effect.modifier} , so to speak.

Ammo types have a similarly fixed pattern, though, they are arguably more predictable.

Thinking, it sounds silly, but a work-around would be to encode the effect in a nothing's effect description, and use icons to pretend it's a damage effect... and then use research events to actually apply the effect. Maybe.
I have mods! I guess!
Link

Post Reply

Return to “Modding interface requests”