Skip to content

Commit

Permalink
qxsck/var-and-list: add color (#1271)
Browse files Browse the repository at this point in the history
Co-authored-by: Muffin <[email protected]>
  • Loading branch information
Faris90 and GarboMuffin authored Feb 2, 2024
1 parent e746d76 commit 6f09cb1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions extensions/qxsck/var-and-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
return {
id: "qxsckvarandlist",
name: Scratch.translate({ id: "name", default: "Variable and list" }),
color1: "#FF661A",
color2: "#EE6521",
blocks: [
{
opcode: "getVar",
Expand All @@ -24,6 +26,7 @@
defaultValue: "variable",
},
},
extensions: ["colours_data"],
},
{
opcode: "seriVarsToJson",
Expand All @@ -38,6 +41,7 @@
defaultValue: "variable",
},
},
extensions: ["colours_data"],
},
{
opcode: "setVar",
Expand All @@ -56,6 +60,7 @@
defaultValue: "value",
},
},
extensions: ["colours_data"],
},
{
opcode: "getList",
Expand All @@ -70,6 +75,7 @@
defaultValue: "list",
},
},
extensions: ["colours_data_lists"],
},
{
opcode: "getValueOfList",
Expand All @@ -88,6 +94,7 @@
defaultValue: "1",
},
},
extensions: ["colours_data_lists"],
},
{
opcode: "seriListsToJson",
Expand All @@ -102,6 +109,7 @@
defaultValue: "list",
},
},
extensions: ["colours_data_lists"],
},
{
opcode: "clearList",
Expand All @@ -116,6 +124,7 @@
defaultValue: "list",
},
},
extensions: ["colours_data_lists"],
},
{
opcode: "deleteOfList",
Expand All @@ -134,6 +143,7 @@
defaultValue: "1",
},
},
extensions: ["colours_data_lists"],
},
{
opcode: "addValueInList",
Expand All @@ -152,6 +162,7 @@
defaultValue: "value",
},
},
extensions: ["colours_data_lists"],
},
{
opcode: "replaceOfList",
Expand All @@ -174,6 +185,7 @@
defaultValue: "thing",
},
},
extensions: ["colours_data_lists"],
},
{
opcode: "getIndexOfList",
Expand All @@ -192,6 +204,7 @@
defaultValue: "thing",
},
},
extensions: ["colours_data_lists"],
},
{
opcode: "getIndexesOfList",
Expand All @@ -210,6 +223,7 @@
defaultValue: "thing",
},
},
extensions: ["colours_data_lists"],
},
{
opcode: "length",
Expand All @@ -224,6 +238,7 @@
defaultValue: "list",
},
},
extensions: ["colours_data_lists"],
},
{
opcode: "listContains",
Expand All @@ -242,6 +257,7 @@
defaultValue: "thing",
},
},
extensions: ["colours_data_lists"],
},
{
opcode: "copyList",
Expand All @@ -260,6 +276,7 @@
defaultValue: "list2",
},
},
extensions: ["colours_data_lists"],
},
],
};
Expand Down

0 comments on commit 6f09cb1

Please sign in to comment.