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

2430 fix %god macro for fighters guild #2478

Merged
merged 2 commits into from Jan 17, 2023

Conversation

JorisVanEijden
Copy link
Contributor

This is a fix for using a %god macro in a quest when inside a Fighters Guild hall in a region where this is considered a temple.
It will pick a random deity name, rather than crashing the quest.

I also fixed the existing random deity name selection, which could pick non-existing factionIds 23, 30, 31, 32 and 34.

case 0: return FactionFile.FactionIDs.Arkay;
case 1: return FactionFile.FactionIDs.Zen;
case 2: return FactionFile.FactionIDs.Mara;
case 3: return FactionFile.FactionIDs.Ebonarm;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not sure about Ebonarm being in the random selection.
We could go full "Daggerfall urban legend" and make Ebonarm the "FG with Temple building type" deity, instead of a random selection. Having a random deity there might get them confused with religious knight orders

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not familiar enough with the lore to be able to say which divines would be inappropriate to mention in a Fighters Guild hall.

I went with the original code comment "Better just to provide something than let let game loop crash".

@Interkarma
Copy link
Owner

Everything is a step up from just returning BLANK like classic. Not crashing is definitely an improvement over that. :)

@KABoissonneault - I'm not much of a lore guy, but I see your point here. I'm happy to exclude Ebonarm after merge if you like?

@Interkarma Interkarma merged commit 9e94b76 into Interkarma:master Jan 17, 2023
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.

None yet

3 participants