Carpet

Carpet

2M Downloads

Suggestion: Command for more control random ticks

Boobies opened this issue ยท 8 comments

commented

Would be useful to have something like /randomtick x y z to use in debugging farms when randomTickSpeed is set to 0 and/or the game is frozen.

commented

This can be done with a simple scarpet script using the random_tick(pos) scarpet function.

Something like this should work. Put this in a file called randomtick.sc in your scripts folder:

__config() -> {
  'commands' -> {
    '<pos>' -> 'random_tick'
  }
};

Then do /script load randomtick

Haven't tested this, and wrote it on mobile. In case it doesn't work, i will fix it later.

commented

Well, whether it's implemented as a Scarpet script or not is neither here nor there. It should be part of the Carpet distribution.

commented

There were carpet commands that were already replaced by scarpet scripts. If it can easily be done with scarpet, it likely won't become a built-in feature. Thats what scarpet is for, its much more flexible.

commented

Carpet already bundles a bunch of Scarpet scripts. Not sure what the purpose of Scarpet has to do with what I was suggesting.

commented

It just means your suggested feature is likely not gonna be added, since scarpet is already capeable of doing it. Only if there would be a significant advantage in making it builtin in carpet.

commented

Scarpet is already capable of doing all the things done by the Scarpet scripts bundled with Carpet since they are... Scarpet scripts. One of them is a 5-liner and is arguably not particularly useful.

commented

Well, whether it's implemented as a Scarpet script or not is neither here nor there. It should be part of the Carpet distribution.

It is a part of the Carpet distribution. It's just like plopping structures is in the plop function instead of having a separate command for it.

Adding it to an app is completely optional and only to make it simpler for you if you use it regularly, you can always just do /script run random_tick(x, y, z) and it will also work.

Adding it to an app also gives you tab completion.

commented

The idea of scarpet scripts like that is that you can add them if you want, and if not then don't.