Advertisement
Lanzr

hexMap

Jul 4th, 2024
621
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.81 KB | None | 0 0
  1. --[[
  2.     this file is use to provide mapping tables for other tools
  3. ]]
  4. function genRegex(str) return "^[\t ]*"..str.."[\t ]*$" end
  5.  
  6. preMap = {
  7.     ["include"] = genRegex("@include[ ]+([%w_]+)"),
  8.     ["func"] = genRegex("@func[ ]+([%w_]+)"),
  9.     ["end"] = genRegex("@end"),
  10. }
  11.  
  12. hexMap = { -- add pattern table to this table
  13.     ["me"] = {["startDir"]="EAST",["angles"]="qaq"}, -- Mind's Reflection
  14.     ["pos"] = {["startDir"]="EAST",["angles"]="aa"}, -- Compass' Purification
  15.     ["sight"] = {["startDir"]="EAST",["angles"]="wa"},-- Alidade's Purification
  16.     ["getEntityHight"] = {["startDir"]="EAST",["angles"]="awq"},  
  17.     ["{"] = {["startDir"]="WEST",["angles"]="qqq"},
  18.     ["}"] = {["startDir"]="EAST",["angles"]="eee"},
  19.     ["unpackList"] = {["startDir"]="NORTH_WEST",["angles"]="qwaeawq"},
  20.     ["packList"] = {["startDir"]="SOUTH_WEST",["angles"]="ewdqdwe"},
  21.     ["packVec"] = {["startDir"]="SOUTH_WEST",["angles"]="eqqqqq"},
  22.     ["+"] = {["startDir"]="NORTH_EAST",["angles"]="waaw"},
  23.     ["-"] = {["startDir"]="NORTH_WEST",["angles"]="wddw"},
  24.     ["*"] = {["startDir"]="SOUTH_EAST",["angles"]="waqaw"},
  25.     ["/"] = {["startDir"]="SOUTH_EAST",["angles"]="wdedw"},
  26.     ["isEqual"] = {["startDir"]="SOUTH_EAST",["angles"]="ad"},
  27.     ["dig"] = {["startDir"]="EAST",["angles"]="qaqqqqq"},
  28.     ["rayCast_getEntity"] = {["startDir"]="EAST",["angles"]="weaqa"},
  29.     ["rayCast_getBlock"] = {["startDir"]="EAST",["angles"]="wqaawdd"},
  30.     ["rayCast_getBlockRule"] = {["startDir"]="EAST",["angles"]="weddwaa"},
  31.     ["makeCypher"] = {["startDir"]="EAST",["angles"]="waqqqqq"},
  32.     ["makeTrinket"] = {["startDir"]="EAST",["angles"]="wwaqqqqqeaqeaeqqqeaeq"},
  33.     ["makeArtifact"] = {["startDir"]="EAST",["angles"]="wwaqqqqqeawqwqwqwqwqwwqqeadaeqqeqqeadaeqq"},
  34.     ["clean"] = {["startDir"]="EAST",["angles"]="qdqawwaww"},
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement