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

Board manages player control state #2367

Merged
merged 1 commit into from
May 17, 2015

Conversation

niamu
Copy link
Member

@niamu niamu commented May 15, 2015

Resolves #2361 which is a bug I previously created trying to have the player not move when a
dialog is open.

@niamu niamu force-pushed the player_controlstate branch from 48f37b0 to 06414ac Compare May 15, 2015 17:48
@edisonout
Copy link
Member

LGTM. Is there anything else this pull could possibly affect that we need to test to make sure nothing else is broken somewhere else?

@niamu
Copy link
Member Author

niamu commented May 16, 2015

Not that I can think of. Boards are used for dialogs and other prompts. Maybe have a quick look to see if we use board.lua for anything else?

@edisonout
Copy link
Member

Enter the tavern and open your inventory. Once the dealer speaks to you and you close his dialog prompt, then you can start moving with your inventory.

@niamu
Copy link
Member Author

niamu commented May 17, 2015

How do we feel about closing the inventory if a dialog pops up?

@CalebJohn
Copy link
Member

I'm all for it, it may be a little annoying but really won't come up as an issue that often.

Resolves the bug I previously created trying to have the player not move when a
dialog is open.
@niamu niamu force-pushed the player_controlstate branch from 06414ac to e6d8d13 Compare May 17, 2015 04:07
@niamu
Copy link
Member Author

niamu commented May 17, 2015

Inventory closes when a dialog opens. Hopefully that is the last of the issues with this pull request.

@CalebJohn
Copy link
Member

LGTM
What do you think about re-opening the inventory after the dialog closes? Would it be too much trouble? It doesn't add much so isn't really necessary.

@niamu
Copy link
Member Author

niamu commented May 17, 2015

I have a feeling that trying to open it again afterwards might not be worthwhile. The only time a dialog will ever really happen with the inventory open anyways is the tavern level. And that is within 3-4 seconds. Hopefully our players don't mind losing 3-4 seconds of crafting effort in that case which we wouldn't be able to restore for them by opening the inventory again anyways.

@CalebJohn
Copy link
Member

You're right it won't be worth it, This is good for merging!

niamu added a commit that referenced this pull request May 17, 2015
Board manages player control state
@niamu niamu merged commit 84609cb into hawkthorne:master May 17, 2015
@niamu niamu deleted the player_controlstate branch May 21, 2015 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can move around with inventory open
3 participants