Multiplayer
Multiplayer copied to clipboard
Add a warning about rituals if Prepatcher is not active #501
#501
https://github.com/user-attachments/assets/2fe885d2-125d-4fcb-b6b3-6d3b11e63a3b
- The box height adjusts based on the translation length.
- Clicking it triggers the action described in the tooltip (except for in-game restart)
- Only visible in the server browser and in-game host window.
- Currently, there's no check for DLCs, but I can implement it if necessary.
Extensions.cs changes:
- I added a
RemoveRichTextTags()method toExtensions.cs, becauseText.CalcHeight()doesn't work properly with rich text, and it also causes unnecessary spacing, which can make the box taller than it needs to be.
Is this purely 1.5 or is there a working prepatcher for 1.6?
It's for 1.6, but I think it might also work on 1.5. There is no Prepatcher for 1.6 yet. If the Prepatcher is still not available when the mod is ready for 1.6, we can disable the warning or we can just wait until Prepatcher is released for 1.6.