Compare commits

...

10 Commits

63 changed files with 127 additions and 58 deletions

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>core</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
<build>
<plugins>

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -0,0 +1,39 @@
{
<#assign totalMines=mineCount>
<#assign userLost=state.name() == "LOST">
<#assign userWon=state.name() == "WON">
<#assign ended=userLost || userWon>
<#if creditsEnabled>
<#assign changedCreditAmount=creditChange/>
<#assign creditAmount=credits/>
<#assign stateText><#if state.name() == "WON"><#include "mines_state_won_credits"><#elseif state.name() == "LOST"><#include "mines_state_lost_credits"><#else><#include "mines_state_continue_credits"></#if></#assign>
<#else>
<#assign stateText><#if state.name() == "WON"><#include "mines_state_won"><#elseif state.name() == "LOST"><#include "mines_state_lost"><#else><#include "mines_state_continue"></#if></#assign>
</#if>
"additionalMessage": "<@safe_include "mines_additional_message"/>",
"buttons": [
<#list rows as row>
<#list row.fields as field>
{
<#if ended>
<#assign label><#if field.counterValue != 0>${field.counterValue}<#elseif field.type.name() == "EXPLODED">💀<#elseif field.type.name() == "MINE">💣<#elseif field.type.name() == "UNCOVERED">o</#if></#assign>
<#else>
<#assign label><#if field.type.name() == "COVERED" || field.type.name() == "MINE">x<#elseif field.counterValue != 0>${field.counterValue}<#else>o</#if></#assign>
</#if>
"label": "${label}",
"id": "${boardId}_${field.x}_${field.y}",
"buttonStyle": "secondary",
<#if ended>"disabled": true,</#if>
"metaConfig": {
"persistCallback": false
<#if field?is_first>
,"forceNewRow": true
</#if>
}
}
<#sep>,
</#list>
<#sep>,
</#list>
]
}

View File

@@ -0,0 +1,2 @@
<#assign minRatio>${model.minMinesRatio * 100}</#assign>
<#include "invalid_mine_board_config_exception_text">

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>experience-tracking</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>moderation</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
<build>
<plugins>
<plugin>

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "reactionReport_failure_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>modmail</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
<build>
<plugins>
<plugin>

View File

@@ -4,14 +4,14 @@
<parent>
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
<modules>
<module>core</module>

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>statistic</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>utility</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -5,7 +5,7 @@
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
<modules>
<module>abstracto-modules</module>
@@ -23,7 +23,7 @@
<scm>
<url>https://maven.pkg.github.com/Sheldan/abstracto-templates</url>
<developerConnection>scm:git:git@github.com:Sheldan/abstracto-templates.git</developerConnection>
<tag>templates-1.4.6</tag>
<tag>templates-1.4.9</tag>
</scm>
<repositories>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>core</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -0,0 +1 @@
Play a game of to find mines in a field

View File

@@ -0,0 +1,5 @@
You can create a minefield with at most 5x5 dimensions and a custom amount of mines.
If you reveal a field which is not a mine, you will either uncover all adjacent free fields or show a number how many files are adjacent.
If you reveal all fields (by clicking) which are no mines, you win!
If economy is enabled, you have the ability to put some credits on the line, and potentially win a multiple of it.
The result of the winnings depend on how many fields you managed to uncover, how many fields and mines there were in total (the more of both, the more credits) and if you completely uncovered the field.

View File

@@ -0,0 +1 @@
How many credits you want to put on the line

View File

@@ -0,0 +1 @@
Amount of mines which will be put in the field

View File

@@ -0,0 +1 @@
Amount of columns of the field

View File

@@ -0,0 +1 @@
${totalMines} Mines. ${stateText}

View File

@@ -0,0 +1 @@
Continue... Playing for ${creditAmount} credits.

View File

@@ -0,0 +1 @@
You lost! You put ${creditAmount} credits on the line and got back ${changedCreditAmount}!

View File

@@ -0,0 +1 @@
You put ${creditAmount} credits on the line and won ${changedCreditAmount}!

View File

@@ -0,0 +1,2 @@
Invalid mines configuration: Width and height at least 2 and at most 5 each. There must at least 2 mines and at least one field without a mine!
Also at least ${minRatio}% of the fields need to be mines.

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>experience-tracking</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>moderation</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
<build>
<plugins>
<plugin>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>modmail</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
<build>
<plugins>
<plugin>

View File

@@ -4,14 +4,14 @@
<parent>
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
<modules>
<module>core</module>

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>statistic</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -0,0 +1 @@
Amount of days until suggestions are evaluated automatically. Default: ${defaultValue}

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>utility</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.6</version>
<version>1.4.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>