taltamir
Member
Holidays can occur either due to IRL holidays or due to kol internal calendar.
holiday() function does not detect dependence day when IRL date ends in 0704 aka 4th of july
I can try to make a script recognize it via checking the date with today_to_string().substring(4, 8) == "0704"
but even if I do it will not let me do holiday specific actions because mafia does not recognize it as today's holiday.
For example, I can't buy green rocket because it can only be bought on dependence day, and as far as mafia is concerned today is not dependence day, so trying to buy it fails
holiday() function does not detect dependence day when IRL date ends in 0704 aka 4th of july
I can try to make a script recognize it via checking the date with today_to_string().substring(4, 8) == "0704"
but even if I do it will not let me do holiday specific actions because mafia does not recognize it as today's holiday.
For example, I can't buy green rocket because it can only be bought on dependence day, and as far as mafia is concerned today is not dependence day, so trying to buy it fails