Because of the 5 there, the carpenter powerup will not drop unless there are 5 or more broken windows. I always change it to 1 in my maps. You could change it to 0 or change it to:
Code Snippet
Plaintext
while( powerup == "carpenter")
But I personally don't want a carpenter to drop if every window is fully built because then it is pointless. But that is up to you.
So to change it just search for that line in your file (its roughly line 320 or something) and change the 5 to whatever you would like.
Because of the 5 there, the carpenter powerup will not drop unless there are 5 or more broken windows. I always change it to 1 in my maps. You could change it to 0 or change it to:
Code Snippet
Plaintext
while( powerup == "carpenter")
But I personally don't want a carpenter to drop if every window is fully built because then it is pointless. But that is up to you.
So to change it just search for that line in your file (its roughly line 320 or something) and change the 5 to whatever you would like.