边缘世界 RimWorld

边缘世界 RimWorld

392 个评价
Custom Ritual Framework
2
2
2
2
   
奖励
收藏
已收藏
取消收藏
Mod, 1.3, 1.4, 1.5, 1.6
文件大小
发表于
更新日期
22.891 MB
2021 年 7 月 30 日 下午 3:33
7 月 13 日 下午 2:31
38 项改动说明 ( 查看 )
您需要 DLC 才能使用该物品。

订阅以下载
Custom Ritual Framework

在 these people 的 1 个合集中
Custom Ritual Framework and new Rituals
7 件物品
描述
A currently new but growing framework for creating custom Ideology rituals and outcomes fully-definable with XML.



Background

Originally envisioned to support rituals that ensure bountiful harvests and call manna from heaven, I quickly wanted to make those more generic and so provided a framework through which it is relatively easy to add additional RitualAttachableOutcomeEffects. This grew out from that, adding similar functionality to RitualOutcomeEffects for defining new rituals, and then eventually expanding to add other new classes and modExtensions to support further customization of new rituals. It has become a general Custom Ritual Framework.

Most of the Attachable Outcomes and both of the new Rituals are used to showcase the features and as examples. The XML files for them have been commented as a kind of tutorial in creating new outcomes and new rituals in general.





FAQ

Q: So how do I create new rituals and outcomes?
A: Check out the XML files included in this pack. They are commented to help provide guidance, and easily obtained from Github (see below). Also check out the Github Wiki!

Q: I found a bug, how do I report it?
A: There are surely some issues, so please bring them up! An easy way to do that is in the #bug-reports channel of the Discord, linked below.

Q: How can I help?
A: If you'd like to help expand the framework, the best way to start is to head on to the Discord and post in the #collaborators channel.





Links

Now with some sample rituals outside of this modpack, for ease of enabling/disabling: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2579343852






Additional Credits

Nin - Testing and design
kippetje2000 - Icons
twsta - Adoption ritual and enhancements to the Framework to support it
174 条留言
Avericat 9 月 25 日 下午 6:00 
Is it possible to make rituals that require an item or building to be present in the ritual room? My guess is that one could use a RitualObligationTargetFilterDef with a RitualObligationTargetWorker_ConsumableBuilding workerClass with a thingDef that is meant to be destroyed at the ritual, right
Scorpio 9 月 8 日 上午 4:09 
any chance of the adoption ritual have adoptive relationship support :

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3364083523
Naturtok 8 月 27 日 下午 3:48 
Rad, thanks!
these people  [作者] 8 月 27 日 下午 3:22 
@Naturtok honestly the Rimworld wiki is really helpful. Starting basically from the top here: https://rimworldwiki.com/wiki/Modding_Tutorials

Especially take a look at the recommended software and the Decompiling Source Code guides. Once you decompile the source code you can use it to figure out how everything interacts
Naturtok 8 月 27 日 下午 1:51 
Hey I apologize if this is a dumb question, but this mod is getting me to finally delve into modding. Would you know any good tutorials to familiarize myself with the process? I code for work, but it's all data analytics stuff in R/python/VBA so not as spaghettied as modding seems to be.
艾青 8 月 22 日 下午 10:27 
Is it possible to make a ritual that changes relationship between pawns? Like starting the marriage,becoming rival by fighting...
these people  [作者] 8 月 20 日 上午 6:07 
@SanquinarcAQL All of the rituals provided by this mod (and my Sample Rituals mod) are examples. Weird that it stacks though, I hadn't experienced that. I didn't think the AddTrait function did that.
SanguinarcAQL 8 月 20 日 上午 3:22 
Quick follow-up: I tested by loading only Custom Ritual Framework, and I can confirm the "AddTrait" ritual reward does indeed come from this mod.
SanguinarcAQL 8 月 20 日 上午 3:20 
Hi! I found a ritual reward called "AddTrait". I’m not completely sure where it comes from, but from my research it seems to be added by your mod. I don’t know if this is intentional, but right now it always gives Ascetic, is stackable, it feels like an example effect ... maybe it wasn’t meant to be selectable? Sorry if i'm wrong
these people  [作者] 8 月 12 日 下午 6:10 
@missionz3ro ooh thanks for catching that, that was obviously not supposed to be part of it