RimWorld

RimWorld

35 ratings
SpeakUp Extension
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5, 1.6
File Size
Posted
Updated
266.360 KB
Dec 13, 2024 @ 11:10am
Jun 11 @ 10:59am
7 Change Notes ( view )

Subscribe to download
SpeakUp Extension

Description
This is an extension mod for SpeakUp, enabling new dialogue with additional conditions.

Included is a small patch with some examples, showing how to properly utilize each.

Here is the list of new conditions and how to use them. Be aware that INITIATOR_ is just used as an example, and may be swapped with RECIPIENT_ in all cases.

Basic
  • Childhood defName : (INITIATOR_childhood_def==TribeChild40)
  • Adulthood defName : (INITIATOR_adulthood_def==Gatherer70)
Ideology
  • Ideology Name : My ideology is named [INITIATOR_ideology].
  • Character Role : (INITIATOR_role==IdeoRole_ShootingSpecialist)
  • Character Role Name : I am the [INITIATOR_role_name], I shoot people.
  • Precepts : (INITIATOR_precept==Skullspike_Disapproved)
  • Precepts Animals : (INITIATOR_precept==AnimalVenerated_Thrumbo)
  • Precepts Buildings : (INITIATOR_precept==IdeoBuilding_ChristmasTree)
  • Precepts Festivals : (INITIATOR_precept==Festival_CelebrationPartyDanceTech)
  • Precepts Funerals : (INITIATOR_precept==Funeral_FuneralStandard)
Biotech
  • Xenotype : (INITIATOR_xenotype==Highmate)
  • Gene : (INITIATOR_gene==Inbred)
  • Own/Other Xenotype Hated : (INITIATOR_hates_other_xenotype==Yes)

It is my hope that many/all of the features of this patch might be integrated into SpeakUp proper, and I give full permission and support for that to be done in any way the original authors see fit.
Popular Discussions View All (1)
0
May 17 @ 4:32pm
Line Suggestions and XML Tutorials
Microsoft Excel
25 Comments
Microsoft Excel  [author] Jun 15 @ 7:32pm 
You're right I should clarify that here: You will need wait for the main mod to update.

That said, because of the way Harmony works, if you were to recompile SpeakUp on 1.6 for personal use my extension should work with that.
GeekyRaptorStudios Jun 15 @ 5:13am 
does this make speak up compatible with 1.6? cause this works with 1.6 I can only assume, but speak up is labeled as 1.5
Microsoft Excel  [author] May 17 @ 4:32pm 
@rout
Unfortunately, as far as I know, nope. So right now the only thing you really get is my examples, of which only the race/xenotype-ism is worth anything.

I'd love to squash the barrier to entry down so I set up a thread for line suggestions and xml help.
Head May 17 @ 2:22pm 
Do any other mods use this extension?
Microsoft Excel  [author] May 17 @ 11:20am 
@Wraith_Magus
That issue isn't caused by my mod; it's actually a bug from SpeakUp itself.

Specifically, the dialogue you're seeing is the thought descriptor from the `IdeoDiversity_Abhorrent_StyleDominance` ThoughtDef in core Ideology. SpeakUp's `Defs\chitchat_thoughts.xml:1466` can (by mistake?) send a thought's descriptor as a response. This usually works, but if those descriptors contain variables then reading them raw from the def will leave the variables unpopulated; resulting in curly brace placeholders.

I already smooth over a few of SpeakUp's other bugs in this extension so I'll see what I can do about it in the update later today.
chebupelka May 17 @ 3:27am 
I AM THE LORAX AND I SPEAK FOR THE TREES
Battl3bee Apr 18 @ 1:11pm 
I AM THE LORAX AND I SPEAK FOR THE TREES
Wraith_Magus Apr 15 @ 11:10am 
I've been seeing issues with this mod having characters talk about being surrounded by objects with the style of their ideoligion. They like to sit around the dinner table with a beer telling passerby, "I am surrounded by constructions which match the style(s) that reflect my {ADJECTIVE} beliefs. My beliefs are reflected by these styles: {STYLES}" (I'm not adding those bracket things, either.) If it changes things, I'm playing with Alpha Memes and Vanilla Ideologies Expanded.
Microsoft Excel  [author] Jan 14 @ 5:47pm 
@furel87
Well that does explain it, it never occurred to me that a valid ideology might contain invalid precepts and I never check for that. It seems mostly harmless in that case, but I'll add a fix for that scenario whenever I finish up the other additions I am working on.
furel87 Jan 14 @ 9:14am 
@Microsoft Excel
I've found where the problem is coming from, it turns out that my colony's ideology was created some time ago with an RJW addon that is no longer supported or has been modified. For some reason, when I load that ideology it loads a ritual from that mod that is no longer there instead of deleting it.
I replicated that ideology from scratch, same perceptions and rituals minus the missing one, and that message disappeared.

Here's the log if you're interested:
https://gist.github.com/HugsLibRecordKeeper/e093994e4a3cd70dc3cf153c2db0b89f

I made a new colony loading the old ideology, the error starts appearing on line 8951, instead of SCE_SkyLanternOrgyPattern it has changed to DateRitualConsumable, but it's the same problem. I made a new colony with the new replicated ideology and only one SpeakUp message has appeared (the last one), and I'm pretty sure it's due to localization.