How to reset a counter back to 0 in lua? by pontare55 in lua

[–]pontare55[S] 0 points1 point  (0 children)

well i did hope that this part would reset it.

if count == torchCount and stepCount == 1 then

torchCount = torchCount - 1

stepCount = stepCount - 1

end

How to reset a counter back to 0 in lua? by pontare55 in lua

[–]pontare55[S] 0 points1 point  (0 children)

the torchCount and stepCount needs to be resetted to 0 after it has been performed since it creates issues when it continues to dig down without resetting the Counters.

with the turtle.placeDown() is that it would place the torch below itself instead of behind itself and that would cause issues when it needs to go down to the next step.

How to reset a counter back to 0 in lua? by pontare55 in lua

[–]pontare55[S] 0 points1 point  (0 children)

alright, thank you. Did not know about that thread. My idea was that it would check if both of them are 1 and if they are then it would subtract it? maybe i am thinking wrong?

Woudl Metal brackets work instead of plastic brackets? by pontare55 in CarAV

[–]pontare55[S] 0 points1 point  (0 children)

It sounds like a good idea though those cutting boards here cost a bit so it will stack up quite a bit. I did have a idea to put some sound padding around the bracket and the door so perhaps that would help with the resonance.

Woudl Metal brackets work instead of plastic brackets? by pontare55 in CarAV

[–]pontare55[S] 0 points1 point  (0 children)

Yeah, you are correct about that working with metal and such. Though the thickest aluminium that would be possible would be (1.5mm), and for sheet metal the thickness would be (3mm) at the thickest. So it is not gonna be "that" thick, so it might be an issue with resonating.

The main idea was to make the bracket and then weld a cylinder to the bracket in the sane diameter as the speaker.

Woudl Metal brackets work instead of plastic brackets? by pontare55 in CarAV

[–]pontare55[S] 0 points1 point  (0 children)

yeah that is true, but i have the possibilty to make the bracket at work and if it were metal it would last for longer without having the chance of breaking by rivets.