Skip to content

Commit

Permalink
Lily/TempVariables2: Minor tweaks (#1236)
Browse files Browse the repository at this point in the history
- Changed the wording of some blocks
- Allowed reporters to be dropped anywhere
- Removed icon setup
  • Loading branch information
LilyMakesThings authored Jan 27, 2024
1 parent 9945698 commit a4db23d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions extensions/Lily/TempVariables2.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
name: "Temporary Variables",
color1: "#FF791A",
color2: "#E15D00",
menuIconURI: menuIconURI, // I intend on making one later
blocks: [
label("Thread Variables", false),

Expand Down Expand Up @@ -80,6 +79,8 @@
opcode: "getThreadVariable",
blockType: Scratch.BlockType.REPORTER,
text: "thread var [VAR]",
disableMonitor: true,
allowDropAnywhere: true,
arguments: {
VAR: {
type: Scratch.ArgumentType.STRING,
Expand All @@ -104,7 +105,7 @@
{
opcode: "forEachThreadVariable",
blockType: Scratch.BlockType.LOOP,
text: "for each [VAR] in [NUM]",
text: "for [VAR] in [NUM]",
arguments: {
VAR: {
type: Scratch.ArgumentType.STRING,
Expand All @@ -119,7 +120,7 @@
{
opcode: "listThreadVariables",
blockType: Scratch.BlockType.REPORTER,
text: "list active thread variables",
text: "active thread variables",
disableMonitor: true,
},

Expand Down Expand Up @@ -165,6 +166,7 @@
blockType: Scratch.BlockType.REPORTER,
text: "runtime var [VAR]",
disableMonitor: true,
allowDropAnywhere: true,
arguments: {
VAR: {
type: Scratch.ArgumentType.STRING,
Expand Down Expand Up @@ -205,7 +207,7 @@
{
opcode: "listRuntimeVariables",
blockType: Scratch.BlockType.REPORTER,
text: "list active runtime variables",
text: "active runtime variables",
},
],
};
Expand Down

0 comments on commit a4db23d

Please sign in to comment.