Schedules
Story allows creating schedules for NPCs, by assigning locations for each hour during a minecraft day.
You can assign up to 24 hours in a day, but you do not have to assign for all of it. For example, if you assign for hour 6, as shown in the example below, you do not have to fill hours between 6 to 12.
Possible actions are:
work
sit
sleep
idle
Everything except work are used to set the entity poses, work on the other hand allows them to override whatever they are currently doing and get to their schedule no matter what. For example, if the character was having a conversation at 5 am, and now it is 6 am, they will say goodbye and leave for their work.
schedule:
"6":
location: "Windhelm/Marketplace/Aval_Atheron_Spot"
action: work
dialogue:
- "*I yell out to the people passing by.* Welcome to Aval Atheron's stall! I have the finest meats in Windhelm!"
- "*I call out to a passing customer.* Looking for some fresh meat? I have the best cuts in town!"
- "*I greet a customer.* Good day! How can I assist you with your meat needs today?"
"18":
location: "Windhelm/New_Gnisis_Cornerclub"
action: idle
dialogue: []
"22":
location: "Windhelm/Atheron_Residence"
action: idle
dialogue: []Random Pathing
Also see random pathing page, which allows you to have NPCs randomly wander off sublocations of a location.
Random PathingLast updated