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

beforeFirstEnter(), afterFirstEnter() functions not firing for the room you start the game in? #119

Open
FloridaChristopher opened this issue Jan 7, 2025 · 1 comment

Comments

@FloridaChristopher
Copy link
Contributor

I've noticed that beforeFirstEnter(), afterFirstEnter() won't fire on the starting room even though beforeEnter() and afterEnter() will.

Further, I think we could put in the docs a tutorial on how to start games. Most text adventures have a preamble of sorts. Could be useful for teaching how to hide certain info and do setup.

@KVonGit
Copy link
Contributor

KVonGit commented Jan 7, 2025

I can't find the script that runs when the game starts, but I bet it only calls beforeEnter() and afterEnter(). Should be easy to add the before bits.

...and it seems like there was an easy way to do an intro described in the wiki...

I've been working with old Quest code for a few days... Lemme drink some caffeine and sugar, get my brain working, and I'll be back (if Pixie doesn't beat me to it).

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

No branches or pull requests

2 participants