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

Override creature's allegiance per player #13

Open
crankycyclops opened this issue Apr 5, 2013 · 1 comment
Open

Override creature's allegiance per player #13

crankycyclops opened this issue Apr 5, 2013 · 1 comment
Assignees
Labels
Milestone

Comments

@crankycyclops
Copy link
Owner

Should be able to override a creature's default allegiance on a per player basis, so that a creature might be a friend to one player but an enemy to another.

@ghost ghost assigned crankycyclops Apr 5, 2013
@crankycyclops
Copy link
Owner Author

Actually, make this more general. A creature's allegiance is to a generic Being. And, it will probably happen like this:

if (hash table allegiance is set for the being in question) {
use that;
}

else {
use global value;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant