Advertisement
Guest User

Untitled

a guest
Apr 6th, 2020
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function get_tools_n_can_useoncell(@n_tools, my_tested_cell, his_cells)
  2. {
  3.     var cells_hit;
  4.     for (var tool in n_tools)
  5.     {
  6.         cells_hit = get_cells_touse_tool_oncell(tool, my_tested_cell);
  7.         for (var n_cell in his_cells)
  8.         {
  9.             if(n_cell == cells_hit)
  10.             {
  11.                 n_tools[tool][my_tested_cell] = true;
  12.             }
  13.         }
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement