wateret / mengde

A turn-based RPG game engine inspired by 三國志曹操傳.
MIT License
27 stars 10 forks source link

Support various types of enemy AI #131

Closed wateret closed 5 years ago

wateret commented 5 years ago

Infra

Types of AI mode

Later works

These types requires additional parameter so it will be done in the future.

% User defined AI is not the feature in near future.

Usage

Those types should be a thing that can be set by script

For example, in lua scenario script

game:set_ai_mode(unit_id, "hold_position")
wateret commented 5 years ago

Resolved by #136