init
This commit is contained in:
17
src/globalstore.js
Normal file
17
src/globalstore.js
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user