modal.close()}>
addPeriodGoal()}> {#each subGoals as subGoal} {/each}

The amount of points must be in an increment of 1000, which should be equivalent to about an hour of baseline activity. Subgoal values are multipliers. 1.05 means that the 5% more points are added. 0.5 means the points are halved.