You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like the array idea a lot more than single target as I think its more expandable! Although it may be worth calling it something other than "target" as that doesn't quite feel right for an array...
Since turtles can also be advanced why don't we go with ('computer' | 'turtle' | 'basic' | 'advanced')[]
I don't know if we also want to have a pocket computer check? I don't know if we even can do that...
I think it is useful to distinguish between normal and advanced computers due to the difference in mouse and parallel processing support.
Also it is possible to do a pocket computer check, there is an example on the Computer Craft wiki. It might be a useful distinction due to the different resolutions. Also the inbuilt GPS program blocks you from hosting it on a pocket computer due to it not being stationary.
It also might be a nice idea to be able to have different packages for different targets with the same package name so that you can make assumption about the device without having to check what device it is each time.
It would be good if a package could define what it supports, currently I have two thoughts for this:
Single target
Typed as
'computer' | 'turtle'
. Not a fan of this option as a turtle can run everything a computer can but you might not want that behaviour.Array of targets
Typed as
('computer | 'turtle')[]
, this would allow for slightly more control over install targets.The text was updated successfully, but these errors were encountered: