Modding:World Access: Difference between revisions

From Vintage Story Wiki
no edit summary
m (Update Code)
No edit summary
Line 74: Line 74:


<syntaxhighlight lang="c#">
<syntaxhighlight lang="c#">
             // Check a 3x3x3 area for logs
             // Check a 7x7x7 area for logs
             int quantityLogs = 0;
             int quantityLogs = 0;
             for (int x = -3; x <= 3; x++)
             for (int x = -3; x <= 3; x++)
Confirmedusers, Bureaucrats, editor, Administrators
1,779

edits