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

Ability to script creature movements #61

Open
crankycyclops opened this issue Mar 25, 2015 · 1 comment
Open

Ability to script creature movements #61

crankycyclops opened this issue Mar 25, 2015 · 1 comment
Labels

Comments

@crankycyclops
Copy link
Owner

This wouldn't work with the current event handling scheme, which must exit as soon as possible so that events in the game can continue. We should be able to script the actions of a creature in the game, so that they can function as NPCs. Maybe create a new Creature type, NPC? Except that I want to be able to script all characters. I'll have to investigate this further.

@crankycyclops
Copy link
Owner Author

I could couple this to wanderlust. There could be different motion-generators for it (by default, it's just random), or I could also offer the option of using a lua script to determine how the creature's movements are generated.

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