aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralyx <alyx@aleteoryx.me>2022-06-02 21:06:34 +0000
committerAleteoryx <alyx@aleteoryx.me>2022-06-02 21:06:34 +0000
commit361600052c49b3cb1628283eade4dd15993cfec7 (patch)
treef2e078750e884b369f4fb572c71d1a78612c549a
parent8f6fa73cb955b9955abc9c9847f1b44cac541794 (diff)
downloadRRCUtils-361600052c49b3cb1628283eade4dd15993cfec7.tar.gz
RRCUtils-361600052c49b3cb1628283eade4dd15993cfec7.tar.bz2
RRCUtils-361600052c49b3cb1628283eade4dd15993cfec7.zip
Rebranding II
-rw-r--r--README.md4
-rw-r--r--grapher/index.html4
-rw-r--r--grapher/script.js12
-rw-r--r--index.html13
-rw-r--r--lib/chips.css2
-rw-r--r--pwathings/appver.json2
-rw-r--r--pwathings/manifest.json2
-rw-r--r--searcher/index.html2
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` /&NewLine;[@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 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
- <meta name="description" content="A simple utility to help you make RRC graphs, out-of-game.">
+ <meta name="description" content="A simple utility to help you make R2C graphs, out-of-game.">
<meta name="author" content="recnet/winrg">
<link rel="manifest" href="/pwathings/manifest.json" />
- <title>RRC Node Graph Generator</title>
+ <title>R2C Node Graph Generator</title>
<link crossorigin href="/oi.css" rel="stylesheet" type="text/css">
<link crossorigin href="style.css" rel="stylesheet" type="text/css" />
<link crossorigin href="/lib/chips.css" rel="stylesheet" type="text/css" />
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 @@
<html>
<head>
<meta name="viewport" content="width=device-width">
- <meta name="description" content="A set of tools for working with Rec Room Circuits(RRC).">
+ <meta name="description" content="A set of tools for working with Rec Room Circuits(R2C).">
<meta name="author" content="recnet/winrg">
- <title>Aleteoryx's RRCUtils</title>
+ <title>Aleteoryx's R2CUtils</title>
<link rel="manifest" href="/pwathings/manifest.json" />
<link rel="manifest" href="/pwathings/manifest.json" />
@@ -20,10 +20,10 @@
</head>
<body>
<div id="logo"><img src="/pwathings/icons/400x.png" alt="logo"/></div>
- <h1>Welcome to RRCUtils!</h1>
+ <h1>Welcome to R2CUtils!</h1>
<p>
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.
</p>
<ul>
@@ -47,10 +47,11 @@
<li>You can view it at <a href="/types.html">types.html</a>, by opening the DevTools console.</li>
<li>The actual logic is contained in <code>/lib/types.js</code>.</li>
</ul>
- <li>Updated branding to say RRC instead of CV2.</li>
+ <li>Updated branding to say R2C instead of CV2.</li>
<li>Moved from the cv2 subdomain to the circuits subdomain. Currently the following will take you here:</li>
<ul>
<li><a href="http://circuits.aleteoryx.me">circuits.aleteoryx.me</a></li>
+ <li><a href="http://r2c.aleteoryx.me">r2c.aleteoryx.me</a></li>
<li><a href="http://rrc.aleteoryx.me">rrc.aleteoryx.me</a></li>
<li><a href="http://cv2.aleteoryx.me">cv2.aleteoryx.me</a></li>
</ul>
@@ -59,7 +60,7 @@
</section>
<h2>Credits:</h2>
<p>Though I've tried to keep as much of this codebase my own as possible,
- CV2Utils depends on the following projects:</p>
+ R2CUtils depends on the following projects:</p>
<ul>
<li><a href="https://usiconic.com/open">Open Iconic - Various Icons</a></li>
<li><a href="https://fusejs.io">fuse.js - Searching through the JSON</a></li>
diff --git a/lib/chips.css b/lib/chips.css
index fff1a9b..00d4d3b 100644
--- a/lib/chips.css
+++ b/lib/chips.css
@@ -1,5 +1,5 @@
/*
-Hello! This is a big fat CSS file for rendering RRC chips, maintained
+Hello! This is a big fat CSS file for rendering R2C chips, maintained
by Aleteoryx. If you need help, ask around for me in the #circuits
discord channel, or just ping me if you want. (Not too much!)
diff --git a/pwathings/appver.json b/pwathings/appver.json
index 1e7105d..9449acd 100644
--- a/pwathings/appver.json
+++ b/pwathings/appver.json
@@ -1,3 +1,3 @@
{
- "ver": 4
+ "ver": 5
} \ No newline at end of file
diff --git a/pwathings/manifest.json b/pwathings/manifest.json
index b2a0366..ae44b6d 100644
--- a/pwathings/manifest.json
+++ b/pwathings/manifest.json
@@ -1,6 +1,6 @@
{
"name": "Aleteoryx's Circuit Utilities",
- "short_name": "RRCUtils",
+ "short_name": "R2CUtils",
"description": "A set of tools for understanding and working with Rec Room's circuits.",
"start_url": "/",
diff --git a/searcher/index.html b/searcher/index.html
index 96a877f..eb4937d 100644
--- a/searcher/index.html
+++ b/searcher/index.html
@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width">
<meta name="description" content="A simple utility to help you work out what chips do.">
<meta name="author" content="recnet/winrg">
- <title>RRC Chip Searcher</title>
+ <title>R2C Chip Searcher</title>
<link rel="manifest" href="/pwathings/manifest.json" />
<link crossorigin href="style.css" rel="stylesheet" type="text/css" />