ready to package 1.0.5

This commit is contained in:
TheLastScrub
2022-03-20 15:14:15 -07:00
parent 1446b13c7e
commit adbb5a474e
6 changed files with 98 additions and 3 deletions
+1
View File
@@ -7,6 +7,7 @@
* Enhancement - Added some buttons to the gear tab of the Agent's sheet that allow opening the compendiums for weapons or armor directly from the sheet.
* Enhancement - Made tabs in nav bar, look a little bit more obviously like tabs.
* Enhancement - Made it so that existing type skills are more editable now, to make using the pregens that have craft/language/science skills easier.
* Enhancement - Added some GM-only fields to the CV section of the Agent and NPC sheets that supports values recording in Impossible Landscapes
### Version 1.0.4 - 2022-02-05
+52
View File
@@ -845,4 +845,56 @@ input.item-sheet-short-input{
.add-typed-skill-button{
margin: 10px;
}
.yellow-king{
color: #a0912f;
}
.yellow-sign{
font-weight: bold;
text-shadow: 1px 1px #313a00;
}
.yellow-king-rotate1{
transform: rotate(3deg);
}
.yellow-king-rotate4{
transform: rotate(4deg);
}
.yellow-king-rotate2{
transform: rotate(-1deg);
}
.yellow-king-rotate3{
transform: rotate(5deg);
}
.yellow-king-grid-9col{
display: grid;
grid-template-columns: max-content 5px max-content max-content 20px max-content max-content 10px 35px;
align-items: center;
padding-bottom: 10px;
}
.yellow-king-grid-5col{
display: grid;
grid-template-columns: min-content 275px 20px min-content auto;
align-items: center;
padding-bottom: 10px;
}
.yellow-king span{
margin-right: 10px;
}
.yellow-king input, .yellow-king select, .yellow-king textarea{
color: #a0912f;
font-weight: bold;
}
.yellow-king textarea:focus, .yellow-king input:focus{
color: #a0912f;
}
+9 -2
View File
@@ -146,7 +146,7 @@
"DG.Tooltip.MaximumHP": "Maximum health is the average of STR + CON, rounded UP.",
"DG.Tooltip.WP": "Willpower Points are mental fuel. Agents require Willpower Points to keep going despite exhaustion or mentally taxing situations. See page 47 of the Agent's Handbook for more detail.",
"DG.Tooltip.MaximumWP": "Maximum WP is equal to POW.",
"DG.Tooltip.SanityLabel": "Click to roll a sanity check...",
"DG.Tooltip.SanityLabel": "Click to roll a SAN test...",
"DG.Tooltip.CurrentSanityPartOne": "Current sanity, current breaking point is ",
"DG.Tooltip.CurrentSanityPartTwo": ", click the SAN label above to roll a sanity check.",
"DG.Tooltip.MaximumSanity": "Maximum sanity is equal to 99 - the Unnatural skill.",
@@ -231,5 +231,12 @@
"DG.UnnaturalSheet.ShortDescriptionFallbackText": "Description of creature or creature type",
"DG.UnnaturalSheet.Tabs.NotesTabLabel": "Skills & Notes",
"DG.UnnaturalSheet.Tabs.ItemsTabLabel": "Attacks & Abilities",
"DG.NPCSheet.BreakPointAbbreviation": "BP"
"DG.NPCSheet.BreakPointAbbreviation": "BP",
"DG.ImpossibleLanscapes.IHaveSeenThe": "I HAVE SEEN THE",
"DG.ImpossibleLanscapes.YellowSign": "YELLOW SIGN",
"DG.ImpossibleLanscapes.CorruptionFirstHalf": "Corrup",
"DG.ImpossibleLanscapes.CorruptionSecondHalf": "tion",
"DG.ImpossibleLanscapes.Gift": "Gift",
"DG.ImpossibleLanscapes.Insight": "Insight"
}
+4
View File
@@ -250,6 +250,10 @@ Hooks.once('init', async function() {
});
});
Handlebars.registerHelper('playerHasGamemasterPrivileges', function(){
return game.user.isGM;
});
Hooks.once("ready", async function() {
// Wait to register hotbar drop hook on ready so that modules could register earlier if they want to
Hooks.on("hotbarDrop", (bar, data, slot) => createDeltaGreenMacro(data, slot));
+6
View File
@@ -495,6 +495,12 @@
"sex": "",
"age": "",
"education": ""
},
"corruption":{
"value": 0,
"haveSeenTheYellowSign": false,
"gift": "",
"insight": ""
}
}
},
+26 -1
View File
@@ -20,10 +20,35 @@
<span>{{localize 'DG.CV.Education'}}</span>
<input class="fill-remaining-space" type="text" name="data.biography.education" value="{{actor.data.data.biography.education}}" data-dtype="String" placeholder="{{localize 'DG.CV.EducationPlaceholder'}}" />
</div>
{{#if (playerHasGamemasterPrivileges)}}
<div class="yellow-king yellow-king-grid-9col">
<span class="yellow-king yellow-king-rotate2">{{localize 'DG.ImpossibleLanscapes.IHaveSeenThe'}}</span>
<span></span>
<span class="yellow-king yellow-sign">{{localize 'DG.ImpossibleLanscapes.YellowSign'}}</span>
<input type="checkbox" name="data.corruption.haveSeenTheYellowSign" {{checked actor.data.data.corruption.haveSeenTheYellowSign}} data-dtype="Boolean" />
<span></span>
<span class="yellow-king yellow-king-rotate1">{{localize 'DG.ImpossibleLanscapes.CorruptionFirstHalf'}}</span>
<span class="yellow-king yellow-king-rotate4">{{localize 'DG.ImpossibleLanscapes.CorruptionSecondHalf'}}</span>
<span></span>
<input class="yellow-king" type="number" placeholder="0" name="data.corruption.value" value="{{actor.data.data.corruption.value}}" />
</div>
<div class="yellow-king yellow-king-grid-5col">
<span>{{localize 'DG.ImpossibleLanscapes.Gift'}}</span>
<input class="fill-remaining-space" type="text" name="data.corruption.gift" value="{{actor.data.data.corruption.gift}}" data-dtype="String" />
<span></span>
<span>{{localize 'DG.ImpossibleLanscapes.Insight'}}</span>
<input class="fill-remaining-space" type="text" name="data.corruption.insight" value="{{actor.data.data.corruption.insight}}" data-dtype="String" />
</div>
{{/if}}
<div style="padding: 2px; margin-bottom: 5px;">
<span class="physical-description-label">{{localize 'DG.CV.PhysicalDescriptionLabel'}}</span>
</div>
<div class="editor-host">
{{editor content=actor.data.data.physicalDescription target="data.physicalDescription" button=true owner=owner editable=editable}}
</div>
</div>