This page lists all posts for reading, using, and creating Sheet Workers on Roll20. Sheet workers are the way you build complex automation in a sheet (like calculating stat modifiers when stat changes).
Core Sheet Worker Posts
- Anatomy of a Sheet WorkerHow to write a sheet worker, and what most sheet workers have in common.
- Variables – How to Name ThingsA guide to naming things in sheet workers.
- Arithmetic in Sheet WorkersAdding, subtracting, and other arithmetic.
- What If? in Sheet WorkersHow to analyse your code and manage code branching.
- Arrays and DropdownsCreate and use Arrays, which are extremely important.
- Strings in Sheet WorkersIntroducing Strings, what they are and how to use them.
- Logging in the Browser ConsoleHow to use the browser console, and control what appears there.
- Strings, Arrays, and LoopsAn example of using different techniques to solve a problem – Strings, Loops, and Arrays.
- Undefined and Other Error ValuesAbout undefined and similar “unvariables”. Avoid them when you can.
- Asynchronicity and Things to Avoid With LoopsWhat does Asynchronicity mean and how does it affect you?
- Events, and watching AttributesWhen you click a button or change an attribute, here’s what happens.
- Changes and the eventInfo ObjectWhat is the eventInfo object, and what is it good for. Find out here.
- Action ButtonsAction Buttons are another way to launch sheet workers. Click the button to toggle buffs, show or hide tabs, and more.
- setAttrs and Saving AttributesSaving attributes isn’t always simple! more about that here.
- A Sheet Worker RepriseA quick overview of rules to fallow and pitfalls to avoid
- Castle Falkenstein Design – Sheet WorkersThe last in a series of character sheet examples.
In time, I’ll add more sheet worker posts that aren’t a core part of the series. They’ll be indexed here.
- Template LiteralsWhat is a template literal? There are three types of quotation mark???
- Functions and the Fat ArrowWhat are functions? What is the fat arrow syntax? How they make code easier to write.
- Function LibraryReusing code saves a lot of typing and avoids typos. Here’s how to do it.
- The Perils of Sheet Worker FunctionsMany character sheets have functions. Here are the downsides.
- The Script Block and Identifying CharactersWhy are sheet workers built the way they are?
- My Sheet Worker Isn’t WorkingAn example of examining broken code to fix it, to show what a sheet worker needs.
- The ESSENTIAL Sheet Worker RULEThe biggest mistake Sheet Worker writers make…
- The Roll20 Sheet for Legends Never Die!Learn about the Roll20 sheet for Legends Never Die
- Action Buttons and the MacroBarYou can’t drag action buttons to the quick macro bar. Now you can!
- Everything About Numbers In A Sheet WorkerNumbers are sometimes more complicated than they appear.