-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0.3.1 - Merged Player Generator & Regenerated Pack binary Files
- Loading branch information
Showing
69 changed files
with
44 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
MANIFEST-000006 | ||
MANIFEST-000002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
2023/07/01-08:35:19.238 e9fc Recovering log #4 | ||
2023/07/01-08:35:19.258 e9fc Delete type=0 #4 | ||
2023/07/01-08:35:19.258 e9fc Delete type=3 #2 | ||
2023/07/04-09:57:38.505 88a4 Delete type=3 #1 |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
MANIFEST-000006 | ||
MANIFEST-000002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
2023/07/01-08:35:19.268 c548 Recovering log #4 | ||
2023/07/01-08:35:19.291 c548 Delete type=0 #4 | ||
2023/07/01-08:35:19.291 c548 Delete type=3 #2 | ||
2023/07/04-09:57:38.648 5e60 Delete type=3 #1 |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
MANIFEST-000006 | ||
MANIFEST-000002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
2023/07/01-08:35:19.295 6d84 Recovering log #4 | ||
2023/07/01-08:35:19.320 6d84 Delete type=0 #4 | ||
2023/07/01-08:35:19.320 6d84 Delete type=3 #2 | ||
2023/07/04-09:57:38.718 88a4 Delete type=3 #1 |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
MANIFEST-000006 | ||
MANIFEST-000002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
2023/07/01-08:35:19.264 cd4c Recovering log #4 | ||
2023/07/01-08:35:19.285 cd4c Delete type=0 #4 | ||
2023/07/01-08:35:19.285 cd4c Delete type=3 #2 | ||
2023/07/04-09:57:38.621 88a4 Delete type=3 #1 |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{"name":"Roll Weather","type":"script","author":"q3MrHZu1cOoXxlLX","img":"systems/mausritter/images/icons/Macro%20Icons/sun-cloud.png","scope":"global","command":"//Generate Weather\n\n/*\nsource: https://raw.githubusercontent.com/brunocalado/mestre-digital/master/Foundry%20VTT/Macros/Sistemas%20Diversos/Mausritter-Weather.js\n*/\n\nconst version = '1.1';\nconst compendium_label = 'Tables';\n\n(async () => {\n\n // const summer = await drawFromTable('Weather Summer');\n // const autumn = await drawFromTable('Weather Autumn');\n // const winter = await drawFromTable('Weather Winter');\n // const spring = await drawFromTable('Weather Spring');\n \n let seasonList = ['Summer', 'Autumn', 'Winter', 'Spring'];\n let selectList = \"\";\n\n seasonList.forEach(option => selectList += \"<option value='\" + option + \"'>\" + option + \"</option>\")\n\n let d = new Dialog({\n title: \"Select Season\",\n content: \"<h2> Season </h2> <select style='margin-bottom:10px;'name='stat' id='stat'> \" + selectList + \"</select> <br/>\",\n buttons: {\n roll: {\n icon: '<i class=\"fas fa-check\"></i>',\n label: \"Roll\",\n callback: (html) => drawFromTable('Weather '+html.find('[id=\\\"stat\\\"]')[0].value)\n },\n cancel: {\n icon: '<i class=\"fas fa-times\"></i>',\n label: \"Cancel\",\n callback: () => { }\n }\n },\n default: \"roll\",\n close: () => { }\n });\n d.render(true);\n\n})()\n\n/* Functions */\nasync function drawFromTable(tableName) {\n let list_compendium = await game.packs.filter(p=>p.documentName=='RollTable'); \n let inside = await list_compendium.filter( p=>p.metadata.label==compendium_label)[0].getDocuments(); \n let table = await inside.filter( p=>p.data['name']==tableName )[0];\n \n if (!table) {\n ui.notifications.warn(`Table ${tableName} not found.`, {});\n return;\n }\n \n let weather = await table.roll(); \n weather = weather.results[0].data.text; \n let message = \"<h2> Today's Weather: </h2><b style='font-size:120%;'>\"+weather+\"</br>\";\n \n let chatData = {\n content: message,\n whisper : ChatMessage.getWhisperRecipients(\"GM\")\n }; \n\n ChatMessage.create(chatData); \n}","folder":null,"sort":0,"permission":{"default":0,"q3MrHZu1cOoXxlLX":3},"flags":{"core":{"sourceId":"Macro.VPnVozGT7zmi64xz"}},"_id":"EjAi7W1jOj8v6zws"} | ||
{"name":"Generate Hex","type":"script","author":"q3MrHZu1cOoXxlLX","img":"systems/mausritter/images/icons/Macro%20Icons/honeycomb.png","scope":"global","command":"//Generate Hex\n\n/*\nsource: https://raw.githubusercontent.com/brunocalado/mestre-digital/master/Foundry%20VTT/Macros/Sistemas%20Diversos/Mausritter-Hex.js\n*/\n\nconst version = '1.0';\nconst compendium_label = 'Tables';\n\n(async () => {\n\n let hexTypeList = ['Random', 'Countryside', 'Forest', 'River', 'Human Town'];\n let selectList = \"\";\n\n hexTypeList.forEach(option => selectList += \"<option value='\" + option + \"'>\" + option + \"</option>\")\n\n let d = new Dialog({\n title: \"Select Type\",\n content: \"<h2> Select or Roll Hex Type </h2> <select style='margin-bottom:10px;'name='stat' id='stat'> \" + selectList + \"</select> <br/>\",\n buttons: {\n roll: {\n icon: '<i class=\"fas fa-check\"></i>',\n label: \"Roll\",\n callback: (html) => hexType(html.find('[id=\\\"stat\\\"]')[0].value)\n },\n cancel: {\n icon: '<i class=\"fas fa-times\"></i>',\n label: \"Cancel\",\n callback: () => { }\n }\n },\n default: \"roll\",\n close: () => { }\n });\n d.render(true);\n\n})()\n\nasync function hexType(hexType) {\n let hexContents = \"\";\n let hexDetails = \"\";\n let buffer ='';\n let randomHex = ['Countryside', 'Forest', 'River', 'Human Town'];\n \n if(hexType == \"Random\"){\n const randomElement = \n hexType = randomHex[Math.floor(Math.random() * randomHex.length)];\n }\n\n buffer = await drawFromTable(\"Hex - \" + hexType);\n buffer = await buffer.roll(); \n hexContents = buffer.results[0].data.text;\n\n buffer = await drawFromTable(\"Hex - Landmark Details\");\n buffer = await buffer.roll(); \n hexDetails = buffer.results[0].data.text;\n\n\n let message = \"\\\n <h2> \"+hexType+\": </h2>\\\n <b> Landmark: </b>\"+hexContents+\"</br>\\\n <b> Details: </b><i>\"+hexDetails+\"</i></br>\";\n\n let chatData = {\n content: message,\n whisper : ChatMessage.getWhisperRecipients(\"GM\")\n }; \n\n ChatMessage.create(chatData);\n\n}\n\n/* Functions */\nasync function drawFromTable(tableName) {\n let list_compendium = await game.packs.filter(p=>p.documentName=='RollTable'); \n let inside = await list_compendium.filter( p=>p.metadata.label==compendium_label )[0].getDocuments(); \n let table = await inside.filter( p=>p.data['name']==tableName )[0];\n \n if (!table) {\n ui.notifications.warn(`Table ${tableName} not found.`, {});\n return;\n }\n return await table;\n}","folder":null,"sort":0,"permission":{"default":0,"q3MrHZu1cOoXxlLX":3},"flags":{"core":{"sourceId":"Macro.4mkVc1l1zfsIgQgj"}},"_id":"GUSg73Vtn1Pck49h"} | ||
{"name":"NPC Generator","type":"script","author":"q3MrHZu1cOoXxlLX","img":"systems/mausritter/images/icons/Macro%20Icons/book-cover.png","scope":"global","command":"/* Instant NPC - v0.3\n\nSource: https://raw.githubusercontent.com/brunocalado/mestre-digital/master/Foundry%20VTT/Macros/Sistemas%20Diversos/Mausritter-InstantNPC.js\nIcon: systems/mausritter/images/sample/Portrait_Rat.png\n*/\n//test stuff: console.log(canvas.tokens.controlled[0].actor);\n\nconst compendium_label = 'Tables';\n\n(async () => {\n const Appearance = await drawFromTable('Non-player mice - Appearance');\n const Birthsign = await drawFromTable('Non-player mice - Birthsign and Disposition');\n const Quirk = await drawFromTable('Non-player mice - Quirk');\n const Social = await drawFromTable('Non-player mice - Social position and Payment for service');\n const Wants = await drawFromTable('Non-player mice - Wants');\n const Relationship = await drawFromTable('Non-player mice - Relationship');\n \n const Birthname = await drawFromTable('Mousy Names - Birthname'); \n const Matriname = await drawFromTable('Mousy Names - Matriname');\n \n const dexterity = attrRoll();\n const strength = attrRoll();\n const will = attrRoll();\n const health = healthRoll();\n \n let msg = '';\n msg += `<p><b>Social position and Payment for service:</b> ${Social}</p>`; \n msg += `<p><b>Appearance:</b> ${Appearance}</p>`; \n msg += `<p><b>Quirk:</b> ${Quirk}</p>`; \n msg += `<p><b>Wants:</b> ${Wants}</p>`; \n msg += `<p><b>Relationship:</b> ${Relationship}</p>`; \n \n //let npchp = randomHP(4,10);\n let instantNPC = await Actor.create({\n name: Birthname + \" \" + Matriname,\n type: \"hireling\",\n data: {\n description: {\n disposition: Birthsign\n }, \n notes: msg,\n stats: {\n dexterity: { \n max: dexterity,\n value: dexterity\n },\n strength: { \n max: strength,\n value: strength\n },\n will: { \n max: will,\n value: will\n } \n },\n health: {\n max: health,\n value: health\n } \n }\n });\n\n await instantNPC.sheet.render(true);\n \n})()\n\n/* Functions */\nasync function drawFromTable(tableName) {\n let list_compendium = await game.packs.filter(p=>p.documentName=='RollTable'); \n let inside = await list_compendium.filter( p=>p.metadata.label==compendium_label)[0].getDocuments(); \n let table = await inside.filter( p=>p.data['name']==tableName )[0];\n \n if (!table) {\n ui.notifications.warn(`Table ${tableName} not found.`, {});\n return;\n }\n \n let buffer = await table.roll(); \n \n return buffer.results[0].data.text; \n}\n\nfunction treasureCoins(min, max) {\n return Math.floor(Math.random() * (max - min) ) + min; \n}\n\nfunction attrRoll() {\n return new Roll('2d6').roll({ async : false }).total;\n}\n\nfunction healthRoll() {\n return new Roll('1d6').roll({ async : false }).total;\n}\n\nfunction randomHP(min, max) {\n return Math.floor(Math.random() * (max - min) ) + min; \n}","folder":null,"sort":0,"permission":{"default":0,"q3MrHZu1cOoXxlLX":3},"flags":{"core":{"sourceId":"Macro.5upTlJUaoAsTvdMN"}},"_id":"LKs8P76vMJzk1Zx0"} | ||
{"name":"Create New Character","type":"script","scope":"global","author":"J9w6QSrLwUjGdXab","img":"systems/mausritter/images/icons/Macro%20Icons/mouse.png","command":"await game.mausritter.autoCreateCharacter();","folder":null,"sort":0,"ownership":{"default":0,"J9w6QSrLwUjGdXab":3},"flags":{},"_stats":{"systemId":"mausritter","systemVersion":"0.2.9","coreVersion":"10.291","createdTime":1688142277097,"modifiedTime":1688235369587,"lastModifiedBy":"J9w6QSrLwUjGdXab"},"_id":"LfbqyHciZsPBWINA"} | ||
{"name":"Roll Stat","permission":{"default":0,"GUOC66HwYtlbK6ox":3},"type":"script","flags":{"core":{"sourceId":"Macro.d3LcjEb8RJKths4H"}},"scope":"global","command":"game.mausritter.rollStatMacro();","author":"GUOC66HwYtlbK6ox","img":"systems/mausritter/images/icons/Macro%20Icons/rolling-dices.png","actorIds":[],"_id":"MedvXgVpsy2iYgEs"} | ||
{"name":"Create New Character","type":"script","scope":"global","author":"J9w6QSrLwUjGdXab","img":"systems/mausritter/images/icons/Macro%20Icons/mouse.png","command":"await game.mausritter.autoCreateCharacter();","folder":null,"sort":0,"ownership":{"default":0,"J9w6QSrLwUjGdXab":3},"flags":{},"_stats":{"systemId":"mausritter","systemVersion":"0.2.9","coreVersion":"10.291","createdTime":1688142277097,"modifiedTime":1688235369587,"lastModifiedBy":"J9w6QSrLwUjGdXab"},"_id":"LfbqyHciZsPBWINA"} |
Binary file not shown.
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
MANIFEST-000006 | ||
MANIFEST-000002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
2023/07/01-08:35:19.325 6d84 Recovering log #4 | ||
2023/07/01-08:35:19.348 6d84 Delete type=0 #4 | ||
2023/07/01-08:35:19.348 6d84 Delete type=3 #2 | ||
2023/07/04-09:57:38.788 8244 Delete type=3 #1 |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
MANIFEST-000006 | ||
MANIFEST-000002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
2023/07/01-08:35:19.291 e9fc Recovering log #4 | ||
2023/07/01-08:35:19.312 e9fc Delete type=0 #4 | ||
2023/07/01-08:35:19.312 e9fc Delete type=3 #2 | ||
2023/07/04-09:57:38.712 8244 Delete type=3 #1 |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.