Convert hideout craft exp magic string into config value
This commit is contained in:
parent
218eb35ecb
commit
fd56bf040e
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"runIntervalSeconds": 15,
|
"runIntervalSeconds": 15,
|
||||||
"hoursForSkillCrafting": 28800,
|
"hoursForSkillCrafting": 28800,
|
||||||
"hideoutWallAppearTimeSeconds": 86400
|
"hideoutWallAppearTimeSeconds": 86400,
|
||||||
|
"expCraftAmount": 10
|
||||||
}
|
}
|
@ -587,7 +587,7 @@ export class HideoutController
|
|||||||
if (area && request.recipeId !== area.lastRecipe)
|
if (area && request.recipeId !== area.lastRecipe)
|
||||||
{
|
{
|
||||||
// 1 point per craft upon the end of production for alternating between 2 different crafting recipes in the same module
|
// 1 point per craft upon the end of production for alternating between 2 different crafting recipes in the same module
|
||||||
craftingExpAmount += 10;
|
craftingExpAmount += this.hideoutConfig.expCraftAmount; // Default is 10
|
||||||
}
|
}
|
||||||
|
|
||||||
// 1 point per 8 hours of crafting
|
// 1 point per 8 hours of crafting
|
||||||
|
@ -6,4 +6,5 @@ export interface IHideoutConfig extends IBaseConfig
|
|||||||
runIntervalSeconds: number
|
runIntervalSeconds: number
|
||||||
hoursForSkillCrafting: number
|
hoursForSkillCrafting: number
|
||||||
hideoutWallAppearTimeSeconds: number
|
hideoutWallAppearTimeSeconds: number
|
||||||
|
expCraftAmount: number;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user