My script allows for user perform operations over block groups. It have multiple filters to select a group and I want to add one more: "select all blocks of specified type".
But there is a question: how to specify block type?
For example, if user want to disable all hydrogen thrusters, it probably will use "hydrogen thruster". But is user want to enable override for gyroscopes - it can type "gyro" or "gyroscope" or "gyroscopes". Also "door" is hard one. because Sliding Door is also a door....
I need an idea: how to select all block of type, specified by user?
But there is a question: how to specify block type?
For example, if user want to disable all hydrogen thrusters, it probably will use "hydrogen thruster". But is user want to enable override for gyroscopes - it can type "gyro" or "gyroscope" or "gyroscopes". Also "door" is hard one. because Sliding Door is also a door....
I need an idea: how to select all block of type, specified by user?