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

Recruiting characters again #44

Open
4 tasks done
chrismdp opened this issue Oct 11, 2020 · 2 comments
Open
4 tasks done

Recruiting characters again #44

chrismdp opened this issue Oct 11, 2020 · 2 comments

Comments

@chrismdp
Copy link
Owner

chrismdp commented Oct 11, 2020

  • shared queue for jobs list, brought through with state into primitive HTN actions
  • recruit character action adds them to your kingdom
  • fix issue with interrupted characters always waiting around (and then having their food stolen!)
    Double recruitment order still goes ahead - make sure it's cancelled somehow (will also affect other types of orders perhaps? Maybe we de-dup the list?)
  • Wait for should be cancelled immediately - shouldn't really be part of an ongoing plan. Shouldn't necessarily be re-planned constantly though - need some kind of trigger?
@chrismdp
Copy link
Owner Author

I think a shared queue is the way to go for now? New recruit action to target character - (auto-accept for now) who will then gain the jobs list in their planner. Perhaps the jobs list is a separate entity (or at least component) with an id to make this easier. We could use a sensor to copy the jobs over from there into the world, or allow direct lookup for simplicity (which means methods and primitive as need the state...?)

@chrismdp
Copy link
Owner Author

chrismdp commented Oct 12, 2020

Oooh - what about characters turning up with a backstory (attacked by robbers, lost orphans, simple farmsteaders), and have a conversation system triggered each time we recruit? That's a nice idea and speaks well to being all about the people... perhaps generate the people with these stories in the background, around the edges of the map. Also would be nice to have a conversation system like Sol Trader's...

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

1 participant