Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP filter reports out from announcelist screen #123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TymurGubayev
Copy link
Contributor

@TymurGubayev TymurGubayev commented Feb 27, 2020

The script filters reports out from announcelist screen (a), which doesn't prevent them from
entering gamelog.txt.

Example usage: in announcements.txt add D_D to regular and combat conversations like this.

  [REGULAR_CONVERSATION:A_D:D_D]
  [CONFLICT_CONVERSATION:A_D:UCR_A:D_D]

Restart the game.

Now there are conversations in the reports, which is a bit too much. Luckily,
this script deals with exact that problem (filter-reports REGULAR_CONVERSATION CONFLICT_CONVERSATION).

And finally you would need another tool to do something about all the stuff
that's in the gamelog now. Like Soundsense or Announcement Window. But the filters are missing as of now.

Alternative is adapting it_was_inevitable, maybe both.

Marked WIP because of missing filters, the script itself is functioning.

-- always be the last one.
for i = #vec-1,0,-1 do
if vec[i].id == id then
-- TODO: do we need to set `world.status.display_timer = 0` here?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably want to set display_timer to 0 when the last report is one that shouldn't be displayed.

@myk002 myk002 added this to In progress in 0.47.05-r6 via automation May 9, 2022
@myk002 myk002 moved this from In progress to To do in 0.47.05-r6 May 10, 2022
@myk002 myk002 moved this from To do to In progress in 0.47.05-r6 May 31, 2022
@myk002 myk002 removed this from In progress in 0.47.05-r6 Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants