Jump to content

Recommended Posts

Your mod causes the game class to load too early.

The class has room descriptions defined directly, this causes them to be assigned when the class is referenced for the first time.

These assignments also dont store locstring keys, so they just assign the value of the string at that moment.

(This is an issue with the game code, translatable strings should never be referenced in default initializers)

The only way for you to solve that is to not directly reference that class until translations are loaded.

The issue with that is that it is affected by transitive dependencies (you reference class A, class A references class B which in turn references the room descriptor class).

Game settings names+descriptions are another area that experiences the same issue

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...