边缘世界 RimWorld

边缘世界 RimWorld

25 个评价
Skylight Sunlight
   
奖励
收藏
已收藏
取消收藏
Mod, 1.4, 1.5
文件大小
发表于
更新日期
346.092 KB
2023 年 10 月 2 日 上午 10:51
2024 年 5 月 12 日 下午 3:09
2 项改动说明 ( 查看 )
您需要 DLC 才能使用该物品。

订阅以下载
Skylight Sunlight

描述
Simple compatibility patch to make Dubs Skylights work as expected with Sanguophages and VE's Phytokin.

Those are the ones I play with, but this will also work for most other mods which check whether a pawn is exposed to sunlight. Pretty much all of them use the same code.

Code available at: https://github.com/malnormalulo/rw-skylight-sunlight
24 条留言
Rain 11 月 24 日 上午 6:37 
that's a shame, this is still one of the mods I check in on regularly for an update. But thanks for letting me/others know :)
Malnormalulo  [作者] 11 月 24 日 上午 3:52 
Not likely anytime soon, it's been a while since I played RW.
DeeHasApples 11 月 23 日 下午 3:07 
Thinking bout starting a Phytokin only run. How's the update for this coming along?
Rain 8 月 21 日 下午 4:26 
just installed Miho's an this is exactly what I need, hope you get to that update someday :)
Malnormalulo  [作者] 8 月 9 日 下午 1:24 
Yeah I was wrong, it's not working for 1.6. I'll get around to updating at some point.
jawadegames 8 月 9 日 下午 12:29 
For Sanguophages, it freezes the game.
jawadegames 8 月 9 日 下午 12:07 
Hello, when I try using this for 1.6, it just deletes the headiff for photosynthesis.

Exception interval ticking hediff (VRE_Photosynthetic ticksSinceCreation=180) for pawn Dew. Removing hediff... Exception: System.TypeLoadException: Failure has occurred while loading a type.
[Ref 5832CFD7]
at RimWorld.SanguophageUtility.InSunlight (Verse.IntVec3 cell, Verse.Map map) [0x00012] in <cb53cd4422904947932d33f561ad8d15>:0
- TRANSPILER com.malnormalulo.SkylightSunlight: IEnumerable`1 com.malnormalulo.SkylightSunlight.Patch_SanguophageUtility_InSunlight:Transpiler(IEnumerable`1 instructions)
at VEF.AnimalBehaviours.HediffComp_StageBySunlight.CompPostTickInterval (System.Single& severityAdjustment, System.Int32 delta) [0x00057] in <810beedc514b49c6a1a7550d452dcc2c>:0
at Verse.HediffWithComps.PostTickInterval (System.Int32 delta) [0x0001f] in <cb53cd4422904947932d33f561ad8d15>:0
Malnormalulo  [作者] 7 月 12 日 上午 3:49 
Ah, the git is gone because I learned that GH only allows you to have one free account. I'll move this to GitLab eventually. In the meantime, it *probably* works with 1.6.
Reidlos 7 月 11 日 下午 11:22 
a simple but very nice mod, see that the git is removed, would like to see you / this mod come back for 1.6 but understand if your steping away.
Malnormalulo  [作者] 2024 年 9 月 26 日 上午 4:09 
@Олег: Haven't tried, but probably not. It should work with any pawn sensitive to sunlight specifically – sanguophages, phytokin, etc., – but the only _buildings_ it looks for are skylights.

Conceptually, I'm not sure that's something I'd want to add. Clerestory walls generally provide indirect sunlight. Should vampires really be sensitive to indirect sunlight?