From 361600052c49b3cb1628283eade4dd15993cfec7 Mon Sep 17 00:00:00 2001 From: alyx Date: Thu, 2 Jun 2022 21:06:34 +0000 Subject: Rebranding II --- README.md | 4 ++-- grapher/index.html | 4 ++-- grapher/script.js | 12 ++++++------ index.html | 13 +++++++------ lib/chips.css | 2 +- pwathings/appver.json | 2 +- pwathings/manifest.json | 2 +- searcher/index.html | 2 +- 8 files changed, 21 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index ac00507..2767f5f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# RRC Utilities (formerly CV2 Utilities) +# R2C Utilities (formerly CV2 Utilities) ## by `@✨Aleteoryx, Keeper of Names✨#1027` / [@winrg](https://rec.net/user/winrg) -I get bored sometimes, so I've been making these little tools for RRC creators and people in #circuits-help. +I get bored sometimes, so I've been making these little tools for R2C creators and people in #circuits-help. Make an issue if you've got an idea, and if you're feeling spicy fix it yourself and submit a PR. diff --git a/grapher/index.html b/grapher/index.html index aa275d2..4a70153 100644 --- a/grapher/index.html +++ b/grapher/index.html @@ -3,10 +3,10 @@ - + - RRC Node Graph Generator + R2C Node Graph Generator diff --git a/grapher/script.js b/grapher/script.js index 3e3a155..4df4516 100644 --- a/grapher/script.js +++ b/grapher/script.js @@ -34,7 +34,7 @@ Serialization format: */ -var rrcdata; +var r2cdata; var graph; var searcher; const rootel = document.documentElement; @@ -137,7 +137,7 @@ function delConnections(el) { function newChip(GUID) { const types = {}; - const typeParams = rrcdata.Nodes[GUID].NodeDescs[0].ReadonlyTypeParams; + const typeParams = r2cdata.Nodes[GUID].NodeDescs[0].ReadonlyTypeParams; for (const desc of Object.keys(typeParams)) types[desc] = [ `${desc}: ${typeParams[desc]}`, @@ -146,7 +146,7 @@ function newChip(GUID) { const ne = newEl('div', 'chipbox'); const chipcontainer = newEl('div', 'selUI'); - chipcontainer.append(generateChipHTML(rrcdata.Nodes[GUID].NodeDescs)); + chipcontainer.append(generateChipHTML(r2cdata.Nodes[GUID].NodeDescs)); ne.append(chipcontainer); graph.append(ne); @@ -159,7 +159,7 @@ function newChip(GUID) { el: ne, typeInfo: types, currentOverrides: {}, - nd: rrcdata.Nodes[GUID].NodeDescs, + nd: r2cdata.Nodes[GUID].NodeDescs, GUID: GUID, }; @@ -294,10 +294,10 @@ async function getPermalink() { window.onload = async function() { graph = document.getElementById("graph"); searcher = document.getElementById("searcher"); - rrcdata = await fetch(/*"https://raw.githubusercontent.com/tyleo-rec/CircuitsV2Resources/master/misc/circuitsv2.json"/*/"/circuits.json") + r2cdata = await fetch(/*"https://raw.githubusercontent.com/tyleo-rec/CircuitsV2Resources/master/misc/circuitsv2.json"/*/"/circuits.json") .then(res => res.json()); - allTypes.push(...ListAllTypes(rrcdata.Nodes).sort((a,b) => (a.toLowerCase() > b.toLowerCase()) ? 1 : -1)); + allTypes.push(...ListAllTypes(r2cdata.Nodes).sort((a,b) => (a.toLowerCase() > b.toLowerCase()) ? 1 : -1)); window.onmessage = function({data}) { clean = false diff --git a/index.html b/index.html index f45af84..db3d610 100644 --- a/index.html +++ b/index.html @@ -2,9 +2,9 @@ - + - Aleteoryx's RRCUtils + Aleteoryx's R2CUtils @@ -20,10 +20,10 @@ -

Welcome to RRCUtils!

+

Welcome to R2CUtils!

This is a little project of mine. - Below you'll find a collection of tools for understanding and explaining RRC, as well as playing with it out-of-game. + Below you'll find a collection of tools for understanding and explaining R2C, as well as playing with it out-of-game. This site is in a perpetual state of work-in-progress, but there's a changelog below, too.

-
  • Updated branding to say RRC instead of CV2.
  • +
  • Updated branding to say R2C instead of CV2.
  • Moved from the cv2 subdomain to the circuits subdomain. Currently the following will take you here:
  • @@ -59,7 +60,7 @@

    Credits:

    Though I've tried to keep as much of this codebase my own as possible, - CV2Utils depends on the following projects:

    + R2CUtils depends on the following projects: