ready for v1.0.1

This commit is contained in:
TheLastScrub
2021-08-14 19:23:08 -07:00
parent 11c5879536
commit 2007cdedf3
8 changed files with 404357 additions and 121 deletions
+10 -1
View File
@@ -1,6 +1,15 @@
## Release/Patch Notes
### Verion 1.0.0 - 2021-06-05 [BREAKING CHANGE: THIS VERSION FORWARD COMPATIBILE WITH FOUNDRY 0.8.6 OR HIGHER ONLY!!!]
### Version 1.0.1 - 2021-08-14
* Fix [GitHub #31] - Default Type Skill of Art-Painting that is added automatically when making a new agent should be localizable now.
* Enhancement - Added a separate Actor type and sheet for _Unnatural_ creatures.
* Enhancement - The system will try to automatically add an 'Unarmed Attack' item to a new agent when they are created to make it more obvious how this is handled within the system.
* Enhancement - DEX x5 is now selectable as an option to roll for a weapon's skill test, which is useful for items like hand grenade that are rolled or thrown.
* Enhancement - Eduard Cot (trombonecot) submitted a Catalan language pack for the system.
* Enhancement - Added list of Pregen Agents (originaly from Reddit user u/jets_or_chasm, AKA jimstorch) as a compendium pack to allow a player to jump back in quickly after a death, or to make playing for the first time easier by presenting a list of agents of 24 professions. See https://github.com/jimstorch/DGGen for more information.
* Enhancement - Added some roll tables that allow making Fall of Delta Green-style Operation Code names (e.g. 'Operation Able Archer'). These tables are based on roll tables created by Reddit user u/Travern. Note - there is also a compendium with a macro that will randomly pick a combination of the tables, then draw from those tables to make a random 2-part operation name to send to the chat.
### Version 1.0.0 - 2021-06-05 [BREAKING CHANGE: THIS VERSION FORWARD COMPATIBILE WITH FOUNDRY 0.8.6 OR HIGHER ONLY!!!]
* Changes to support 0.8.6+ Foundry
* Revamped data model for actor sheet. Note due to the changes, the new system is not backwards compatible with older versions of Foundry now.
+10
View File
@@ -58,9 +58,19 @@ Some weapons and armor from the Agent's Handbook are included as compendium pack
# Other Licenses, Attributions and Shoutouts
## System Template
This system is built upon on Matt Smith's (AKA Asacolips) excellent Boilerplate System and corresponding tutorial.
https://gitlab.com/asacolips-projects/foundry-mods/foundryvtt-system-tutorial
## Delta Green Agent Pregen List
Comes from a character generator created by jimstorch, who graciously posted the results on Reddit for all to use. See the GitHub page for more information: https://github.com/jimstorch/DGGen
## Operation Code Name Generator
The roll tables added to generate operation code names comes from Reddit user /u/Travern.
## Fonts (Some in use, others that I would like to use at some point)
### MARTEL FONT
+4 -1
View File
@@ -267,10 +267,13 @@ Hooks.on('createActor', async function(actor, options, userId){
// can put logic specific to a particular user session below
if (userId != game.user.id) { return; };
return;
if(actor.data.type === 'agent'){
if(actor != null && actor.data != null && actor.data.type === 'agent'){
// update the default type skill of Art - Painting's labels to try to be localized
// since I really backed myself into a corner on this with my implementation of it...
console.log('createActor Hook');
let artLabel = game.i18n.translations.DG?.TypeSkills?.Art ?? "Art";
let paintingLabel = game.i18n.translations.DG?.TypeSkills?.Subskills?.Painting ?? "Painting";
File diff suppressed because it is too large Load Diff
@@ -0,0 +1 @@
{"name":"Generate Operation Code Name","type":"script","author":"HQMGHY3GfipU1eSK","img":"icons/svg/tower-flag.svg","scope":"global","command":"let finalMessage = 'Operation ';\nlet part1 = '';\nlet part2 = '';\n\nlet pack = await game.packs.get(\"deltagreen.operation-code-name-generator-tables\").getDocuments();\n\nlet combinationsTable = await pack.find(t => t.name === 'Codename Part Combinations');\nlet adjectiveTable = await pack.find(t => t.name === 'Codename Generator - Adjective');\nlet colorTable = await pack.find(t => t.name === 'Codename Generator - Color');\nlet nounTable = await pack.find(t => t.name === 'Codename Generator - Noun');\nlet phoneticTable = await pack.find(t => t.name === 'Codename Generator - Phonetic');\n\nlet rollResult = await combinationsTable.roll();\n\nlet randomCombinationResult = rollResult.results[0].data.text;\n\n\nif(randomCombinationResult === 'Color-Noun'){\n rollResult = await colorTable.roll();\n \n part1 = rollResult.results[0].data.text;\n \n rollResult = await nounTable.roll();\n \n part2 = rollResult.results[0].data.text;\n}\nelse if(randomCombinationResult === 'Adjective-Noun'){\n rollResult = await adjectiveTable.roll();\n \n part1 = rollResult.results[0].data.text;\n \n rollResult = await nounTable.roll();\n \n part2 = rollResult.results[0].data.text;\n \n // if identical noun, re-try once\n if(part1 === part2){\n rollResult = await nounTable.roll();\n part2 = rollResult.results[0].data.text;\n }\n}\nelse if(randomCombinationResult === 'Noun-Noun'){\n rollResult = await nounTable.roll();\n \n part1 = rollResult.results[0].data.text;\n \n rollResult = await nounTable.roll();\n \n part2 = rollResult.results[0].data.text;\n}\nelse if(randomCombinationResult === 'Phonetic-Noun'){\n rollResult = await phoneticTable.roll();\n \n part1 = rollResult.results[0].data.text;\n \n rollResult = await nounTable.roll();\n \n part2 = rollResult.results[0].data.text;\n}\n\nfinalMessage += part1 + ' ' + part2;\n\nlet messageData = {\n flavor: finalMessage\n};\n\nChatMessage.create(messageData);","folder":null,"sort":0,"permission":{"default":0,"HQMGHY3GfipU1eSK":3},"flags":{"core":{"sourceId":"Macro.9WH8FKZFOTaWiibf"}},"_id":"YWm6lbQwW2la81fc"}
File diff suppressed because one or more lines are too long
+960
View File
File diff suppressed because one or more lines are too long
+77 -37
View File
@@ -2,39 +2,21 @@
"name": "deltagreen",
"title": "Delta Green (Unofficial)",
"description": "Fan-made Foundry VTT system for Delta Green: The Role Playing Game for Foundry VTT. Based on the rules in the Agent's Handbook (https://www.drivethrurpg.com/product/181674/Delta-Green-Agents-Handbook) [*NOT* Call of Cthulu]. Made with the permission of but neither affiliated with nor endorsed by Arc Dream Publishing or the Delta Green Partnership.",
"version": "1.0.0",
"minimumCoreVersion": "0.8.6",
"compatibleCoreVersion": "0.8.6",
"templateVersion": 2,
"author": "TheLastScrub (https://github.com/TheLastScrub)",
"esmodules": ["module/deltagreen.js"],
"styles": ["css/deltagreen.css", "css/dialogue.css"],
"authors": [],
"url": "https://github.com/TheLastScrub/delta-green-foundry-vtt-system-unofficial",
"license": "LICENSE.txt",
"flags": {},
"version": "1.0.1",
"minimumCoreVersion": "0.8.6",
"compatibleCoreVersion": "0.8.8",
"scripts": [],
"packs": [
{
"name": "firearms",
"label": "Firearms",
"system": "deltagreen",
"module": "deltagreen",
"path": "./packs/firearms.db",
"entity": "Item"
},
{
"name": "armor",
"label": "Armor",
"system": "deltagreen",
"module": "deltagreen",
"path": "./packs/armor.db",
"entity": "Item"
},
{
"name": "hand-to-hand-weapons",
"label": "Hand-to-Hand Weapons",
"system": "deltagreen",
"module": "deltagreen",
"path": "./packs/hand-to-hand-weapons.db",
"entity": "Item"
}
"esmodules": [
"module/deltagreen.js"
],
"styles": [
"css/deltagreen.css",
"css/dialogue.css"
],
"languages": [
{
@@ -53,12 +35,70 @@
"path": "lang/es.json"
}
],
"packs": [
{
"name": "firearms",
"label": "Firearms",
"system": "deltagreen",
"module": "deltagreen",
"path": "./packs/firearms.db",
"entity": "Item",
"private": false
},
{
"name": "armor",
"label": "Armor",
"system": "deltagreen",
"module": "deltagreen",
"path": "./packs/armor.db",
"entity": "Item",
"private": false
},
{
"name": "hand-to-hand-weapons",
"label": "Hand-to-Hand Weapons",
"system": "deltagreen",
"module": "deltagreen",
"path": "./packs/hand-to-hand-weapons.db",
"entity": "Item",
"private": false
},
{
"name": "agent-pregens",
"label": "Agent Pregens",
"system": "deltagreen",
"module": "deltagreen",
"path": "./packs/pregens.db",
"entity": "Actor",
"private": false
},
{
"name": "operation-code-name-generator-tables",
"label": "Operation Code Name Generator Tables",
"system": "deltagreen",
"module": "deltagreen",
"path": "./packs/operation-code-name-generator.db",
"entity": "RollTable",
"private": false
},
{
"name": "operation-code-name-generator-macro",
"label": "Operation Code Name Generator Macro",
"system": "deltagreen",
"module": "deltagreen",
"path": "./packs/operation-code-name-generator-macro.db",
"entity": "Macro",
"private": false
}
],
"system": [],
"dependencies": [],
"socket": false,
"manifest": "https://github.com/TheLastScrub/delta-green-foundry-vtt-system-unofficial/raw/master/system.json",
"download": "https://github.com/TheLastScrub/delta-green-foundry-vtt-system-unofficial/archive/v1.0.1.zip",
"protected": false,
"gridDistance": 1,
"gridUnits": "m",
"primaryTokenAttribute": "health",
"secondaryTokenAttribute": "wp",
"url": "https://github.com/TheLastScrub/delta-green-foundry-vtt-system-unofficial",
"manifest": "https://github.com/TheLastScrub/delta-green-foundry-vtt-system-unofficial/raw/master/system.json",
"download": "https://github.com/TheLastScrub/delta-green-foundry-vtt-system-unofficial/archive/v1.0.0.zip",
"license": "LICENSE.txt"
}
"secondaryTokenAttribute": "wp"
}