Skip to content
Snippets Groups Projects
Commit 3dc4c706 authored by Paul Kaplan's avatar Paul Kaplan Committed by GitHub
Browse files

Merge pull request #741 from paulkaplan/say-think-blocks

Add say and think blocks to the toolbox XML
parents b4e9c744 6a030675
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,18 @@ const top = ` ...@@ -26,6 +26,18 @@ const top = `
<shadow type="sound_sounds_menu"/> <shadow type="sound_sounds_menu"/>
</value> </value>
</block> </block>
<block type="looks_sayforsecs">
<value name="MESSAGE">
<shadow type="text">
<field name="TEXT">Hello!</field>
</shadow>
</value>
<value name="SECS">
<shadow type="math_number">
<field name="NUM">2</field>
</shadow>
</value>
</block>
<block type="looks_changeeffectby"> <block type="looks_changeeffectby">
<value name="CHANGE"> <value name="CHANGE">
<shadow type="math_number"> <shadow type="math_number">
...@@ -182,6 +194,44 @@ const motion = ` ...@@ -182,6 +194,44 @@ const motion = `
const looks = ` const looks = `
<category name="Looks" colour="#9966FF" secondaryColour="#774DCB"> <category name="Looks" colour="#9966FF" secondaryColour="#774DCB">
<block type="looks_sayforsecs">
<value name="MESSAGE">
<shadow type="text">
<field name="TEXT">Hello!</field>
</shadow>
</value>
<value name="SECS">
<shadow type="math_number">
<field name="NUM">2</field>
</shadow>
</value>
</block>
<block type="looks_say">
<value name="MESSAGE">
<shadow type="text">
<field name="TEXT">Hello!</field>
</shadow>
</value>
</block>
<block type="looks_thinkforsecs">
<value name="MESSAGE">
<shadow type="text">
<field name="TEXT">Hmm...</field>
</shadow>
</value>
<value name="SECS">
<shadow type="math_number">
<field name="NUM">2</field>
</shadow>
</value>
</block>
<block type="looks_think">
<value name="MESSAGE">
<shadow type="text">
<field name="TEXT">Hmm...</field>
</shadow>
</value>
</block>
<block type="looks_show"/> <block type="looks_show"/>
<block type="looks_hide"/> <block type="looks_hide"/>
<block type="looks_switchcostumeto"> <block type="looks_switchcostumeto">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment