Skip to content

Commit

Permalink
Merge branch 'release/1.1.10'
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Mar 8, 2024
2 parents 390e62b + abdbf5b commit d5c5d75
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 14 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@brdgm/terra-mystica-solo-helper",
"version": "1.1.9",
"version": "1.1.10",
"private": true,
"description": "Terra Mystica Solo Helper",
"appDeployName": "terra-mystica",
Expand Down
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<dt>Application Development</dt>
<dd>Stefan Seifert</dd>
<dt>Version</dt>
<dd>{{buildNumber}}</dd>
<dd>{{buildNumber}} (<a href="https://github.com/brdgm/terra-mystica-solo-helper/releases" target="_blank" rel="noopener">Change Log</a>)</dd>
<dt>Source Code (Apache-2.0 License)</dt>
<dd><a href="https://github.com/brdgm/terra-mystica-solo-helper" target="_blank" rel="noopener">https://github.com/brdgm/terra-mystica-solo-helper</a></dd>
</dl>
Expand Down
11 changes: 10 additions & 1 deletion src/components/setup/AutomaSetup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
</li>
</ol>
</li>
<li v-html="t('setupGameAutoma.step5',{count:bonusCardCount})"></li>
</ol>

<h4>{{t('setupGameAutoma.initialDwelling')}}</h4>
Expand All @@ -63,7 +62,17 @@
<AppIcon type="structure" name="unmarked" class="structureIcon"/>&nbsp;<span v-html="t('setupGameAutoma.initialDwellingUnmarked', {character:randomCard.initialDwellingUnmarked})"></span>
</li>
<li v-html="t('setupGameAutoma.initialDwellingPlayerSecond')"></li>
<li class="mots" v-if="hasMerchantsOfTheSeas">
<AppIcon type="expansion" name="merchants-of-the-seas" class="expansionIcon"/>
<span v-html="t('setupGameAutoma.initialDwellingDockMarker')"></span>
</li>
</ol>

<h4>{{t('setupGameAutoma.bonusCards')}}</h4>
<ul>
<li v-html="t('setupGameAutoma.bonusCardsTake',{count:bonusCardCount})"></li>
<li v-html="t('setupGameAutoma.bonusCardsCoins')"></li>
</ul>
</template>

<script lang="ts">
Expand Down
1 change: 1 addition & 0 deletions src/components/setup/ExpansionsSetup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<select class="form-select" id="finalScoringTile" v-model="finalScoringTile">
<option v-for="finalScoringTile of finalScoringTiles" :key="finalScoringTile" :value="finalScoringTile">{{t(`finalScoringTile.${finalScoringTile}`)}}</option>
</select>
<p v-if="hasMerchantsOfTheSeas" class="small muted mt-2 ms-1" v-html="t('setup.expansions.motsScoringTile')"></p>
</div>
</div>
</template>
Expand Down
14 changes: 9 additions & 5 deletions src/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
},
"expansions": {
"title": "Erweiterungen",
"finalScoringTile": "Endwertungskärtchen"
"finalScoringTile": "Endwertungskärtchen",
"motsScoringTile": "Das Endwertungsplättchen von <i>Die Händler</i> kann nicht verwendet werden."
}
},
"setupGameAutoma": {
Expand All @@ -44,13 +45,16 @@
"step4f": "Wende die weiteren Aufbauregeln der <b>{faction}-Völkerkarte</b> an und mache dich mit den Sonderregeln vertraut.",
"step4g": "Setze 1 ihrer Markierungssteine wie üblich auf Feld 20 der Punkteleiste.",
"step4h-mots": "Lege alle Handelsmarker in Automas Farbe und ihre Werft in ihren Bereich.",
"step5": "Mische die {count} Rundenbonuskarten und lege sie aufgedeckt nebeneinander in einer Reihe aus. Automa erhält die Karte ganz links. Wähle dann regulär eine Karte für dich.",
"initialDwelling": "Einsetzen der ersten Wohnhäuser",
"initialDwellingIntro": "Automa setzt ihre beiden Wohnhäuser ein, nachdem du dein erstes Wohnhaus eingesetzt hast. Nutze dafür die <b>Spielplankarte</b>, die den gewählten Spielplan zeigt.",
"initialDwellingPlayer": "Setze dein erstes Wohnhaus ein.",
"initialDwellingMarked": "Setze ein Automa-Wohnhaus auf ein Heimatlandschafts-Feld mit dem Buchstaben <b>{character}</b>, zusammen mit einem Machtchip.",
"initialDwellingUnmarked": "Setze ein Automa-Wohnhaus auf ein Heimatlandschafts-Feld mit dem Buchstaben <b>{character}</b>.",
"initialDwellingPlayerSecond": "Setze dein zweites Wohnhaus ein."
"initialDwellingPlayerSecond": "Setze dein zweites Wohnhaus ein.",
"initialDwellingDockMarker": "Setze deinen Hafenmarker auf das Feld eines Wohngebäudes, welches an ein Flussfeld angrenzt.",
"bonusCards": "Rundenbonuskarten",
"bonusCardsTake": "Mische die {count} Rundenbonuskarten und lege sie aufgedeckt nebeneinander in einer Reihe aus. Automa erhält die Karte ganz links. Wähle dann regulär eine Karte für dich.",
"bonusCardsCoins": "Legt auf die Rundenbonuskarten, die übrig geblieben sind, je eine Geldmünze aus dem allgemeinen Materialvorrat."
},
"income": {
"title": "Einkommen",
Expand Down Expand Up @@ -177,7 +181,7 @@
"endOfRound": {
"title": "Rundenende",
"turnInfo": "Runde {round}",
"cultBonuses": "Der Spieler erhält den <b>Kultbonus</b>.",
"cultBonuses": "Du erhältst den <b>Kultbonus</b>.",
"returnActionTokens": "Aktionsmarken zurücknehmen.",
"bonusCardsCoin": "Lege auf die drei übrig gebliebenen Rundenbonuskarten je <b>1 Geldmünze</b>.",
"removeScoringTile": "Entferne das aktuelle Wertungsplättchen aus dem Spiel."
Expand Down Expand Up @@ -215,7 +219,7 @@
"kuddlers": "Kuschler",
"druids": "Druiden",
"racelings": "Sprinter",
"wanderers": "Wanderers",
"wanderers": "Wanderer",
"mimics": "Die Nachahmer",
"powermongers": "Machthändler",
"symbionts": "Symbionten",
Expand Down
12 changes: 8 additions & 4 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
},
"expansions": {
"title": "Expansions",
"finalScoringTile": "Final Scoring Tile"
"finalScoringTile": "Final Scoring Tile",
"motsScoringTile": "The <i>Most Trade Markers</i> final scoring tile cannot be used."
}
},
"setupGameAutoma": {
Expand All @@ -44,13 +45,16 @@
"step4f": "Follow the additional setup instructions on the <b>{faction} Automa Faction card</b> and familiarize yourself with the special rules.",
"step4g": "Place a Marker of Automa’s color on space 20 of the Victory point track (as normal).",
"step4h-mots": "Give her all Trade markers and the Shipyard in her color.",
"step5": "Shuffle the {count} Bonus cards and place them face-up in a horizontal line. Give Automa the first one. Choose your own Bonus card.",
"initialDwelling": "Initial Dwelling Placement",
"initialDwellingIntro": "Automa places her initial Dwellings after you place your first Dwelling. Select the Automa <b>Initial Dwelling map card</b> for the map you are using and refer to it as you:",
"initialDwellingPlayer": "Place your first Dwelling.",
"initialDwellingMarked": "Place an Automa Dwelling on a Home Terrain space with letter <b>{character}</b>, together with a power token.",
"initialDwellingUnmarked": "Place an Automa Dwelling on a Home Terrain space with letter <b>{character}</b>.",
"initialDwellingPlayerSecond": "Place your second Dwelling."
"initialDwellingPlayerSecond": "Place your second Dwelling.",
"initialDwellingDockMarker": "Place you Dock Maker on a riverside dwelling.",
"bonusCards": "Bonus Cards",
"bonusCardsTake": "Shuffle the {count} Bonus cards and place them face-up in a horizontal line. Give Automa the first one. Choose your own Bonus card.",
"bonusCardsCoins": "Place 1 Coin from the general supply on each of the leftover Bonus cards."
},
"income": {
"title": "Income",
Expand Down Expand Up @@ -177,7 +181,7 @@
"endOfRound": {
"title": "End of Round",
"turnInfo": "Round {round}",
"cultBonuses": "Player gains <b>Cult Bonuses</b>.",
"cultBonuses": "You gain the <b>Cult Bonus</b>.",
"returnActionTokens": "Return action tokens.",
"bonusCardsCoin": "Put <b>1 Coin</b> on each of the three leftover Bonus Cards.",
"removeScoringTile": "Remove current scoring tile from board."
Expand Down
2 changes: 2 additions & 0 deletions src/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ export const store = createStore<State>({
}
}
round.turns[roundTurn.turn - 1] = roundTurn
// delete all "future" turns
round.turns = round.turns.slice(0, roundTurn.turn)
state.rounds[roundTurn.round - 1] = round
},
resetGame(state : State) {
Expand Down

0 comments on commit d5c5d75

Please sign in to comment.