Software Inc.

Software Inc.

评价数不足
More Days!
   
奖励
收藏
已收藏
取消收藏
Type: Code mod
文件大小
发表于
更新日期
84.259 KB
2024 年 12 月 11 日 下午 4:58
1 月 18 日 下午 1:22
3 项改动说明 ( 查看 )

订阅以下载
More Days!

描述
This mod allows the slider in the game setup for days per month to go up to 31 days!
12 条留言
Reo  [作者] 10 月 19 日 上午 11:12 
???
Nova120 10 月 19 日 上午 8:28 
Oh poo coredumping is here
Reo  [作者] 5 月 12 日 上午 10:22 
I've tested with the latest uploaded version and it works just fine for me I'm thinking you may have a conflicting mod.
Reo  [作者] 5 月 12 日 上午 10:18 
I will look into this as soon as I can, thank you!
gonzo2305 5 月 12 日 上午 8:34 
Unfortunately also doesn't compile on b1.8.16 for me, also appears in Error category.
david162 3 月 15 日 下午 10:00 
Thank you for the mod, it should be in the base game as an option, hint, hint
Coredumping  [开发者] 1 月 19 日 上午 7:03 
Could be that the ActorCustomization instance hasn't been initialized before your method is called. You can use Unity's coroutines to delay your method by a frame or 2.

The hacky method will break if I end up rearranging the UI in the future, but I'm pretty sure that won't happen.
Reo  [作者] 1 月 18 日 下午 1:11 
I just did the hacky way lol.
Reo  [作者] 1 月 18 日 上午 10:20 
I am working on it now and I remember why I couldn't do the slider everytime I would call ActorCustomization.Instance.DaysPerMonth.maxValue I would get this error in game System.NullReferenceException: Object reference not set to an instance of an object
at DaysOfMonth.DaysOfMonthModBehaviour.OnLevelFinishedLoading (UnityEngine.SceneManagement.Scene scene, UnityEngine.SceneManagement.LoadSceneMode mode) [0x00016] in <724c5ba410c5437586bec00920112476>:0
and after about 3 hours of trying anything to get it to work I just gave up. No fault to you or anyone else, I am just new to making plugins in general and going off the documentation I can find information for. Like with the starting years you don't have to call an instance it's just ActorCustomization.StartYears but for this it's within the instance of the game and I am dumb lol
Reo  [作者] 1 月 18 日 上午 9:10 
Yooo thank you!! I will take a look into that in the next few days and update the mod accordingly, you're the goat!