Convert hideout craft exp magic string into config value

This commit is contained in:
Dev 2023-07-12 20:12:16 +01:00
parent 218eb35ecb
commit fd56bf040e
3 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,6 @@
{
"runIntervalSeconds": 15,
"hoursForSkillCrafting": 28800,
"hideoutWallAppearTimeSeconds": 86400
"hideoutWallAppearTimeSeconds": 86400,
"expCraftAmount": 10
}

View File

@ -587,7 +587,7 @@ export class HideoutController
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
craftingExpAmount += 10;
craftingExpAmount += this.hideoutConfig.expCraftAmount; // Default is 10
}
// 1 point per 8 hours of crafting

View File

@ -6,4 +6,5 @@ export interface IHideoutConfig extends IBaseConfig
runIntervalSeconds: number
hoursForSkillCrafting: number
hideoutWallAppearTimeSeconds: number
expCraftAmount: number;
}