d10_cs_generator/TASKS.md

5.3 KiB

D10 sheet work

  • Inventory base, cyberpunk, and Ravenous model; set scope and agent rules.
  • Define variant models, skill YAML, and stable identifiers; document source mapping.
  • Build a deterministic generator for Roll20 HTML, CSS, translation.json, and sheet.json.
  • Add parchment and night themes without altering rolls or stored fields.
  • Test validation, generated fields, references, and both variant builds.
  • Document build, use, variant differences, migration limits, and Roll20 sandbox checks.
  • Replace stacked characteristic and skill controls with compact themed grids; verify both variants and themes.
  • Split the generated sheet into Personnage, Compétences, Combat, and Autres tabs; verify action handlers and builds.
  • Remove unused legacy sheet sources and minitest, retain Mod scripts in scripts/, and keep the Ravenous model local.
  • Keep 01 Caractéristiques and 02 Ressources visible above the three remaining tabs; preserve the old core tab value.
  • Present cyberpunk health and armour locations on side-by-side body maps without changing field names.
  • Divide base skills into fight/free fight, free skills, magic, and equipment subtabs; keep cyberpunk navigation and stored fields.
  • Restore original cyberpunk health and armor figures, add integrity maximum per location, and hide number spinners.
  • Restore readable labels in night-theme repeating rows after Roll20 restructures their fieldsets.
  • Add cyberpunk skill category subtabs for the full catalogue, preserving fixed skills and repeating fields.
  • Map all supplied corporation palettes into the D10 theme model and add a saved cyberpunk theme selector.
  • Add Jenkins artifact publication under RPG/d10_character_sheet/ for both variants, all themes, and the original body images.
  • Allow Jenkins agents without Node.js to publish after the Python checks; keep the JavaScript tab check when Node.js is available.
  • Mirror Ravenous Jenkins publication by deploying successful master artifacts to /mnt/books/RPG/d10_character_sheet/.
  • Link the published body images in generated cyberpunk HTML by default, with a local preview override.
  • Improve roll result contrast and spacing in the chat template across light and dark themes.
  • Restore cyberpunk Arsenal subtabs and add functional ranged and melee weapon attacks, damage, ammunition checks, and reloads.
  • Reduce cyberpunk Combat to initiative and its roll; keep generic combat fields and equipped weapons in base only.
  • Remove the characteristic selector from cyberpunk contacts and replace their dice roll with a Show chat card.
  • Rename the parchment and night theme labels in the cyberpunk selector without changing saved theme IDs.
  • Prompt for the cyberpunk weapon dice count on each attack instead of storing a fixed value on the weapon.
  • Count cyberpunk ammo reserve as spare magazines and consume one per reload.
  • Add a Show chat card for cyberpunk consumables without changing their quantity.
  • Add a root build script for all publishable variants with an optional clean rebuild.
  • Move cyberpunk Arsenal from Skills into Combat while preserving its subtabs and repeating sections.
  • Add Rmax to ranged and melee weapons; cap single strikes and apply base damage per success for burst and automatic fire.
  • Publish one build per variant and add a base-only Parchemin/Nuit selector.
  • Show burst and automatic damage per successful shot, with the per-success bonus on natural 1s.
  • Mark combat rolls with cs1cf10 and all other dice rolls with cs1cfX for the selected die.
  • Simplify ranged attack ammunition roll data and expose worker progress in the weapon row.
  • Remove ammunition fields from ranged chat commands while retaining worker-side checks and deductions.
  • Reduce ranged startRoll commands to the minimum attack and damage fields accepted by Roll20.
  • Add a temporary default-template diagnostic path for every cyberpunk weapon roll action.
  • Reduce weapon diagnostics to fixed chat messages without attribute access or game calculations.
  • Route every ranged action through Roll20's repeating-section click event.
  • Remove underscores from repeating weapon action names for Roll20 event compatibility.
  • Replace the ignored ranged section dispatcher with individual underscore-free events.
  • Remove temporary weapon diagnostics and restore attacks, damage, ammunition, reloads, and chat details.
  • Let burst and automatic fire consume a partially filled magazine instead of rejecting the attack.
  • Cap burst and automatic damage instances to the number of bullets actually fired.
  • Raise the Torse control on both cyberpunk body maps for better silhouette alignment.
  • Add versioned character JSON export/restore through a separately installed Mod script; document portable features and reconstruction architecture.

Live Roll20 checks after local verification

  • Load each generated variant in Custom Sheet Sandbox; inspect tabs and repeating rows.
  • Roll characteristic, skill, and combat buttons and compare results to the base rules.
  • Edit and reopen a character to verify stored values remain attached to their fields.
  • With d10_character_io.js installed, export and restore each variant; reopen it and verify metadata, abilities, fixed attributes, and repeating rows.