Hello, here I am again. I have found some time to log in and practice code. As I have been coding my mod, i was wondering how to make a function to give each month a ‘x’ value of money to the company. @Mabb had shown me how to do this some months ago with this piece of code.
var handler = function (e) {
GameManager.company.adjustCash(1000, "test");
};
GDT.on(GDT.eventKeys.gameplay.weekProceeded, handler);
I came up with a newer solution, nevermind. This one gives money each week. I’m gonna modify it so it’s gonna use months instead. I have updated the main post with the new code.