diff --git a/HISTORY.md b/HISTORY.md index d2155531..fa180de5 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -54,6 +54,8 @@ * Threads: changed microphone volume (back) to a scale of 0-100 * Threads, Objects: added "play frequency" primitive to "Sound" category * updated German translation for "play frequency" primitive +* Objects, Threads: added "^" reporter (power of) in the Operators category +* Objects: updated relabel-dictionary ### 2019-03-11 * added note / hz conversion blocks to audioComp library diff --git a/src/objects.js b/src/objects.js index 2173b8b3..3ccfd7ea 100644 --- a/src/objects.js +++ b/src/objects.js @@ -1373,10 +1373,18 @@ SpriteMorph.prototype.blockAlternatives = { reportMouseY: ['reportMouseX'], // operators: - reportSum: ['reportDifference', 'reportProduct', 'reportQuotient'], - reportDifference: ['reportSum', 'reportProduct', 'reportQuotient'], - reportProduct: ['reportDifference', 'reportSum', 'reportQuotient'], - reportQuotient: ['reportDifference', 'reportProduct', 'reportSum'], + reportSum: ['reportDifference', 'reportProduct', 'reportQuotient', + 'reportPower', 'reportModulus'], + reportDifference: ['reportSum', 'reportProduct', 'reportQuotient', + 'reportPower', 'reportModulus'], + reportProduct: ['reportDifference', 'reportSum', 'reportQuotient', + 'reportPower', 'reportModulus'], + reportQuotient: ['reportDifference', 'reportProduct', 'reportSum', + 'reportPower', 'reportModulus'], + reportPower: ['reportDifference', 'reportProduct', 'reportSum', + 'reportQuotient', 'reportModulus'], + reportModulus: ['reportDifference', 'reportProduct', 'reportSum', + 'reportQuotient', 'reportPower'], reportLessThan: ['reportEquals', 'reportGreaterThan'], reportEquals: ['reportLessThan', 'reportGreaterThan'], reportGreaterThan: ['reportEquals', 'reportLessThan'],