RimWorld

RimWorld

Caravan Auto Food Restrictions
34 Comments
Rovstam 17 Jul @ 1:02pm 
1.6?
Pong 23 Mar @ 1:22am 
Thanks Arganot, but global food priorities is incompatible with Variety Matters. People who use that of course want special caravan menus including instant noodles, hardtack, jerky, prunes.

So another update plea: 1.5 please please please!
Arganot 30 Mar, 2024 @ 3:40pm 
This Mod seems to be abandoned so if you are looking for something similar:

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2899127245

Linked mod seems like it would fix the problems this mod does. Happy trails!
Doomchibi 13 Jul, 2023 @ 9:12pm 
Would love to see this updated someday, just repeating the older comments. Thank you!
Tugah 3 Apr, 2023 @ 11:32am 
update 1.4 please !! <3
Spartan 29 Mar, 2023 @ 11:42am 
update ???
HighFlyer96 18 Mar, 2023 @ 10:19am 
Can any of the 1.4 Users confirm it's compatability?
Yxklyx 22 Dec, 2022 @ 10:30am 
Is it possible that this mod works in 1.4 without any update?
Daniel95818 19 Dec, 2022 @ 1:58pm 
Any chance that this gets updated to 1.4?
RadlerAndi 9 Oct, 2022 @ 4:16pm 
and i am another one with a disappearing caravan. i assumed this mod coult be responsible, i removed it, loaded a backup, and the caravan was fine again.
RobH 6 Sep, 2022 @ 9:52am 
I also had an entire caravan disappear because of this mod's bug.

Exception filling window for RimWorld.Dialog_FormCaravan: System.NullReferenceException: Object reference not set to an instance of an object
at CaravanAutoFoodRestrictions.CaravanAutoFoodRestrictions+CaravanMaker_MakeCaravan_Patch.Postfix (RimWorld.Planet.Caravan& __result) [0x0005b] in <803e0c1297824125a3bbe8877bdb7e94>:0
at (wrapper dynamic-method) RimWorld.Planet.CaravanMaker.RimWorld.Planet.CaravanMaker.MakeCaravan_Patch1(System.Collections.Generic.IEnumerable`1<Verse.Pawn>,RimWorld.Faction,int,bool)
...
Hetari 6 Aug, 2022 @ 4:08am 
got same bug as tw_boring, i reloaded without this mod. and reforming caravan worked properly.
Kaindakule 10 Jul, 2022 @ 10:15am 
@yodalorian thanks for the fix! Ohh, and a credit! :steamhappy:
Yodalorian  [author] 9 Jul, 2022 @ 4:53am 
@Kaindakule thanks for that report. It's now fixed on latest mod update.
Kaindakule 8 Jul, 2022 @ 12:29pm 
@Yodalorian Caravan gets nuked after a random ambush. Tried the same fix as before but no luck - the behavior changed slightly but end result was the same.

Doesn't happen with complexes, or base attacks. Only random ambushes.
Sirjames101 5 Jul, 2022 @ 5:51pm 
thank you very much
Yodalorian  [author] 5 Jul, 2022 @ 1:14pm 
@Sirjames101 there was an issue with complex and bases but its fixed on latest mod update
Sirjames101 5 Jul, 2022 @ 8:35am 
@Yodalorian okay i have figured out the issue so its not reverting if i enter any sort of place such as a complex or base. but if my caravan never enters any where before returning home then it works perfectly fine.
Yodalorian  [author] 5 Jul, 2022 @ 3:52am 
@Sirjames101 did u select a caravan food restriction in assign menu ? just did a test on a new colony and everything working fine
Sirjames101 5 Jul, 2022 @ 2:52am 
food restrictions aren't returning to normal when my caravan arrives home.
Tislav 4 Jul, 2022 @ 5:28am 
@Kaindakule thanks
Kaindakule 3 Jul, 2022 @ 3:25pm 
I think update on 7/2/22 caused newly-formed caravans to get nuked. Disable Mod > Load game, save > Re-enable mod seems to have fixed it.
Yodalorian  [author] 26 Jun, 2022 @ 2:12pm 
@Eqz fixed on latest mod update
Eqz 8 Jun, 2022 @ 10:08pm 
When adding this mod to existing game with existing caravan, said caravan just cannot enter player's settlement back. In debug mode, a null reference exception can be seen in this mod - apparently, can't restore old food restrictions on caravan arrival if mod was not installed yet at that moment of caravan formation.
ChrisPikula 13 Apr, 2022 @ 3:45pm 
@Yodalorian
Could very well be the case, I've got several hundred.
Yodalorian  [author] 13 Apr, 2022 @ 1:30pm 
@Chrispy Honestly this mods only depends on Harmony and i have followed the implementation of settings like recommended in the wiki.
If you see the logs it means the mod is activated another mod must be breaking your mod list.
I forgot to remove my debug logs in release version will do that in next update.
ChrisPikula 13 Apr, 2022 @ 12:18pm 
@Yodalorian
That's just it, I can't find it in the settings. :-/ Rimpy say's its enabled, it shows

CaravanAutoFoodRestrictions StartUp
CaravanAutoFoodRestrictions Harmony instance loaded
CaravanAutoFoodRestrictions Harmony PatchAll called

in hugslog, but when I search for any of 'caravan', 'auto', 'food', and 'restrictions', I don't see it.
Yodalorian  [author] 13 Apr, 2022 @ 10:14am 
@Chrispy rimworld changed it recently -> option -> Mod settings -> select mod
@chazwhiz thanks, i'm almost ready for the update will be out by friday or next week
ChrisPikula 13 Apr, 2022 @ 8:37am 
So, uh, I can't find the settings.
chazwhiz 12 Apr, 2022 @ 2:28pm 
Good concept, very needed. I look forward to the updated version that resets on return.
Yodalorian  [author] 12 Apr, 2022 @ 3:54am 
@Thundercraft
So, currently (until a later update), even after these pawns return to our colony and even after the caravan is disbanded, they will still be under the caravan food restrictions?
Yes that's correct and you need to manually set them back to what you want (use Assign menu to do that quickly)

If that's currently true then isn't the only way to fix this is to adjust things again in the mod settings?
No, the mod activate only on caravan exiting map tile not on disband
Thundercraft 12 Apr, 2022 @ 12:30am 
This does sound useful. Though...

Quote, "Future update : Reset pawn individual food restriction when caravan is back home"

Asking just to clarify:
So, currently (until a later update), even after these pawns return to our colony and even after the caravan is disbanded, they will still be under the caravan food restrictions? If that's currently true then isn't the only way to fix this is to adjust things again in the mod settings? Or am I misunderstanding?
Sulendil 10 Apr, 2022 @ 3:36pm 
Спасибо, шикарный мод!