Rusty's Locale Utilities


A set of helper functions for resolving proper localised names and descriptions of prototypes, including recipes and items. There are also utilities for resolving prototype icons, because why not?

Internal
a month ago
0.18 - 2.0
73.7K

b Error

4 years ago

Failed to load mods: rusty-locale/prototypes.lua:48: No prototype called 'rtf-uniseed-seed' found for type 'item', these prototypes with the name exists: {}
Please report this to https://mods.factorio.com/mod/rusty-locale
stack traceback:
[C]: in function 'error'
rusty-locale/prototype.lua:48: in function 'find'
rusty-locale/icons.lua:57: in function 'of'
rusty-locale/icons.lua:51: in function <rusty-locale/icons.lua:37>
(..tail calls..)
crafting_combinator/data-final-fixes.lua:120: in function 'make_signal_for_recipe'
crafting_combinator/data-final-fixed.lua:165: in function 'process_recipe'
crafting_combinator/data-final-fixed.lua:196: in main chunk

Mods to be disabled
crafting_combinator (0.15.3)

4 years ago

What mods are you running? Looks like a conflict between crafting combinator and some other mod...

4 years ago

Full list:

aai-industry
aai-programmable-structures
aai-programmable-vehicles
aai-signal-transmission
aai-signals
aai-vehicles-chaingunner
aai-vehicles-flame-tank
aai-vehicles-flame-tumbler
aai-vehicles-hauler
aai-vehicles-laser-tank
aai-vehicles-miner
aai-vehicles-warden
aai-zones
alien-biomes
angelsaddons-warehouses
Automatic_Coupling_System
Avatars
bigtruck
bobclasses
bobinserters
boblibrary
cargo-ships
Construction_Drones
Crawler
CW-orbital-solar-power
Dectorio
Environmental_Science
eve-weaponry
even-distribution
factoryplanner
Fill4Me
flib
FoodIndustry
grappling-gun
HelicopterRevival
IncendiaryMunitions
informatron
jetpack
k2se-compatibility
KR2_RTF_Tree_to_Seed
Krastorio2
LJD_Vehicles_A16
LSlib
miniloader
minime
Mining_Drones
MIRV
MultipleUnitTrainControl
MushroomCloud
oil-hauler
Orbital Ion Cannon
Oxygen2_0
PickerAtheneum
PickerBeltTools
PickerBlueprinter
PickerDollies
PickerEquipmentKeys
PickerExtended
PickerInventoryTools
PickerPipeTools
PickerVehicles
railloader
RaiLuaLib
RealisticUranium
RecipeBook
regenerate-terrain
Robot256Lib
robotarmy
robot_attrition
robot_tree_farm
Rocket-Silo-Construction
RPGsystem
SchallAmmoTurrets
SchallArtillery
SchallGeowarfare
SchallGunPod
SchallLandMine
SchallMissileCommand
SchallPickupTower
SchallPrimaryBattery
SchallRechargingWeapon
SchallSuit
SchallTankPlatoon
SchallTransportGroup
selfsealingstembolts
Soundpack-alerts-and-sirens
space-exploration
space-exploration-graphics
space-exploration-postprocess
stdlib
StoneWaterWell
textplates
Todo-List
Tow_Tank
train-pubsub
trainConstructionSite
Transport_Drones
Unit_Control
Warehousing
windturbines

4 years ago

Mostly Space Exploration, Krastorio, AAI, a few Schall, and a few QOL like the Picker suite

4 years ago
(updated 4 years ago)

Sorry for the late reply. I did reproduce the crash, but I don't think I can really fix it properly...

The problem is with KR2_RTF_Tree_to_Seed, which deletes some recipes in data-final-fixes as they are invalid in some ways. That only happens after cc generates the recipe signals though, so some of those recipes don't have a valid icon it can use for the signal. I could make that mod an optional dependency of cc, which would fix this, but that's a slippery slope towards the original situation where basically every other mod had to be an optional dependency... You can do that yourself if you want tho.

The ideal solution would be for KR2_RTF_Tree_to_Seed to delete the recipes at some point earlier, ideally still in data-updates - you can try reporting it there, though there is a chance that it might not be possible for them to do that either. If that doesn't work out, I could try some hack akin to the ones I already do for other mods doing dumb things in data-final-fixes, tho I'd rather avoid it if at all possible...

New response