SHOW:
|
|
- or go back to the newest paste.
1 | if pos.x > floor(pos.x)+0.5 then | |
2 | if pos.z > floor(pos.z)+0.5 then | |
3 | <insert code here to place at {floor(pos.x)+1, floor(pos.y), floor(pos.z)+1}> | |
4 | else | |
5 | <insert code here to place at {floor(pos.x)+1, floor(pos.y), floor(pos.z)}> | |
6 | end | |
7 | else | |
8 | if pos.z > floor(pos.z)+0.5 then | |
9 | <insert code here to place at {floor(pos.x), floor(pos.y), floor(pos.z)+1}> | |
10 | else | |
11 | <insert code here to place at {floor(pos.x), floor(pos.y), floor(pos.z)}> | |
12 | end | |
13 | end |