-
-
Notifications
You must be signed in to change notification settings - Fork 54
Journal
Generated on 3/10/2026 3:07:34 AM
Version: 5.0.1+cb2bfafc8ca61e99043cebfbd4c89fcbe562551b
Method Signature:
Void ClearJournal(System.String)
- buffer: String value - See description for usage. (Optional)
Description:
Clear all journal texts.
Example:
ClearJournal() Method Signature:
Boolean InJournal(System.String, System.String, Int32, Int32, System.String)
- text: String value - See description for usage.
- author: String value - See description for usage. (Optional)
- hue: Item Hue or -1 for any. (Optional)
- timeout: Timeout specified in milliseconds. (Optional)
- buffer: String value - See description for usage. (Optional)
Description:
Check for a text in journal, optional source name.
Example:
if InJournal("town guards", "system"): Method Signature:
Boolean WaitForJournal(System.String, Int32, System.String, Int32)
- text: String value - See description for usage.
- timeout: Timeout specified in milliseconds.
- author: String value - See description for usage. (Optional)
- hue: Item Hue or -1 for any. (Optional)
Description:
Wait the given timeout for the journal text to appear.
Example:
if WaitForJournal("town guards", 5000, "system"): Method Signature:
System.ValueTuple2[System.Nullable1[System.Int32],System.String] WaitForJournal(System.Collections.Generic.IEnumerable`1[System.String], Int32, System.String)
- entries: An array of strings.
- timeout: Timeout specified in milliseconds.
- author: String value - See description for usage. (Optional)
Description:
Wait up the given timeout for one of any of provided array of string to appear in journal
Example:
(idx, text) = WaitForJournal(['sex', 'drugs'], 5000)
if idx != None:
print "Found text '{}' at index {}".format(text, idx)
else:
print 'None of them were found :('