Compare commits
No commits in common. "main" and "1.0.0" have entirely different histories.
5
.github/workflows/ci.yaml
vendored
5
.github/workflows/ci.yaml
vendored
@ -21,8 +21,9 @@ jobs:
|
|||||||
- id: version
|
- id: version
|
||||||
name: version
|
name: version
|
||||||
run: |
|
run: |
|
||||||
major=${{startsWith(github.event.head_commit.message, '[major]')}}
|
echo ${{github.event.head_commit.message}}
|
||||||
minor=${{startsWith(github.event.head_commit.message, '[minor]')}}
|
major=${{contains(github.event.head_commit.message, '[major]')}}
|
||||||
|
minor=${{contains(github.event.head_commit.message, '[minor]')}}
|
||||||
|
|
||||||
echo "major: " $major
|
echo "major: " $major
|
||||||
echo "minor: " $minor
|
echo "minor: " $minor
|
||||||
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -28,8 +28,6 @@
|
|||||||
.idea/**/gradle.xml
|
.idea/**/gradle.xml
|
||||||
.idea/**/libraries
|
.idea/**/libraries
|
||||||
|
|
||||||
.idea
|
|
||||||
|
|
||||||
# Gradle and Maven with auto-import
|
# Gradle and Maven with auto-import
|
||||||
# When using Gradle or Maven with auto-import, you should exclude module files,
|
# When using Gradle or Maven with auto-import, you should exclude module files,
|
||||||
# since they will be recreated, and may cause churn. Uncomment if using
|
# since they will be recreated, and may cause churn. Uncomment if using
|
||||||
@ -80,5 +78,3 @@ fabric.properties
|
|||||||
.idea/caches/build_file_checksums.ser
|
.idea/caches/build_file_checksums.ser
|
||||||
|
|
||||||
.foundry
|
.foundry
|
||||||
dist
|
|
||||||
node_modules
|
|
||||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "foundryvtt-dice-tower",
|
"name": "foundryvtt-dice-tower",
|
||||||
"version": "1.1.0",
|
"version": "1.0.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "foundryvtt-dice-tower",
|
"name": "foundryvtt-dice-tower",
|
||||||
"version": "1.1.0",
|
"version": "1.0.0",
|
||||||
"license": "GPL-3.0-only",
|
"license": "GPL-3.0-only",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@3d-dice/dice-box-threejs": "^0.0.12",
|
"@3d-dice/dice-box-threejs": "^0.0.12",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "foundryvtt-dice-tower",
|
"name": "foundryvtt-dice-tower",
|
||||||
"version": "1.1.0",
|
"version": "1.0.0",
|
||||||
"description": "Roll your dice in a fancy overlay",
|
"description": "Roll your dice in a fancy overlay",
|
||||||
"license": "GPL-3.0-only",
|
"license": "GPL-3.0-only",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -56,8 +56,8 @@ Hooks.once("ready", () => {
|
|||||||
module.service.register()
|
module.service.register()
|
||||||
})
|
})
|
||||||
|
|
||||||
Hooks.on("preCreateChatMessage", (message: ChatMessage, _: any, settings: any): void => {
|
Hooks.on("preCreateChatMessage", (message: ChatMessage): void => {
|
||||||
if (message.isRoll && settings?.rollMode === "publicroll" && getSetting("sendToDiceTower") as Boolean) {
|
if (message.isRoll && getSetting("sendToDiceTower") as Boolean) {
|
||||||
let results = []
|
let results = []
|
||||||
let command = "";
|
let command = "";
|
||||||
message.rolls.forEach(roll => {
|
message.rolls.forEach(roll => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user