Skip to content

Instantly share code, notes, and snippets.

@badosu
Created February 23, 2020 09:46
Show Gist options
  • Save badosu/df6d35f067ab8a254db36d3c8a0b4465 to your computer and use it in GitHub Desktop.
Save badosu/df6d35f067ab8a254db36d3c8a0b4465 to your computer and use it in GitHub Desktop.
g_Map.log("Creating stone mines");
createMines(
[
[new SimpleObject(oStoneLarge, 1, 1, 0, 4, 0, 2 * Math.PI, 4)]
],
avoidClasses(clForest, 1, clPlayer, 47, clRock, 22, clHill, 1),
clRock
)
;
g_Map.log("Creating metal mines");
createMines(
[
[new SimpleObject(oMetalLarge, 1,1, 0,4)]
],
avoidClasses(clForest, 1, clPlayer, 47, clMetal, 22, clRock, 5, clHill, 1),
clMetal
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment