aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--circuits.json (renamed from circuitsv2.json)0
-rw-r--r--dnd.html12
-rw-r--r--grapher/index.html6
-rw-r--r--grapher/script.js16
-rw-r--r--index.html15
-rw-r--r--lib/chips.css4
-rw-r--r--pwathings/manifest.json8
-rw-r--r--searcher/index.html6
-rw-r--r--searcher/script.js2
-rw-r--r--worker.js4
11 files changed, 36 insertions, 41 deletions
diff --git a/README.md b/README.md
index a7eef03..ac00507 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-# CV2 Utilities
+# RRC 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 CV2 creators and people in #circuits-v2-help.
+I get bored sometimes, so I've been making these little tools for RRC 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/circuitsv2.json b/circuits.json
index 7c4e479..7c4e479 100644
--- a/circuitsv2.json
+++ b/circuits.json
diff --git a/dnd.html b/dnd.html
deleted file mode 100644
index 2ac4693..0000000
--- a/dnd.html
+++ /dev/null
@@ -1,12 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Document</title>
-</head>
-<body>
- <div draggable>fucking shitting</div>
- <div>shuttjgirongio</div>
-</body>
-</html> \ No newline at end of file
diff --git a/grapher/index.html b/grapher/index.html
index 3c88bad..aa275d2 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 CV2 graphs, out-of-game.">
+ <meta name="description" content="A simple utility to help you make RRC graphs, out-of-game.">
<meta name="author" content="recnet/winrg">
<link rel="manifest" href="/pwathings/manifest.json" />
- <title>CV2 Node Graph Generator</title>
+ <title>RRC 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" />
@@ -17,7 +17,7 @@
<link crossorigin href="/oi.css" rel="preload" as="style"/>
<link crossorigin href="/lib/chips.css" rel="preload" as="style"/>
<link crossorigin href="style.css" rel="preload" as="style"/>
- <link crossorigin href="/circuitsv2.json" rel="preload" as="fetch"/>
+ <link crossorigin href="/circuits.json" rel="preload" as="fetch"/>
<link crossorigin href="https://raw.githubusercontent.com/tyleo-rec/CircuitsV2Resources/master/misc/circuitsv2.json" rel="preload" as="fetch"/>
<script crossorigin src="/lib/util.js"></script>
diff --git a/grapher/script.js b/grapher/script.js
index 67fcfa3..3e3a155 100644
--- a/grapher/script.js
+++ b/grapher/script.js
@@ -34,7 +34,7 @@ Serialization format:
*/
-var v2data;
+var rrcdata;
var graph;
var searcher;
const rootel = document.documentElement;
@@ -137,7 +137,7 @@ function delConnections(el) {
function newChip(GUID) {
const types = {};
- const typeParams = v2data.Nodes[GUID].NodeDescs[0].ReadonlyTypeParams;
+ const typeParams = rrcdata.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(v2data.Nodes[GUID].NodeDescs));
+ chipcontainer.append(generateChipHTML(rrcdata.Nodes[GUID].NodeDescs));
ne.append(chipcontainer);
graph.append(ne);
@@ -159,7 +159,7 @@ function newChip(GUID) {
el: ne,
typeInfo: types,
currentOverrides: {},
- nd: v2data.Nodes[GUID].NodeDescs,
+ nd: rrcdata.Nodes[GUID].NodeDescs,
GUID: GUID,
};
@@ -287,17 +287,17 @@ async function getPermalink() {
}).then(m => m.text())
console.log(ret);
linkerp.innerText = "Success! Permalinked at:"
- linker.href = `https://cv2.aleteoryx.me/grapher/pl#${ret}`
- linker.innerText = `https://cv2.aleteoryx.me/grapher/pl#${ret}`
+ linker.href = `https://circuits.aleteoryx.me/grapher/pl#${ret}`
+ linker.innerText = `https://circuits.aleteoryx.me/grapher/pl#${ret}`
}
window.onload = async function() {
graph = document.getElementById("graph");
searcher = document.getElementById("searcher");
- v2data = await fetch(/*"https://raw.githubusercontent.com/tyleo-rec/CircuitsV2Resources/master/misc/circuitsv2.json"/*/"/circuitsv2.json")
+ rrcdata = await fetch(/*"https://raw.githubusercontent.com/tyleo-rec/CircuitsV2Resources/master/misc/circuitsv2.json"/*/"/circuits.json")
.then(res => res.json());
- allTypes.push(...ListAllTypes(v2data.Nodes).sort((a,b) => (a.toLowerCase() > b.toLowerCase()) ? 1 : -1));
+ allTypes.push(...ListAllTypes(rrcdata.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 e17e8e5..f45af84 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.">
+ <meta name="description" content="A set of tools for working with Rec Room Circuits(RRC).">
<meta name="author" content="recnet/winrg">
- <title>Aleteoryx's CV2Utils</title>
+ <title>Aleteoryx's RRCUtils</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 CV2Utils!</h1>
+ <h1>Welcome to RRCUtils!</h1>
<p>
This is a little project of mine.
- Below you'll find a collection of tools for understanding and explaining CV2, as well as playing with it out-of-game.
+ Below you'll find a collection of tools for understanding and explaining RRC, 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,6 +47,13 @@
<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>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://rrc.aleteoryx.me">rrc.aleteoryx.me</a></li>
+ <li><a href="http://cv2.aleteoryx.me">cv2.aleteoryx.me</a></li>
+ </ul>
</ul>
</article>
</section>
diff --git a/lib/chips.css b/lib/chips.css
index 9d944de..fff1a9b 100644
--- a/lib/chips.css
+++ b/lib/chips.css
@@ -1,6 +1,6 @@
/*
-Hello! This is a big fat CSS file for rendering CV2 chips, maintained
-by Aleteoryx. If you need help, ask around for me in the #circuits-v2
+Hello! This is a big fat CSS file for rendering RRC 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!)
To render a chip, create a .chip <div>. Inside it, put
diff --git a/pwathings/manifest.json b/pwathings/manifest.json
index 2a7611b..b2a0366 100644
--- a/pwathings/manifest.json
+++ b/pwathings/manifest.json
@@ -1,7 +1,7 @@
{
"name": "Aleteoryx's Circuit Utilities",
- "short_name": "CV2Utils",
- "description": "A set of tools for understanding and working with Rec Room's circuits, formerly CV2.",
+ "short_name": "RRCUtils",
+ "description": "A set of tools for understanding and working with Rec Room's circuits.",
"start_url": "/",
"display": "minimal-ui",
@@ -14,8 +14,8 @@
"url": "/searcher"
},
{
- "name": "Chip Searcher",
- "url": "/searcher"
+ "name": "Chip Grapher",
+ "url": "/grapher"
}
],
diff --git a/searcher/index.html b/searcher/index.html
index 963c74b..96a877f 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>CV2 Chip Searcher</title>
+ <title>RRC Chip Searcher</title>
<link rel="manifest" href="/pwathings/manifest.json" />
<link crossorigin href="style.css" rel="stylesheet" type="text/css" />
@@ -18,8 +18,8 @@
<link crossorigin href="/lib/chips.css" rel="preload" as="style"/>
<link crossorigin href="style.css" rel="preload" as="style"/>
<link crossorigin href="/terms.json" rel="preload" as="fetch"/>
- <link crossorigin href="/circuitsv2.json" rel="preload" as="fetch"/>
- <link crossorigin href="https://raw.githubusercontent.com/tyleo-rec/CircuitsV2Resources/master/misc/circuitsv2.json" rel="preload" as="fetch"/>
+ <link crossorigin href="/circuits.json" rel="preload" as="fetch"/>
+ <link crossorigin href="https://raw.githubusercontent.com/tyleo-rec/CircuitsV2Resources/master/misc/circuits.json" rel="preload" as="fetch"/>
<script crossorigin src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.min.js"></script>
<script crossorigin src="/lib/util.js"></script>
diff --git a/searcher/script.js b/searcher/script.js
index e8ffec3..e452b5f 100644
--- a/searcher/script.js
+++ b/searcher/script.js
@@ -65,7 +65,7 @@ window.addEventListener("load", async (e) => {
form.filterSug.checked = localStorage.getItem("fsug");
}
- let v2pr = fetch(/*"https://raw.githubusercontent.com/tyleo-rec/CircuitsV2Resources/master/misc/circuitsv2.json"/*/"/circuitsv2.json")
+ let v2pr = fetch(/*"https://raw.githubusercontent.com/tyleo-rec/CircuitsV2Resources/master/misc/circuitsv2.json"/*/"/circuits.json")
.then(res => res.json());
let termspr = fetch("/terms.json")
.then(res => res.json());
diff --git a/worker.js b/worker.js
index 39375e4..ac3f6a5 100644
--- a/worker.js
+++ b/worker.js
@@ -41,8 +41,8 @@ async function reload() {
}
}
-async function recursiveLinkWalker(url, cache, visits=[], constrain=["cv2.aleteoryx.me"]) {
- const urlobj = new URL(url, "https://cv2.aleteoryx.me");
+async function recursiveLinkWalker(url, cache, visits=[], constrain=["circuits.aleteoryx.me"]) {
+ const urlobj = new URL(url, "https://circuits.aleteoryx.me");
console.dir(urlobj, String(urlobj));
if (!constrain.includes(urlobj.hostname) || visits.includes(url))
return;