From 35082ff02104482fa9ae70e88ca0bceffff1c139 Mon Sep 17 00:00:00 2001 From: "M. C. DeMarco" Date: Sun, 27 Jul 2025 23:29:55 -0400 Subject: [PATCH] Add d13 through d16 --- src/sheets/dice.ts | 226 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 226 insertions(+) diff --git a/src/sheets/dice.ts b/src/sheets/dice.ts index 24b2f6c..55388ff 100644 --- a/src/sheets/dice.ts +++ b/src/sheets/dice.ts @@ -168,6 +168,232 @@ sheet.glyphs.set("d6-12", (canvas: SVGContainer) => { return group; }); +sheet.glyphs.set("d6-13", (canvas: SVGContainer) => { + const group = canvas.symbol(); + group.rect(48, 48) + .radius(10, 10) + .fill("none") + .stroke({width: 1, color: "#000"}) + .attr("data-context-border", true) + .attr("data-playerfill", true) + .center(25, 25); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(25, 10); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(10, 20); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(10, 30); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(10, 40); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(20, 20); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(20, 30); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(20, 40); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(30, 20); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(30, 30); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(30, 40); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(40, 20); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(40, 30); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(40, 40); + group.viewbox(0, 0, 50, 50); + return group; +}); + +sheet.glyphs.set("d6-14", (canvas: SVGContainer) => { + const group = canvas.symbol(); + group.rect(48, 48) + .radius(10, 10) + .fill("none") + .stroke({width: 1, color: "#000"}) + .attr("data-context-border", true) + .attr("data-playerfill", true) + .center(25, 25); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(15, 10); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(35, 10); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(10, 20); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(10, 30); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(10, 40); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(20, 20); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(20, 30); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(20, 40); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(30, 20); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(30, 30); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(30, 40); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(40, 20); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(40, 30); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(40, 40); + group.viewbox(0, 0, 50, 50); + return group; +}); + +sheet.glyphs.set("d6-15", (canvas: SVGContainer) => { + const group = canvas.symbol(); + group.rect(48, 48) + .radius(10, 10) + .fill("none") + .stroke({width: 1, color: "#000"}) + .attr("data-context-border", true) + .attr("data-playerfill", true) + .center(25, 25); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(15, 10); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(25, 10); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(35, 10); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(10, 20); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(10, 30); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(10, 40); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(20, 20); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(20, 30); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(20, 40); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(30, 20); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(30, 30); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(30, 40); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(40, 20); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(40, 30); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(40, 40); + group.viewbox(0, 0, 50, 50); + return group; +}); + +sheet.glyphs.set("d6-16", (canvas: SVGContainer) => { + const group = canvas.symbol(); + group.rect(48, 48) + .radius(10, 10) + .fill("none") + .stroke({width: 1, color: "#000"}) + .attr("data-context-border", true) + .attr("data-playerfill", true) + .center(25, 25); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(10, 10); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(10, 20); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(10, 30); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(10, 40); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(20, 10); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(20, 20); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(20, 30); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(20, 40); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(30, 10); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(30, 20); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(30, 30); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(30, 40); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(40, 10); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(40, 20); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(40, 30); + group.circle(8).fill("#000") + .attr("data-context-fill", true) + .center(40, 40); + group.viewbox(0, 0, 50, 50); + return group; +}); + sheet.glyphs.set("d6-2", (canvas: SVGContainer) => { const group = canvas.symbol(); group.rect(48, 48)