ethck / ethck-s-downtime-tracking Goto Github PK
View Code? Open in Web Editor NEWDowntime tracking module for Foundry VTT
License: MIT License
Downtime tracking module for Foundry VTT
License: MIT License
export create a empty file.
Cannot import previously exported World Downtime Activities.
Error in console:
foundry.js:4503 Foundry VTT | Rendering GMConfig
gmConfig.js:71 Uncaught (in promise) TypeError: Cannot read property 'id' of undefined
at gmConfig.js:71
(anonymous) @ gmConfig.js:71
load (async)
(anonymous) @ foundry.js:4040
readTextFromFile @ foundry.js:4039
importWorldActivities @ gmConfig.js:66
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
I thought it may have something to do with missing complications tables but they are all there and named the same.
Foundry 0.7.9
DnD5e 1.2.4
Problem:
When setting up an activity that gives the user the option to select one of multiple options, the option they select is not respected when the rolls are made. It looks like it's defaulting to the first option.
Info:
Steps to Reproduce:
From u/Taco_Supreme:
Still some partial time tracking would be helpful. Let's say Albert is doing a task that takes 10 days and 3 checks. Bob is doing a task that takes 5 days and 1 check. And the Cathy is just working on their franchise so getting a +1 for each day spent there, and will roll at the end of the month.
They get 5 downtime days between doing other stuff, so Albert marks 5 days on his. If you want to you could have him make one of his 3 checks. Bob marks 5 on his and finished his task, making his 1 roll. Cathy just marks 5 days completed on her task and at the end of the month when you roll, you look at how many days are spent across the whole group to figure out the bonus, then reset everyone to 0 days spent on the task.
As of 01.05.2021 I noticed that the downtime activity tab was suddenly gone. It just doesn't show anymore, no matter what I do.
This was also tested with a fresh world and no other modules activated.
how would I do this ?
Taming th e Untamed
An untamed creature will always be feral, but over time (and
with your DM’s permission) can learn to trust its owner and its
owner’s allies.
To tame an untamed creature, you must take a short or long
rest in its company once each day, making a Wisdom (Animal
Handling) check at the end of that rest. The initial DC for this
check is 20, and the DC for each subsequent check is 20 – half
the number of successful checks you’ve made + the number of
consecutive days you’ve gone without making this check (maximum
10). Placing the creature under the animal friendship spell
does not decrease this DC, but instead grants you an advantage on
the check due to the charmed condition.
I see I can use a custome formula and use "[email protected]"' to get the number but I am not sure how to do the diminishing DC ...
Maybe something where instead of changing the DC the success count is incorporated in the the Roll bonus ...
Leave the DC@20 ... but then [email protected]+(.5*SuccessCount) for the Custom Formula. I am not seeing that in the data object.
The math would be simple enough IDK if the field takes it 20DC -(successfulRoles*.5) the + days would be a consequence .. Ideally imposed by the DM ...
Would be cool if the role took place and then gave the DM the ability to say if it was a SUCCESS or NOT
how do we incorporate the successful roll back into the math of the Role..
They are currently being sorted by human readable dates (including About Time compat, e.g. custom months/days). These should not be sorted in that fashion, perhaps leaving timestamp
as a number and then including a readable version in the change would be a better approach.
I'm getting an error Uncaught (in promise) TypeError: Cannot read property 'altKey' of undefined
when having betterrolls compatibility active.
Maybe there was a change somewhere? it worked before one of the recent updates.
Known bad:
Poisoner's Kit
Dice Set
Card Set
Reported by Wade
Edit fields to better use the module it would be very welcome option to edit the result fields
Would allow GM to add some context to the roll choice
Private is a little ambiguous, blind is clearer.
Have both show up in the same tab to reduce tab overpopulation...
Feedback Type: Bug
Core: 0.7.9
System: dnd5e v1.2.4
Module Version: dnd5e v1.2.4
Description:
Testing bug-reporter with systems
Skill Check rolls will not trigger result messages when using Skill Customization mod.
Example: Screenshot
Temple -- 50,000 go and 400 days ... 10 hired skilled labor ... 10 unskilled
how would I track the time and the consumption of gold ... etc or paying the laborers ?
The use materials prompt is perhaps a little broad as the only material downtime uses is time, and a gold value which represents all resources and sundries the character needs to provide.
Perhaps have it instead as a gold spent box that data validates an entered numerical value, and takes that value away from the user's gold total.
If you can make it work with the Lazy Money module which auto converts coin denominations, it would be very user friendly.
I love when it asks to make like a persuasion check it pops up a roll dialog allowing advantage/disadvantage and a numerical bonus.
I wish it would also do that for arbitrary die rolls that aren't attached to a skill. Like if I have a downtime task where they roll 1d100, but I want them to be able to get bonuses by spending extra money it would prompt them to add a bonus like it does with a skill.
I'm certain someone is going to want this down the road... Shouldn't be too difficult.
Hello there Ethck! Many thanks for your great module, I just wanted to request something, do you think it would be possible to roll a naked d20?
Core Version 0.7.4
dnd5e Version: 0.98
Module Version: 0.2.6 (Fresh Install)
I believe this has to do with the Hook changes in 0.7.x. An extended class runs all of the hooks of the inheritance tree or some such, here's a post from the League of devs discord talking about the issue:
Feedback Type: Bug
Core: 0.7.9
System: dnd5e v1.2.4
Module Version: downtime-ethck v0.4.1
Dependency Version: Autocomplete Inline Properties v1.2.0
Description:
Testing the updated API.
enableTraining: true,
enableTrainingNpc: true,
aboutTimeCompat: false,
crashCompat: true,
betterRollsCompat: true,
tabName: Downtime,
dcRollMode: blindroll,
extraSheetWidth: 200
I wish I could create an activity and keep it hidden until it is the right time to reveal it to the players. As the module runs now, twhenever you previously prepare activities, they get spoiled to the players.
Not all tasks have a flat % chance for complication. Some tasks have an automatic complication on 0 successes, or on a roll result total of 0 to 5 etc.
Add a new column of checkboxes called 'Complication?' or similar so that GM can tick if a certain result in the table gets an automatic complication (which would also ideally prevent the % complication from triggering for double complications)
On the downtime tab, players can only see 1 line of text for the description of a task, regress of how much is written in the tasks set up.
Currently, players can click the task name to expand the box to show the DCS associated with the roll. This should also expand the description box to show the full description text.
Above images are from default and compact dndbeyond, courtesy of Wade.
The main issue is that HTML insertion happens AFTER width:height are set on character sheet.
This might prove useful:
https://www.tutorialrepublic.com/jquery-tutorial/jquery-dimensions.php
Take sheet size + add ~20px. idk
The ability to sort tasks alphabetically or manually.
They currently get added to the bottom of the list in the order you create them.
Is there a way you could add a dialogue or similar option to the activity form that would allow a player to select a subtype of a downtime activity? For example, in XGtE you can pursue low-class, middle-class, or upper-class carousing. They are similar, but have different complications. A way to set up a general activity and then modify pieces of it depending on player selection would be awesome. Right now I am creating multiples of the same activity from scratch with different DCs - such as the Crime activity - and it is a bit of a pain to set up.
be able to clear the worlds downtime log, and filter them
Would be super nice if this module could detect betterrollsfor5e and use those instead of "normal" rolls for skills.
Hello.-
Coming from #11 , Ability Checks work fine. However, when using saving throws and/or skill checks, the following behaviour occurs:
Expected behaviour is, of course, triggering the replacement (changed the example to STR Check):
Whenever I choose a Tool Check on the list "Roll Type", instead of a list of tools being listed on the "Roll choice" list, I get a generic list with following options: "Kit, Instrument, set, supplies, Tool Utensils".
Old rolls created work properly when loaded, but won't list the tool option needed.
Currently if 'private roll' is checked, the players roll result will be blinded, but the DC is not and the player still sees any static DC or DC formula, such as 2d10+5 get rolled to chat.
If there is significant interest in this, I can definitely add localization.
Mentioned by kekilla
just allow for a drop down menu and a + button, the drop down for a skill, value for DC and the plus for adding another check
and then this could also be easily used for 4e like skill challenges
Great mod.
Some complications need to be GM only since they are setups for role-play opportunities that the PC should not see.
In other cases, though, it makes a fun bonus for PCs to see the results of a complication.
Maybe it could be a switch per downtime activity? Kind of how you have private rolls.
Make the form have every possible roll in it in like different section so instead of 3 forms (in this case) it is just always 1 form.
This will allow true compatibility, without the other infringing on the other one.
Add in missing tools
So I've gone through the process of making all the rolls and results tables, but when clicking on the icon, it will only show the rolls and not the results. Am I doing something wrong?
For large results the unformatted block of text produced is unsightly. The ability to add line break tags etc would be nice.
If DC box is empty in any roll, the task will only work if run by GM, not by player.
Using any Ability Check works fine, but Skill Checks (Acrobatics, Athletics, etc.) aren't. I'm not too sure about Saving Throws since after updating I can't seem to save or change any config (probably related to #10 ).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.