darmuh / suitsTerminal

suitsTerminal for Lethal Company
https://thunderstore.io/c/lethal-company/p/darmuh/suitsTerminal/
MIT License
1 stars 1 forks source link

Bought suits are incompatible with this mod #2

Closed Banaando closed 10 months ago

Banaando commented 10 months ago

If I add suits to the game that cost money and then try to buy them while this mod is installed, the suits don't get added to the terminal list and instead float right next to the suit rack. It does work though if you buy the suit, leave the game, and re-load the save. Modlist:

  1. BepInExPack 5.4.2100
  2. More Suits 1.4.1
  3. AdditionalSuits 1.1.3
  4. FrostySuits 1.1.8
  5. GlowStickSuits 1.0.4
  6. FrostySuits2 1.0.9
  7. TerminalApi 1.5.0
  8. suitsTerminal 1.0.4

Screenshot: image

darmuh commented 10 months ago

hmmm, this is probably because my patch only applies once and does not check for suits added to the rack after the initial load-in. I should be able to add a patch/exception for when a suit is purchased.

Adding them to the listed pages might be tricky but I should be able to figure it out. Let me see what I can do 👍

darmuh commented 10 months ago

should be fixed in 1.0.5 update.

added a patch for any time the suits rack tries to reorganize itself (like when suits are purchased). Keywords will be regenerated every time this happens and suits will be fixed/removed based on whether or not they were hanging previously (if you have the config option for suitsOnRack set to 0 there will still be 0 suits on the rack)