Chat AI Player - Autonomous Character Controller

by sumfeng

Creates and controls AI character entities directly via LuaControl API. Autonomous character controller with built-in behavior engine. AI characters can patrol-collect resources, build ghosts, auto-craft items, follow the player in combat mode, and execute one-shot movement or crafting commands - all without external dependencies.

Utilities
5 days ago
2.1
21
Character Cheats

g UI text

7 days ago

All of UI texts are in chinese.

Also the Github link is dead.

7 days ago

Version: 0.1.1
Date: 2026-07-14
Features:
- English UI support via Factorio locale system (auto-adapts to player language)
- Minimap chart tags showing AI character positions with robot icon and name
- On-load callback preservation: GUI buttons now work after loading a save
- /reload console command for hot-reloading mod scripts
- English keyword commands: mine, spawn, stop, status, follow, build patrol, goto, craft
- English short resource names: iron, copper, coal, stone, uranium
Changes:
- All GUI labels, console messages, and behavior notifications now localized
- shooting_state corrected to use defines.shooting enum format
- Weapon range check uses AMMO_RANGE distance instead of can_reach_entity
Bugfixes:
- Fixed AI character not shooting despite having weapon and ammo
- Fixed GUI buttons unresponsive after save load
- Fixed count must be positive error in combat ammo refill
- Fixed "Unknown key" errors: all locale references must use {"text.key"} format
- Fixed "LuaPlayer doesn't contain key language" crash
- Fixed "attempt to concatenate a table value" in GUI append_output and refresh_chat
- Fixed chat history showing locale key names instead of readable text
- Fixed double-print on depot assign (Actions.print + execute_command both printed)
- Fixed hardcoded Chinese text in tooltips, console messages, GUI labels

New response