mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-07-26 01:45:25 +02:00
34 lines
1.4 KiB
Markdown
34 lines
1.4 KiB
Markdown
![]() |
# Construction Tasks Generation
|
||
|
|
||
|
## Overview
|
||
|
Instructions on how to customize construction task generation.
|
||
|
|
||
|
## Getting Started
|
||
|
Edit and Run `tasks/construction_tasks/generate_multiagent_construction_tasks.js` to create new task variants. Note the 'main' is at the end of the page, and determines which file gets written to.
|
||
|
|
||
|
## Customization Options
|
||
|
|
||
|
### Cheats and Profile Configurations
|
||
|
To enable cheats, set the `cheat` variable to `true` in `profiles/task_construct.json`.
|
||
|
You can additionally access
|
||
|
|
||
|
### Task Configuration
|
||
|
For task specific customization, modify the `generateConstructionTasks` function in `tasks/construction_tasks/generate_multiagent_construction_tasks.js` to adjust:
|
||
|
|
||
|
1. Room parameters:
|
||
|
- Size
|
||
|
- Window style
|
||
|
- Carpet style
|
||
|
|
||
|
2. Task generation:
|
||
|
- Number of variants
|
||
|
- Timeout duration
|
||
|
|
||
|
The generation code is documented to help with customization.
|
||
|
|
||
|
## Important File Locations
|
||
|
- `tasks/construction_tasks/generate_multiagent_construction_tasks.js` - Main task generation script
|
||
|
- `profiles/task_construct.json` - Default configuration profile
|
||
|
- `tasks/construction_tasks/test_multiagent_construction_tasks.json` - Training task definitions (initalized with 5 variants)
|
||
|
- `tasks/construction_tasks/test_multiagent_construction_tasks.json` - Test task definitions (initalized with 1 variant)
|
||
|
- `src/agent/task_types/construction_tasks.js` - Blueprint Class, Construction Validation Class, and Procedural Generation Function
|