-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add random events #92
Conversation
Random events are taken from the 5 json files created by `seed.mjs`, squashed into a single json file, and extracted to lib\collections\randomEvents.json
still WIP, mappings need to be done
Couple of problems: 1. Navbar issues 2. Pages don't load (404) 3. Mapping isn't done yet
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request introduces 10 alerts when merging b2ca528 into 961fd4e - view on LGTM.com new alerts:
|
Forgot to add that this is just a draft PR: there are tons of random comments and unused imports in the code. |
This pull request introduces 10 alerts when merging fbb3ab6 into 998a613 - view on LGTM.com new alerts:
|
This pull request introduces 10 alerts when merging 10fefb0 into 998a613 - view on LGTM.com new alerts:
|
The list of random events is displayed correctly now and the 404 is fixed. |
Navbar errors are present, presumably because terms are missing in
SiteTermMap.json
Pages for individual random events don't load (404): I tried to work off what I saw on the buildings pages, but something's probably gone wrong (maybe with an src somewhere?)
Edited convert.js to give us the random events, but the mapping still needs to be done. For now I'm just storing the raw data till we can convert the c# enums to a json map or something