We tried that, actually. We extended the zelos renderer, and our extension loaded, but none of the changes in it actually worked.
class OurRenderer extends Blockly.zelos.Renderer {
//constants_!: ConstantProvider;
constructor() {
super();
}
makeConstants_() {
return new OurConstantProvider();
}
}
OurConstantProvider() is where we're trying to put our custom instructions. However, they don't seem to do anything. I've tried setting them to ludicrous levels, just to see a change, and I don't see a change.
I noticed that extending the renderer class is deprecated, so I thought perhaps there was just some different way to do it.