Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a bunch of new automation tools to P2TAS lang. The changes are addative, meaning there's no need to increase the version number of P2TAS lang.
shoot blue/orange
tool, which can be used to shoot portals, but also can automate spamming withspam
property, which will automatically detect portal gun's cooldown (yes, even the weird 12/13 ticks... presumably)zoom in/out
tool, which can be used for zooming in and out, and it also detects whether to press an input based on whether you're zooming or notcmd
tool, which is an alternative to typing0>|||command
(instead you can type0>>cmd command
)duck
tool, which does basically the same thing asD
. Can take a number parameter for a duration.look
tool, which can be used to control view analog. It also accepts additional parameters, like word-based directions or time.move
tool, which can be used to control movement analog. Similarly tolook
tool, it also accepts word-based parameters (likeup
, orright
) but also a scale factor, similarly to howabsmov
works.use
tool, which you can use for+use
ing. It also has an option for spamming, which will spam+use
every other tick.autojump
now takes aducked
parameter, which will automatically hold duck button when autojumpingstop
tool, which stops every tool activated prior to given tick.On top of that, several new additions that aren't strictly related to P2TAS itself: