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
6 months ago
0.17 - 2.0
49.5K
Mining Manufacturing

b [Fixed] Compatibility with Cerys

1 year, 17 days ago
(updated 1 year, 17 days 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.

1 year, 17 days 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.

1 year, 17 days ago

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

1 year, 17 days ago

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

New response