[1.3.0] Hospitality

Started by Orion, March 13, 2015, 11:19:16 AM

Previous topic - Next topic

McBlackjack

Merry Christmas Orion! You sexy beast, you.

Orion


Orion

Update

1.2.06 - 27.12.2020
- New: New banner
- New: Manhunters and mental breaks make guests afraid to come
- New: Option to disable friendlies dropping their inventory when downed
- Fix: Guests wouldn't equip apparel that they buy
- Fix: Don't interrupt eating guests
- Fix: Exclude bestower from spawning as guest
- Fix: Compatibility with Elder Things bed-likes
- Tweak: Patch optimization for beds by Wiri
- Tweak: Guests now find their exit point via flood fill; This hopefully lets us avoid danger and find the closest exit

Andrenachrome

Hey I could use some help. Keep getting:

Failed to read royalty titles or their bedroom requirements. This means you are using a mod that changes these and broke them.
System.MissingMethodException: bool RimWorld.RoomRequirement.Met(Verse.Room,Verse.Pawn)
  at System.Linq.Enumerable.All[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0002c] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at Hospitality.Building_GuestBed+<>c__DisplayClass18_0.<GetMetRoyalTitles>b__0 (RimWorld.RoyalTitleDef t) [0x00020] in <875bd7e5c08b4dbea889b2a68731c340>:0
  at System.Linq.Enumerable+WhereArrayIterator`1[TSource].ToArray () [0x00022] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at Hospitality.Building_GuestBed.GetMetRoyalTitles (Verse.Room room) [0x00032] in <875bd7e5c08b4dbea889b2a68731c340>:0
Verse.Log:Error(String, Boolean)
Hospitality.Building_GuestBed:GetMetRoyalTitles(Room)
Hospitality.Building_GuestBed:UpdateStats()
Hospitality.Building_GuestBed:TickLong()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()

But I can't figure out what may be changing the royal requirements. I don't think any do. Otherwise stable. Please advise.

Orion

Missing method it says. Hm. Could be you're missing a required mod or something. I really can't tell, sorry.

Orion

Update

- Fix: Weapon gets dropped when pawn is put to bed, which breaks "Where Is My Weapon" behavior
- Fix: Guest beds listed in architect menu due to mod conflict
- Fix: Automated check for guest drug policies
- Fix: Guest beds can get borked and can't be removed

Orion

Note that there is a bug in this version, that without Gastronomy, guests will consume your drugs free of charge.

Orion

Update

- Fix: Guests taking player's drugs for social relaxing

Orion

If you've downloaded version 1.2.10 already, please download it again. There's a bug that makes your beds disappear. It's fixed now.

Orion

Update

1.2.11 - 10.06.2021
Fixes and optimization by simplyWiri:
- Performance optimizations
- Fix: Bug caused by real ruins spawning guest beds before world loads
- Fix: Incompatibility with WTH
- Fix: Dead guests no longer reserve beds


Note that this is a massive update and might cause issues. If you run into any of them, please post a CTRL-F12 log link.

Nomalastor

Hi Orion, thank you for your amazing mods. Could you please update this mod's release version on GitHub?

Quote from: Orion on June 10, 2021, 12:31:16 PM
Update

1.2.11 - 10.06.2021
Fixes and optimization by simplyWiri:
- Performance optimizations
- Fix: Bug caused by real ruins spawning guest beds before world loads
- Fix: Incompatibility with WTH
- Fix: Dead guests no longer reserve beds


Note that this is a massive update and might cause issues. If you run into any of them, please post a CTRL-F12 log link.

Orion

Huh. Something went wrong with numbering here. 10b is the latest version.

Orion

Update
Here it is. One of the largest Hospitality updates in a long time. Enjoy.


1.3.00 - 20.07.2021
- Updated to 1.3
- New: Guests now eventually optimize their apparel, so they will wear what you gift them if appropriate
- New: Added debug action to remove broken groups (so you don't have to edit your savegame)
- New: Alert when guests have nothing to eat
- Fix: Guests walking outside of their area if not absolutely necessary
- Fix: Recruited guests still act like guests
- Fix: Guests won't claim player walls when smoothing them
- Fix: Guests now have dedicated food restrictions
- Fix: When recruiting a faction leader, a new one will be elected
- Fix: Guests won't hang around in bed all day anymore
- Fix: Recruited guests now get the default drug policy
- Fix: Another shot at fixing guests leaving failure when pawns were improperly removed from map
- Fix: Art is now properly preserved when creating guest beds
- Fix: Made spawning guest inventory more robust against broken objects from mods
- Tweak: Spread lord arrival check over multiple ticks, and caching arrived pawns to improve performance
- Tweak: Caching guest alerts
- Tweak: You can not toggle refusing guests until beds have been built in the map options
- Tweak: Guests afraid dialog now shows the name of the faction
- Tweak: There is a change that rejected groups don't stick around
- Tweak: Improved code for guests restocking their food
- Tweak: Guests now use vanilla gifting system, but with Hospitality score for chance
- Tweak: Guests will only leave during the day
- Performance improvements

santial28

Hi!. I'm getting an error each time i had visitors. Seems to be related to buy_Stuff_buy_food.. something.


Exception in Verse.AI.ThinkNode_PrioritySorter TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object
  at Hospitality.JoyGiver_BuyStuff.TryGiveJob (Verse.Pawn pawn) [0x00030] in <9195c19eff5b49838ff9812aea419a35>:0
  at Hospitality.JobGiver_BuyFood.TryGiveJob (Verse.Pawn pawn) [0x00044] in <9195c19eff5b49838ff9812aea419a35>:0
  at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00000] in <e6d267da40db4a01beb1ee5d02f19dd5>:0
  at Verse.AI.ThinkNode_PrioritySorter.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x000fb] in <e6d267da40db4a01beb1ee5d02f19dd5>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.AI.ThinkNode_PrioritySorter:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Tagger:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Hospitality.ThinkNode_FilterGuestRooms:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
RimWorld.ThinkNode_Duty:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Tagger:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Subtree:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
RimWorld.ThinkNode_JoinVoluntarilyJoinableLord:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.Pawn_JobTracker:DetermineNextJob (Verse.ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
Verse.AI.Pawn_JobTracker:EndCurrentJob (Verse.AI.JobCondition,bool,bool)
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()




Orion

I've fixed it. You can download the latest version for the fix.