Skip to content

Commit

Permalink
update gold when doing location stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisinajar committed Feb 29, 2024
1 parent b1d8171 commit e5c12f8
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/game/locations/settlement/build-building.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ mutation BuildBuilding($type: PlayerLocationType!, $location: LocationInput!) {
nextAllowedAction
hero {
id
gold
home {
id
resources {
Expand Down
4 changes: 4 additions & 0 deletions src/game/locations/settlement/build-fortifications.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ mutation BuildFortifications($location: LocationInput!, $amount: Int!) {
account {
id
nextAllowedAction
hero {
id
gold
}
}
}
}
4 changes: 4 additions & 0 deletions src/game/locations/settlement/craft-honey-essences.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ mutation CraftHoneyEssences($location: LocationInput!, $amount: Int!) {
account {
id
nextAllowedAction
hero {
id
gold
}
}
}
}
4 changes: 4 additions & 0 deletions src/game/locations/settlement/purchase-bonds.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ mutation PurchaseBonds($location: LocationInput!, $amount: Int!) {
account {
id
nextAllowedAction
hero {
id
gold
}
}
}
}
4 changes: 4 additions & 0 deletions src/game/locations/settlement/recruit.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ mutation Recruit($location: LocationInput!, $amount: Int!) {
account {
id
nextAllowedAction
hero {
id
gold
}
}
}
}

0 comments on commit e5c12f8

Please sign in to comment.