super-miner / SB3-Generator

📁 A node library that generates .sb3 project files.
MIT License
1 stars 0 forks source link

Allow inputting number and boolean types into the inputs of a block. #21

Open super-miner opened 1 week ago

super-miner commented 1 week ago

Allow the types in the inputs array in Block's constructor to include boolean and number which then get detected and turned into strings by calling .toString() on them.

super-miner commented 1 week ago

Same goes for putting booleans into Variable.withValue().