Search found 7 matches

by kerboom
Sun Mar 17, 2019 2:54 pm
Forum: Modding help
Topic: Localization with description references
Replies: 1
Views: 802

Re: Localization with description references

I solved my problem using data.lua scripting. While you cannot access data.raw["category"]["original-item"].localised_description correctly, you can use locale tags from any item in the game to assign localised_description to your new item. You can use Lua string concatenation to...
by kerboom
Sat Mar 16, 2019 5:38 pm
Forum: Modding help
Topic: Localization with description references
Replies: 1
Views: 802

Localization with description references

I am working on my first mod, and part of what it does is create alternate versions of existing entities. For the entity-name and entity-description localization of the new entities, I would like to append a string to the localized name and description of the original entities. I can do this in loca...
by kerboom
Thu Mar 14, 2019 2:02 am
Forum: Mods
Topic: [MOD 1.1] Inventory Sensor
Replies: 177
Views: 77768

Re: [MOD 0.16] Inventory Sensor 1.6.6

Ah, then I guess I'm good for 4,086 couplings per minute for a full year of runtime... :D
by kerboom
Wed Mar 13, 2019 7:22 pm
Forum: Mods
Topic: [MOD 1.1] Inventory Sensor
Replies: 177
Views: 77768

Re: [MOD 0.16] Inventory Sensor 1.6.6

Automatic Coupling System makes trains id count up too, but slower. I'm at 45000 after a few dozen hours, with about 30 trains. Is there a point where high train IDs will cause problems? Or will they roll over a 4 billion or something?
by kerboom
Tue Mar 12, 2019 9:22 pm
Forum: Mods
Topic: [MOD 1.1] Inventory Sensor
Replies: 177
Views: 77768

Re: [MOD 0.16] Inventory Sensor 1.6.6

I'll give that a try, thanks! It may have trouble with my switching yard, though, since there are stops and signals in random places to make coupling work. Update: Noxy's Multidirectional Trains does work as advertised. But something about how it reassembles the trains after flipping the locomotives...
by kerboom
Tue Mar 12, 2019 8:29 pm
Forum: Mods
Topic: [MOD 1.1] Inventory Sensor
Replies: 177
Views: 77768

Re: [MOD 0.16] Inventory Sensor 1.6.6

I tried the LTN stops and that's just what I need. Thank you! On an unrelated note, I am also using your Trains & Fuel Overhaul mod. One think I wish was that my engine consists did not need a dead-weight engine to let them back into a train when they couple onto it--if the backwards one helps a...
by kerboom
Mon Mar 11, 2019 5:07 pm
Forum: Mods
Topic: [MOD 1.1] Inventory Sensor
Replies: 177
Views: 77768

Re: [MOD 0.16] Inventory Sensor 1.6.6

I'm making a rail yard and it would be really useful to distinguish empty cargo wagons from empty fluid wagons. Have you considered adding this, or is it even possible in the game?

Go to advanced search