mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
added debug flag 'rewardsSingleShape'
This commit is contained in:
parent
27921e9d0e
commit
0a1bf83966
@ -32,6 +32,9 @@ export default {
|
|||||||
// All rewards can be unlocked by passing just 1 of any shape
|
// All rewards can be unlocked by passing just 1 of any shape
|
||||||
// rewardsInstant: true,
|
// rewardsInstant: true,
|
||||||
// -----------------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------------
|
||||||
|
// Rewards after level 18 can be unlocked by passing just 1 of required shape
|
||||||
|
// rewardsSingleShape: true,
|
||||||
|
// -----------------------------------------------------------------------------------
|
||||||
// Unlocks all buildings
|
// Unlocks all buildings
|
||||||
// allBuildingsUnlocked: true,
|
// allBuildingsUnlocked: true,
|
||||||
// -----------------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------------
|
||||||
|
@ -210,12 +210,21 @@ export class HubGoals extends BasicSerializableObject {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.currentGoal = {
|
if (globalConfig.debug.rewardsSingleShape) {
|
||||||
/** @type {ShapeDefinition} */
|
this.currentGoal = {
|
||||||
definition: this.createRandomShape(),
|
/** @type {ShapeDefinition} */
|
||||||
required: 10000 + findNiceIntegerValue(this.level * 2000),
|
definition: this.createRandomShape(),
|
||||||
reward: enumHubGoalRewards.no_reward_freeplay,
|
required: 1,
|
||||||
};
|
reward: enumHubGoalRewards.no_reward_freeplay,
|
||||||
|
};
|
||||||
|
} else {
|
||||||
|
this.currentGoal = {
|
||||||
|
/** @type {ShapeDefinition} */
|
||||||
|
definition: this.createRandomShape(),
|
||||||
|
required: 10000 + findNiceIntegerValue(this.level * 2000),
|
||||||
|
reward: enumHubGoalRewards.no_reward_freeplay,
|
||||||
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user