RimWorld

RimWorld

Better autocasting for Vanilla Psycasts Expanded
375 kommentarer
VitaKaninen 30. okt. kl. 14:08 
Thanks!
Toby  [ophavsmand] 30. okt. kl. 14:05 
# 6.3.4.0

- All psycasts that target pawns without specific hediffs now also check that casting wil not be considered a hostile action

Relatedly I have no f'in clue why VPE team made word of productivity a hostile action :v
VitaKaninen 30. okt. kl. 13:01 
I started a new game, gave my colonist a title, and built 2 bedrooms and a throneroom. I gave him the psycast, and set it to autocast. Then I spawned the quest, and as soon as the royal arrived, he casts word of production.

Video Clip: https://youtu.be/R-BNjlGO9Ro
Save file: https://drive.google.com/file/d/193bmtMQnJq4ZXPZn0cvfZxwvXO-4nyKJ/view?usp=sharing
Toby  [ophavsmand] 30. okt. kl. 12:38 
No that's just me simplifying how it works in the comment lel
it is set up to only target colonists, so it doesn't have any settings.
VitaKaninen 30. okt. kl. 12:35 
My game has a lot of other mods and is fairly large. Let me see if I can reproduce it without any other mods active.

You said below that if someone is not listed, then they should not be targeted, but word of productivity does not have anyone listed, not even colonists. Maybe that is what is allowing them to cast it on them?
Toby  [ophavsmand] 30. okt. kl. 12:33 
Yup that's the hospitality quest, can't reproduce :T
Maybe share the save?
VitaKaninen 30. okt. kl. 12:19 
I should say Lodger. For example, the empire wants you to host a noble for a set period of time. They can be drafted and ordered around, but they will not do any work.

https://rimworldwiki.com/wiki/Quests#Hospitality

This quests here where is says:
If a pawn is a noble, then you will need a bedroom suitable for their rank to accept the quest. You will also need another bedroom suitable for any of your own nobles.
Toby  [ophavsmand] 30. okt. kl. 12:16 
It gets cast on guests from a hospitality quest, but that's also not considered harmful
Toby  [ophavsmand] 30. okt. kl. 12:11 
Can you define "guests"? I spawned in a caravan and it's not doing anything
VitaKaninen 30. okt. kl. 12:04 
They are using Word of Productivity on Empire guests for certain.

I thought they were also using Word of Inspiration as well since there is not a setting, but they don't appear to have any inspirations, so that one is probably working fine..
Toby  [ophavsmand] 30. okt. kl. 12:01 
Specifically Word of productivity is set to always and only target colonists
Toby  [ophavsmand] 30. okt. kl. 11:57 
The ones not listed should not be targetted
If they are that's a bug :^)
VitaKaninen 30. okt. kl. 11:54 
Can you tell me where to find it? This is what my settings look like: https://imgur.com/a/mLTBvdO

I see that some of the other psycasts have options for colonists and slaves, but not for Word of Productivity. Word of inspiration only has a few options compared to others.
Toby  [ophavsmand] 30. okt. kl. 11:31 
How do you mean? Every psycast I add has a bunch of options on who to target
VitaKaninen 30. okt. kl. 8:16 
Do you think you could add an option to only auto-cast certain skills on my own colonists?

This affects me specifically when I have Empire royals staying at my colony, and my psycasts have Word of Productivity or Word of Inspiration set to auto-cast, and they use it on the guests.

This reduces the faction goodwill, since it is considered a "harmful ability", and It is also a waste of psyfocus, since the royals don't do work and will not benefit from the increased productivity or inspiration.
Toby  [ophavsmand] 24. okt. kl. 0:38 
correct
VitaKaninen 23. okt. kl. 23:59 
It should automatically place itself after Harmony, VEF, VFE, VPE, VPE Puppeteer,
Solar Pinhole Additions, and VPE Runesmith, when you hit the sort mods button.
aegdrthgedhyrh5etehrte 23. okt. kl. 21:14 
This should be loaded after vanilla psycasts expanded right? or before?
Zigzidu 23. okt. kl. 12:17 
Thank you very much!
Toby  [ophavsmand] 23. okt. kl. 10:07 
I'll try and see if there's a simple way to check for player-assigned work specifically
Zigzidu 23. okt. kl. 8:06 
@Toby I have been, but it's hard to find the right jobs to disable. It would be ideal if there was an option to make it so that prioritized work in general would override the auto-casting. That way I don't tell a guy to go to trade, and he decides that upgrading a marble throwing rock to excellent quality is more important.
Toby  [ophavsmand] 23. okt. kl. 0:07 
@Zigzidu you can disable certain jobs from being interrupted by autocasting in the settings
Zigzidu 22. okt. kl. 20:51 
I've been having a lot of trouble with colonists ignoring my commands due to wanting to use psycasts instead. I can't seem to find a good balance between them not autocasting at all, and them not doing anything else to the point of malnutrition and mutiny.
Toby  [ophavsmand] 19. okt. kl. 3:25 
Added a setting to Power to use a maximum range
Hugalafutro 18. okt. kl. 21:23 
Would you consider adding some sort of distance check to the Power autocasting? I have few deepchem jacks literally in the opposite corner of the map and even if they are switched off he now spends most days running from temple to cast on 1 machine then all the way across map back to temple and after a while he runs back to cast it on the other jack etc..
Hugalafutro 9. okt. kl. 3:23 
Thanks!
Toby  [ophavsmand] 8. okt. kl. 14:46 
Fixed Power targetting
Toby  [ophavsmand] 8. okt. kl. 14:21 
rendering the power thing is not from my mod, that's from VPE itself.
And it powering the wrong thing may be because i sorted them backwards
Hugalafutro 8. okt. kl. 10:56 
When the psycaster casts psycast Power (the target thing doesn't consume power for a day) it draws a triangle with infinity symbol over the appliance it was casted on. When in different zone with gravship and the psycaster is in home zone, the symbols show up on gravship map as well. When the psycaster is on the gravship only the symbols casted on the map where gravship is show.

Slightly unrelated, but the description says he'll use the autocast on greatest power consumers, but it always get cast on 15W wall lamps (while crematorium/mech chargers/wastepack atomizers are running), but I mostly need him to waste focus so he medidates so I don't mind that much.
Toby  [ophavsmand] 8. okt. kl. 10:09 
I do not understand? What symbols?
The only thing this mod renders on the map is the areas, and only when you have the appropriate tools selected
Hugalafutro 8. okt. kl. 10:08 
When flying to different map with the gravship, at certain zoom-out level, the layer with the Power psycast symbols that have been casted on home map appears on the map with gravship as well.
VitaKaninen 1. okt. kl. 3:35 
Thanks a bunch!
Toby  [ophavsmand] 1. okt. kl. 3:30 
Apparently there was a typo in the loadAfter for runesmith (chariheir instead of chairheir), gonna fix that up too
Toby  [ophavsmand] 1. okt. kl. 3:26 
Done
VitaKaninen 1. okt. kl. 2:47 
Thanks!
Toby  [ophavsmand] 1. okt. kl. 2:36 
I'll have a look; Also Gravship support is in now
VitaKaninen 1. okt. kl. 2:28 
I know I had asked this before, but would you reconsider adding support for Word of Inspiration, since you are updating the mod?
Toby  [ophavsmand] 1. okt. kl. 2:18 
Think I figured out how to shoehorn my areas into the gravship code, ice crystals (and other psycast areas) should work in a few hours
Hugalafutro 30. sep. kl. 3:44 
Even then when you sort, RimSort first put your mod at top in wrong place, then if you close RimSort and re-open it it recognizes the error and pressing check dependencies moves your mod under VPE_psycasts, but pressing sort again moves it at top. But that is an issue with RimSort I guess.

What about my gravship Ice crystals :D I have switched to a pair of tamed Cryptotoads for the moment.
Toby  [ophavsmand] 25. sep. kl. 5:06 
Starting with version 1.0.38 of RimSort, there is a setting in the sorting options to prefer the *ByVersion tags, as RimWorld itself does
Toby  [ophavsmand] 25. sep. kl. 5:03 
@frus-m chariheir.vperunesmith and VanillaExpanded.VPE.Puppeteer are both in the loadAfterByVersion
frus-m 24. sep. kl. 5:31 
почему то RimSort неправильно сортирует - ставит сверху всех модов а не снизу. В окне модов RimWorld говорит о неправильной сортировке. при этом после сортировки из RimWorld моды Runesmith и Puppeteer все равно ниже этого мода
frus-m 24. sep. kl. 5:27 
Просьба добавить в About - загрузку после указанных поддерживаемых модов. loadAfter
Toby  [ophavsmand] 22. sep. kl. 11:41 
gwuh...
Hugalafutro 22. sep. kl. 0:31 
Hi I placed a ice crystal spot in my fridge on the gravship, but when I fly to new map the autocast doesn't happen, I have to delete and re-add the spot, then the colonist runs over and casts it.
stomir 16. sep. kl. 7:02 
A suggestion/request: add support for recharge (from electric tree)
VitaKaninen 6. sep. kl. 4:30 
I see, thanks.
Toby  [ophavsmand] 5. sep. kl. 19:17 
@VitaKaninen That'd require changing the job type to reserve the pawn I believe, which feels out of scope for this mod and better implemented in VPE itself
Shadevar 5. sep. kl. 19:10 
my psycaster tries to autocast Steal Vitality on enemies when drafted, despite cast when drafted being disabled.
VitaKaninen 4. sep. kl. 13:46 
I have 10 psycasters all with Word of Productivity set up to autocast. Word of Productivity lasts for 5 days, and costs 40% of their psyfocus.

When one of my pawns has the productivity buff drop off, all of my psycasters will run over there an they will all cast the buff at the same time. They can still cast the skill even if the pawn already has the buff, but since it does not stack, there is a huge waste of psyfocus. Then when another pawn has the buff drop off, no one can cast the skill, since they all wasted their psyfocus.

Can you make it so that only one pawn will cast the skill at a time, or add some other check to ensure that multiple pawns do not target the same person at the same time?