Skip to content

Commit

Permalink
change to "DISABLE_CRAFTING_METAL"
Browse files Browse the repository at this point in the history
  • Loading branch information
idinium96 committed Aug 2, 2020
1 parent f359180 commit 88835c5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ You can run your bot without this first, which then on the first run, it will pr
#### Set to true if want to disable
- `DISABLE_INVENTORY_SORT`: [true|false] Default: `false`. Sort your bot inventory.
- `DISABLE_LISTINGS`: [true|false] Default: `false`. This is used if you want to temporarily disable trading while your bot is alive.
- `DISABLE_CRAFTING`: [true|false] Default: `false`. **NOT RECOMMENDED** to set is as `true`, as it cause bot and trade partner to not be able to trade because of missing pure changes.
- `DISABLE_CRAFTING_METAL`: [true|false] Default: `false`. **NOT RECOMMENDED** to set is as `true`, as it cause bot and trade partner to not be able to trade because of missing pure changes.
- `DISABLE_CRAFTING_WEAPONS`: [true|false] Default: `false`. Set to **`true` if you DO NOT** want your bot to automatically craft any duplicated craftable weapons.
- `DISABLE_MESSAGES`: [true|false] Default: `false`. When `true`, people (that are friend with your bot) will be unable send messages to you with "!message" command.
- `DISABLE_SOMETHING_WRONG_ALERT`: [true|false] - Default: `false`. My custom - Used to notify owner if your bot has a queue problem/full inventory/low in pure (if Autokeys is on).
Expand Down
2 changes: 1 addition & 1 deletion src/classes/MyHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2224,7 +2224,7 @@ Autokeys status:-
}

private keepMetalSupply(): void {
if (process.env.DISABLE_CRAFTING === 'true') {
if (process.env.DISABLE_CRAFTING === 'true' || process.env.DISABLE_CRAFTING_METAL === 'true') {
return;
}
const pure = this.currPure();
Expand Down
2 changes: 1 addition & 1 deletion template-three-bots.ecosystem.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@

"DISABLE_INVENTORY_SORT": false,
"DISABLE_LISTINGS": false,
"DISABLE_CRAFTING": false,
"DISABLE_CRAFTING_METAL": false,
"DISABLE_CRAFTING_WEAPONS": false,
"DISABLE_MESSAGES": false,
"DISABLE_SOMETHING_WRONG_ALERT": false,
Expand Down
2 changes: 1 addition & 1 deletion template-two-bots.ecosystem.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

"DISABLE_INVENTORY_SORT": false,
"DISABLE_LISTINGS": false,
"DISABLE_CRAFTING": false,
"DISABLE_CRAFTING_METAL": false,
"DISABLE_CRAFTING_WEAPONS": false,
"DISABLE_MESSAGES": false,
"DISABLE_SOMETHING_WRONG_ALERT": false,
Expand Down
2 changes: 1 addition & 1 deletion template.ecosystem.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

"DISABLE_INVENTORY_SORT": false,
"DISABLE_LISTINGS": false,
"DISABLE_CRAFTING": false,
"DISABLE_CRAFTING_METAL": false,
"DISABLE_CRAFTING_WEAPONS": false,
"DISABLE_MESSAGES": false,
"DISABLE_SOMETHING_WRONG_ALERT": false,
Expand Down
2 changes: 1 addition & 1 deletion template.env
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SCRAP_ADJUSTMENT_VALUE=1

DISABLE_INVENTORY_SORT=false
DISABLE_LISTINGS=false
DISABLE_CRAFTING=false
DISABLE_CRAFTING_METAL=false
DISABLE_CRAFTING_WEAPONS=false
DISABLE_MESSAGES=false
DISABLE_SOMETHING_WRONG_ALERT=false
Expand Down

0 comments on commit 88835c5

Please sign in to comment.