17 lines
511 B
JavaScript
17 lines
511 B
JavaScript
import { reactive } from "vue"
|
|
|
|
export const globalStore = reactive({
|
|
invitees: 0,
|
|
followed_official: false,
|
|
cap_scan: 0,
|
|
game_chances_view_recipes: 0,
|
|
POINT_1_ICESIP: 100,
|
|
POINT_1_ICON: 100,
|
|
MAX_CAP_SCAN: 5,
|
|
CONSUME_POINT_1_PER_DRAW: 1000,
|
|
MAX_INVITE_DAILY: 5,
|
|
MAX_VIEW_RECIPES_DAILY: 3,
|
|
updateViewRecipesCount () {
|
|
this.game_chances_view_recipes = this.game_chances_view_recipes >= this.MAX_VIEW_RECIPES_DAILY ? this.MAX_VIEW_RECIPES_DAILY : this.game_chances_view_recipes + 1
|
|
}
|
|
}) |