Skip to content

Allow users to define the time interval of DisplayIncome#2206

Merged
Coronia merged 2 commits into
Phobos-developers:developfrom
DeathFishAtEase:DisplayIncome.Delay
May 11, 2026
Merged

Allow users to define the time interval of DisplayIncome#2206
Coronia merged 2 commits into
Phobos-developers:developfrom
DeathFishAtEase:DisplayIncome.Delay

Conversation

@DeathFishAtEase
Copy link
Copy Markdown
Collaborator

@DeathFishAtEase DeathFishAtEase commented May 10, 2026

In rulesmd.ini:

[AudioVisual]
DisplayIncome.Delay=15    ; integer

[SOMEBUILDING]            ; BuildingType
DisplayIncome.Delay=15    ; integer, defaults to [AudioVisual] -> DisplayIncome.Delay

Warning

Delay cannot be set to 0, this will change the delay to 1 and outputs a developer warning to log.

Log Example:
In rulesmd.ini:

[AudioVisual]
DisplayIncome.Delay=0
[NAREFN]
DisplayIncome.Delay=0
[GAREFN]
DisplayIncome.Delay=15

In debug.log:

...
[Phobos] [Developer warning] [AudioVisual] DisplayIncome.Delay is set to 0, forcing to 1.
[Phobos] [Developer warning] [NAREFN] DisplayIncome.Delay is set to 0, forcing to 1.
...

@DeathFishAtEase DeathFishAtEase self-assigned this May 10, 2026
@DeathFishAtEase DeathFishAtEase added Needs testing ⚙️T1 T1 maintainer review is sufficient ❓Unhardcoding / Customization Make something more tweakable No Documentation Needed No documentation needed whatsoever labels May 10, 2026
@phoboscn-bot
Copy link
Copy Markdown

To Chinese users:
This pull request has been mentioned on Phobos CN. There might be relevant details there:

致中文用户:
此拉取请求已在 Phobos CN 上被提及。那里可能有相关详细信息:

https://www.phoboscn.top/t/topic/436/1

@DeathFishAtEase DeathFishAtEase requested a review from TaranDahl May 10, 2026 07:14
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 10, 2026

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

@DeathFishAtEase
Copy link
Copy Markdown
Collaborator Author

Tested by: https://www.phoboscn.top/t/topic/436/2
image

@Coronia Coronia merged commit f8a8e2f into Phobos-developers:develop May 11, 2026
6 checks passed
@DeathFishAtEase DeathFishAtEase deleted the DisplayIncome.Delay branch May 11, 2026 14:25
DeathFishAtEase added a commit to DeathFishAtEase/Phobos that referenced this pull request May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

No Documentation Needed No documentation needed whatsoever ⚙️T1 T1 maintainer review is sufficient Tested ❓Unhardcoding / Customization Make something more tweakable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants