Titanium

by brevven

Adds titanium to the base game. Titanium is used in Low Density Structures, Flying Robot Frames and a few other places. Compatible with Space Age. A standalone piece of BZ Mods, with graphics by snouz.

Content
3 months ago
0.17 - 2.0
48.7K
Mining Manufacturing

b [Fixed] Compatibility with Cerys

9 months ago
(updated 9 months ago)

I noticed that the mod has an error when loading with the Cerys Moon mod.

ailed to load mods: bztitanium/titanium-recipe-updates.lua:44: attempt to index field 'name' (a nil value)
stack traceback:
bztitanium/titanium-recipe-updates.lua:44: in main chunk
[C]: in function 'require'
bztitanium/data-updates.lua:1: in main chunk

Adding and recipe.results[1].name to the check does seem to fix the load issue! Honestly I'm unsure what about the recipes in Cerys causes this issue. My best guess is the flare stack nullification recipes, or cerys-nuclear-scrap-recycling, but even then their results afaik are {}, so results[1] should return nil... right? Unless their merge function leaves the existing results around and that's where the issue comes from, Lua's just weird.

9 months ago

Sorry missed this thread earlier somehow. (I guess I am still getting my brain back into fielding bug reports) I believe this is fixed as you alluded to in the other thread.

9 months ago

No worries and cheers! It's practically a second job, and notifications disappear on here sometimes lol.

9 months ago

I also just noticed a runtime crash with Cerys, so I've fixed that in a newer update.

New response