V-Sekai / godot-goal-task-planner

Other
6 stars 1 forks source link

AI Director for Magical Beings' College Town #6

Closed fire closed 3 months ago

fire commented 8 months ago

Describe the proposed feature and how it helps to overcome a problem or limitation

This request suggests an new AI planner, aiming to streamline activities in a magical college town suitable for a game streamable via twitch // sammi.

Other information about your context or usecase.

We currently can't plan or optimize activities in a magical college town. These activities include eating cake, fighting evil, hospital visits, and beach outings. The planner must also consider three different directions at any given point.

If known, describe how your proposal will work, with code, pseudo-code, mock-ups, or diagrams

The solution involves modifying the existing AI planner code to suit this scenario. Here's a pseudo-code representation of the enhanced AI planner:

planner.find_plan(state0.duplicate(true), [Multigoal.new("goal1", {"loc": {"MagicalBeing": "Location"}, "time": {"MagicalBeing": 15 }})])

// Actions array with their time durations
[["action1", "MagicalBeing", "location1", "location2", time_duration], ["action2", "MagicalBeing", "location2", "location3", time_duration], ...]

// Three directional choices for the planner
direction_choice = ["direction1", "direction2", "direction3"]

Anything else

No response

fire commented 3 months ago

Paused for now.