mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-08 00:05:55 +02:00
refactored import
This commit is contained in:
parent
b7bdbf7759
commit
de0f02587e
2 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
import * as world from '../library/world.js';
|
import * as world from '../library/world.js';
|
||||||
import * as mc from '../../utils/mcdata.js';
|
import * as mc from '../../utils/mcdata.js';
|
||||||
import convoManager from '../conversation.js';
|
import convoManager from '../conversation.js';
|
||||||
import { checkLevelBlueprint, checkBlueprint } from '../tasks.js';
|
import { checkLevelBlueprint, checkBlueprint } from '../construction_tasks.js';
|
||||||
|
|
||||||
const pad = (str) => {
|
const pad = (str) => {
|
||||||
return '\n' + str + '\n';
|
return '\n' + str + '\n';
|
||||||
|
|
|
@ -8,6 +8,7 @@ export class ConstructionTaskValidator {
|
||||||
validate() {
|
validate() {
|
||||||
try {
|
try {
|
||||||
//todo: somehow make this more of a percentage or something
|
//todo: somehow make this more of a percentage or something
|
||||||
|
//todo: change air validation
|
||||||
console.log('Validating task...');
|
console.log('Validating task...');
|
||||||
let valid = false;
|
let valid = false;
|
||||||
let score = 0;
|
let score = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue