Skip to content

Commit

Permalink
Update HackedBlocks.js
Browse files Browse the repository at this point in the history
  • Loading branch information
LilyMakesThings committed Aug 26, 2023
1 parent 8a510e8 commit 306dfe2
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions extensions/Lily/HackedBlocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,35 @@
// By: LilyMakesThings <https://scratch.mit.edu/users/LilyMakesThings/>

(function (Scratch) {
'use strict';
"use strict";

class HackedBlocks {
getInfo() {
return {
id: 'lmsHackedBlocks',
name: 'Hacked Block Collection',
id: "lmsHackedBlocks",
name: "Hacked Block Collection",
blocks: [
{
blockType: Scratch.BlockType.XML,
xml: '<block type="event_whentouchingobject"><value name="TOUCHINGOBJECTMENU"><shadow type="event_touchingobjectmenu"/></value></block>'
xml: '<block type="event_whentouchingobject"><value name="TOUCHINGOBJECTMENU"><shadow type="event_touchingobjectmenu"/></value></block>',
},
'---',
"---",
{
blockType: Scratch.BlockType.XML,
xml: '<block id="for_each" type="control_for_each"><value name="VALUE"><shadow type="math_whole_number"><field name="NUM">10</field></shadow></value></block>'
xml: '<block id="for_each" type="control_for_each"><value name="VALUE"><shadow type="math_whole_number"><field name="NUM">10</field></shadow></value></block>',
},
{
blockType: Scratch.BlockType.XML,
xml: '<block id="while" type="control_while"/>'
xml: '<block id="while" type="control_while"/>',
},
'---',
"---",
{
blockType: Scratch.BlockType.XML,
xml: '<block type="sensing_keypressed"><value name="KEY_OPTION"><shadow type="text"><field name="TEXT">enter</field></shadow></value></block>',
},
{
blockType: Scratch.BlockType.XML,
xml: '<block type="sensing_touchingobject"><value name="TOUCHINGOBJECTMENU"><shadow type="text"><field name="TEXT">Stage</field></shadow></value></block>'
xml: '<block type="sensing_touchingobject"><value name="TOUCHINGOBJECTMENU"><shadow type="text"><field name="TEXT">Stage</field></shadow></value></block>',
},
{
blockType: Scratch.BlockType.XML,
Expand All @@ -44,22 +44,22 @@
},
{
blockType: Scratch.BlockType.XML,
xml: '<block type="operator_join"><value name="STRING1"><shadow type="colour_picker"/></value><value name="STRING2"><shadow type="text"><field name="TEXT"></field></shadow></value></block>'
xml: '<block type="operator_join"><value name="STRING1"><shadow type="colour_picker"/></value><value name="STRING2"><shadow type="text"><field name="TEXT"></field></shadow></value></block>',
},
'---',
"---",
{
blockType: Scratch.BlockType.XML,
xml: '<block type="control_get_counter"/>'
xml: '<block type="control_get_counter"/>',
},
{
blockType: Scratch.BlockType.XML,
xml: '<block type="control_incr_counter"/>'
xml: '<block type="control_incr_counter"/>',
},
{
blockType: Scratch.BlockType.XML,
xml: '<block type="control_clear_counter"/>'
xml: '<block type="control_clear_counter"/>',
},
]
],
};
}
}
Expand Down

0 comments on commit 306dfe2

Please sign in to comment.