adds dummy impls for targeted behaviours
This commit is contained in:
@@ -19,6 +19,13 @@ export const store = {
|
||||
state: {
|
||||
player_id: 0,
|
||||
show_player_chest: false,
|
||||
// methods
|
||||
isPlayer () {
|
||||
this.player_id != 0
|
||||
},
|
||||
isGroup () {
|
||||
this.player_id == 0
|
||||
},
|
||||
},
|
||||
setActivePlayer (newPlayerId) {
|
||||
if (this.debug) console.log('setActivePlayer to ', newPlayerId)
|
||||
|
||||
Reference in New Issue
Block a user