Skip to content

Instantly share code, notes, and snippets.

@glx22
Created October 24, 2021 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glx22/91f857aed2a5bf69323253a5e219436e to your computer and use it in GitHub Desktop.
Save glx22/91f857aed2a5bf69323253a5e219436e to your computer and use it in GitHub Desktop.
switch (FEAT_INDUSTRYTILES, SELF, vehicle_distributor_tile_1_lc_2_224, [
nearby_tile_class(-7, -7) == TILE_CLASS_HOUSE
]) {
1: return CB_RESULT_LOCATION_ALLOW;
return CB_RESULT_LOCATION_DISALLOW;
}
switch (FEAT_INDUSTRYTILES, SELF, vehicle_distributor_tile_1_lc_2_223, [
nearby_tile_class(-7, -7) == TILE_CLASS_HOUSE
]) {
1: return CB_RESULT_LOCATION_ALLOW;
vehicle_distributor_tile_1_lc_2_224;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment