All translations

From Vintage Story Wiki

Enter a message name below to show all available translations.

Message

Found one translation.

NameCurrent message text
 h English (en)<syntaxhighlight lang="c#">
           int quantityLogs = 0;
           api.World.BlockAccessor.WalkBlocks(
               plrpos.AddCopy(-3, -3, -3), 
               plrpos.AddCopy(3, 3, 3), 
               (block, pos) => quantityLogs += block.Code.Path.Contains("log") ? 1 : 0
           );