eriksik2 / npcs Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Npcs don't have any AI right now. This is an overview of how npc ai will work.
Npcs not in any group:
Npcs in an npc group:
Npcs in a player group:
NpcInteractScreen is being rewritten using ModWidget and DialogueGraph.
Things left to do:
The foundation for a dialogue system is put in place with the DialogueGraph. This is an overview of the plan for the dialogue system.
General dialogue options:
Special dialogue options for a stranger:
Special dialogue options for a group member:
I will need a way for npc worker to have access to the resources they need for their tasks, as well as a way for them to deposit the resources they produce.
Some ideas:
Right clicking a chest with the area designator will open a gui where you can specify a name for that chest?
Tasks within roles will need to specify which chests to take resources from and which chests to deposit resources in?
The encyclopedia is messy and incomplete. Rewrite using ModWidget.
During rewrite:
Each role should have the ability to include a set of tasks that the npcs of that role should do.
A task can only be performed inside areas that are permitted for the role the task is included in.
Player can't define new tasks, but they can customize the parameters of some tasks.
Initial ideas for tasks:
Cut wood.
Fight/defend/kill
Parameters: target mobs, hostile mobs, mobs and hostile mobs, specific mobs selected from a list.
Craft
Parameter: recipe (only one)
Get resources from animals
Parameters: animal types (cow -> milk, sheep -> shear, etc)
Breed animals
Parameters: animal types, target count (breed until there are N animals in area)
Butcher animals
Parameters: animal types, target count (butcher until there are N animals in area)
Plant crops
Parameters: crop type
Harvest crops
Parameters: crop type
TODO: Figure out how tasks will integrate with draft (follow player) mode.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.