WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Trap Trimps: minTraps not respected in gather.js #175

@Patashu

Description

@Patashu

At the top of father.js we have:

MODULES["gather"].minTraps = 100;

Which is used in two other places. But the other place you'd expect this to be used, instead 100 is hard-coded:

 if (game.buildings.Trap.owned < 100 && canAffordBuilding('Trap')) {

Instead it should be:

 if (game.buildings.Trap.owned < MODULES["gather"].minTraps && canAffordBuilding('Trap')) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions