frnsys / half_earth

Half-Earth Socialism: The Game, for Half-Earth Socialism (Verso 2022)
GNU Affero General Public License v3.0
39 stars 7 forks source link

Dialogue rendering issue #166

Closed frnsys closed 3 months ago

frnsys commented 2 years ago

image

I'm guessing something is breaking with the dialogue text animation

Side note: that effect should have an abs value for the percent

frnsys commented 2 years ago

What's very strange here is that the "relating to the life around them" is not even from this project, it's from the "Environmentalist Curriculum" project

frnsys commented 2 years ago

A couple other reports of this problem, waiting to get some session ids to try and reproduce

frnsys commented 2 years ago

So it's definitely a mixture of the crypto mining policy dialogue and the environmentalist curriculum dialogue:

We've got a lot of extra graphics cards now, not sure what to do with them.

People are learning about their local ecology and finding better ways of interacting and relating to the life around them.

frnsys commented 2 years ago

So I thought I'd be able to reproduce this by having the crypto and env curriculum finishing at the same time, but that didn't reproduce it.

Trying to think through what could cause output like this, the best I can come up with is that revealChars in Dialogue.vue is somehow called twice, which would mean that play is called again

Like somehow you advance to a new dialogue when the first one hasn't finished playing

frnsys commented 2 years ago

image

Subtracting out the known text for the Ban Cars policy outcome event ("There has been a rapid decline in mortality from diabetes and coronary heart disease...") leaves us with:

To have achievedour vision ofHalf Earth...I'm speechless.

Which is from the Half Earth policy outcome event.

I believe the matching session id for this is: 6e63e475-255e-b32b-2461-50def86fb9f2

These were completed that year:

  Half-Earth: ('Active', 0, 0)
  Zoopolitical Education: ('Active', 0, 0)
  Vegan Mandate: ('Active', 0, 0)
  Ban Cars: ('Active', 0, 0)
  Marine Protected Areas: ('Active', 0, 0)
  Remediate Damaged Ecosystems: ('Active', 3, 0)

Not all of these are Policies, but the overlapping text in both cases were both from Policies. I don't know if that's significant