Skip to content

Instantly share code, notes, and snippets.

View ThatBobo's full-sized avatar
🏠
Free at Home

IamBobo ThatBobo

🏠
Free at Home
View GitHub Profile
/*
Story Weaver 2.0 — ExtForge-style Story Engine
*/
(async function (Scratch) {
if (!Scratch.extensions.unsandboxed) {
alert("This extension needs to be unsandboxed to run!");
return;
}
const ExtForge = {
@ThatBobo
ThatBobo / simple-extension.js
Created January 2, 2026 17:06
This is a simple extension
class MyExtension {
getInfo() {
return {
id: "myExtension",
name: "My Extension",
blocks: [
{
opcode: "hello",
blockType: Scratch.BlockType.REPORTER,
text: "say hello"
/* Story Weaver Extension - GitHub-ready version */
(async function(Scratch) {
// Check if the extension can run unsandboxed
if (!Scratch.extensions.unsandboxed) {
alert("This extension needs to be unsandboxed to run!");
return;
}
const ExtForge = {
@ThatBobo
ThatBobo / story-weaver-extension.js
Created December 29, 2025 14:02
Makes story(ThatBobo)
/* Created with ExtForge https://jwklong.github.io/extforge */
(async function(Scratch) {
const variables = {};
if (!Scratch.extensions.unsandboxed) {
alert("This extension needs to be unsandboxed to run!")
/* Story Weaver extension (for PenguinMod extra extensions)
- Adds localStorage persistence
- Safer removal behavior (removes all occurrences)
- Optional alerts (showAlerts = false by default)
- Preserves original block opcodes/IDs
*/
(async function (Scratch) {
// Configuration
const STORAGE_KEY = "story-weaver:v1";
const showAlerts = false; // set true to keep alert() behavior, false uses console.log
/* story-weaver-extension.js
Story Weaver extension (for PenguinMod extra extensions)
- Adds localStorage persistence
- Safer removal behavior (removes all occurrences)
- Optional alerts (showAlerts = false by default)
- Preserves original block opcodes/IDs
*/
(async function (Scratch) {
// Configuration
const STORAGE_KEY = "story-weaver:v1";
@ThatBobo
ThatBobo / story-weaver.js
Created December 29, 2025 10:19
Story Weaver- uses to make storys(ThatBobo)
/* Created with ExtForge https://jwklong.github.io/extforge */
(async function(Scratch) {
const variables = {};
if (!Scratch.extensions.unsandboxed) {
alert("This extension needs to be unsandboxed to run!")
return
}
const ExtForge = {
Broadcasts: new function() {
this.raw = {};
@ThatBobo
ThatBobo / story-weaver.js
Created December 29, 2025 10:01
Story Weaver — Scratch unsandboxed extension (ThatBobo)
/* Created with ExtForge https://jwklong.github.io/extforge */
(async function(Scratch) {
const variables = {};
if (!Scratch.extensions.unsandboxed) {
alert("This extension needs to be unsandboxed to run!")
return
}
const ExtForge = {
Broadcasts: new function() {
this.raw = {};