promotional bannermobile promotional banner

no-tifications

overrides colors and/or removes notifications from ui

File Details

LOCAL_no-tification.release.v1.1.ts4script.zip

  • R
  • Jul 15, 2023
  • 3.87 KB
  • 480
  • 1.98.158+1

File Name

LOCAL_no-tification.release.v1.1.ts4script.zip

Supported Versions

  • 1.98.158
  • 1.98.127

v1.1 Included a new condition owner=None to fix gardening notification resetting the timeline.

103,104c103,104
< notification_msg.information_level = self.information_level
< notification_msg.visual_type = self.visual_type
---
> notification_msg.information_level = UiDialogNotification.UiDialogNotificationLevel.SIM
> notification_msg.visual_type = UiDialogNotification.UiDialogNotificationVisualType.SPEECH
110a111,118
> if self.expand_behavior is UiDialogNotification.UiDialogNotificationExpandBehavior.FORCE_EXPAND:
> del self.msg
> if self.urgency is UiDialogNotification.UiDialogNotificationUrgency.URGENT:
> del self.msg
> if self.visual_type is UiDialogNotification.UiDialogNotificationVisualType.INFORMATION and self.information_level is UiDialogNotification.UiDialogNotificationLevel.PLAYER and self.owner is None:
> del self.msg
> if icon_override is not DEFAULT and icon_override is not IconInfoData(icon_resource=self.icon) and self.owner is None:
> del self.msg