• The move of Eco-Mods.com has taken place and the merge of our old officials forums is currently ongoing, read more here.

How to initialize before other mods or before loading items and skills

mampf

Moderator
Mod Dev
Eco-Mods.com Founder
Messages
115
Reaction score
72
Kronox and I had a lots of problems with the initialization order of the mods, because you can not set an order to initialize them.
Also Items and Skills where initialized earlier then the static constructor or constructor of the mod.

We created a pull request which was accepted by strangeloop games (https://github.com/StrangeLoopGames/Eco/pull/2833).
So I assume that in 7.5 we have the possibility to initialize before skills and items with the static constructor.

When you are using Asphalt you should not use this static constructor in 7.5, because Asphalt need it for it's own initialization.

But if you need this early initialize for some reason, it should work in the future.
 
Top Bottom