Jump to content

Recommended Posts

Hi guys,

I need the ShardID in modworldgenmain.lua to help determine the number of setpieces. However, since TheShard has not been initiated here, I am not able to get it directly. I also tried GetPersistentString, but it is not able to read files without "KLEIĀ  1" header.

Does anyone know how to get the ShardID before worldgen, or the storage path for the shard, which can be used for direct IO operations? Thanks!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...