D
Deleted member 5254
Category:
Suggested name: *TBD*
What I want:
I am working on making a skript for a space style system, which would include another planet for my players to visit. I am stuck on one part in particular.
So for example, when my players get to space, I want them to be able to build a little "space station" and have an air system inside.
The idea would be simple, you would build say a 10x10 room, maybe 3 blocks high.... and in the room place your air machine (not sure what this will be yet, maybe a dispenser with glass on top, and a button on the side) so what I would like to see, is when the player clicks the button, it would start the air machine (that I will set up myself) the part I need help with is determining the amount of air in the room. I have an idea that a 10x10x3 room would = 300 air blocks, and for every 300 air blocks, they get 60 minutes of air in the room. Smaller room = more time, bigger room = less time.
Is there a way I can set it so once they "turn on" the machine it will loop a radius of air blocks around the machine? Maybe have it pop up on a scoreboard or even a boss bar. I am just stuck on the part looping the air blocks WITHIN the room.
I am confident I can write everything else in regards to getting to space, space ores etc... just this room, my brain is stuck on how I would loop JUST the air blocks around the machine, and not outside of the walls of the room.
Thanks
Ideas for commands: Not necessary
Ideas for permissions: Not necessary
When I'd like it by: Anytime really. The sooner the better, but I am really in no rush.
Suggested name: *TBD*
What I want:
I am working on making a skript for a space style system, which would include another planet for my players to visit. I am stuck on one part in particular.
So for example, when my players get to space, I want them to be able to build a little "space station" and have an air system inside.
The idea would be simple, you would build say a 10x10 room, maybe 3 blocks high.... and in the room place your air machine (not sure what this will be yet, maybe a dispenser with glass on top, and a button on the side) so what I would like to see, is when the player clicks the button, it would start the air machine (that I will set up myself) the part I need help with is determining the amount of air in the room. I have an idea that a 10x10x3 room would = 300 air blocks, and for every 300 air blocks, they get 60 minutes of air in the room. Smaller room = more time, bigger room = less time.
Is there a way I can set it so once they "turn on" the machine it will loop a radius of air blocks around the machine? Maybe have it pop up on a scoreboard or even a boss bar. I am just stuck on the part looping the air blocks WITHIN the room.
I am confident I can write everything else in regards to getting to space, space ores etc... just this room, my brain is stuck on how I would loop JUST the air blocks around the machine, and not outside of the walls of the room.
Thanks
Ideas for commands: Not necessary
Ideas for permissions: Not necessary
When I'd like it by: Anytime really. The sooner the better, but I am really in no rush.