Toyota 发表于 2024-8-26 19:01:24

翻译成中文,保留源代码


-- All gang zones used by the script
-- You can add as many zones as you want
-- Please check out our guide on how to add more gang zones
Config.GangZones = {}

Config.GangZones['ROCKF'] = {
    name = 'ROCKF',
    label = 'Rockford Hills',
    neighbors = {
      'MORN',
      'WVINE',
      'MOVIE',
      'KOREAT',
      'BURTON'
    },
    parts = {
      { x1 = -1379.12, y1 = -257.26, x2 = -1299.88, y2 = -38.12 },
      { x1 = -920.61, y1 = -465.30, x2 = -521.31, y2 = -407.48 },
      { x1 = -1299.5, y1 = -407.3, x2 = -550.21, y2 = -126.82 },
      { x1 = -1299.55, y1 = -126.82, x2 = -743.39, y2 = 445.02 },
      { x1 = -743.39, y1 = -126.82, x2 = -594.91, y2 = 13.48 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 0.5,
      CATEGORY_HIGH = 1.3
    }
}
Config.GangZones['MORN'] = {
    name = 'MORN',
    label = 'Morningwood',
    neighbors = {
      'ROCKF',
      'MOVIE'
    },
    parts = {
      { x1 = -1635.47, y1 = -500.0, x2 = -1379.12, y2 = -107.29 },
      { x1 = -1379.12, y1 = -511.5, x2 = -1299.88, y2 = -257.26 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 0.5,
      CATEGORY_HIGH = 1.0
    }
}
Config.GangZones['MOVIE'] = {
    name = 'MOVIE',
    label = 'Richards Majestic',
    neighbors = {
      'MORN',
      'KOREAT',
      'ROCKF',
      'VCANA'
    },
    parts = {
      { x1 = -1380.23, y1 = -849.50, x2 = -1172.24, y2 = -511.48 },
      { x1 = -1172.24, y1 = -576.61, x2 = -1072.88, y2 = -543.51 },
      { x1 = -1172.24, y1 = -722.8, x2 = -1127.62, y2 = -576.61 },
      { x1 = -1172.24, y1 = -543.51, x2 = -998.41, y2 = -511.48 },
      { x1 = -1299.88, y1 = -511.48, x2 = -920.5, y2 = -407.23 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.3,
      CATEGORY_MED = 0.3,
      CATEGORY_HIGH = 1.0
    }
}
Config.GangZones['KOREAT'] = {
    name = 'KOREAT',
    label = 'Little Seoul',
    neighbors = {
      'ROCKF',
      'VCANA',
      'MOVIE',
      'STRAW',
      'PBOX'
    },
    parts = {
      { x1 = -1127.62, y1 = -723.01, x2 = -1072.88, y2 = -576.61 },
      { x1 = -1072.88, y1 = -723.01, x2 = -998.41, y2 = -543.51 },
      { x1 = -931.96, y1 = -849.49, x2 = -774.41, y2 = -723.01 },
      { x1 = -865.98, y1 = -907.78, x2 = -774.41, y2 = -849.49 },
      { x1 = -812.41, y1 = -1019.71, x2 = -774.41, y2 = -907.78 },
      { x1 = -998.41, y1 = -723.01, x2 = -403.51, y2 = -511.48 },
      { x1 = -920.61, y1 = -511.48, x2 = -521.31, y2 = -465.30 },
      { x1 = -573.84, y1 = -1425.40, x2 = -403.51, y2 = -1158.02 },
      { x1 = -774.41, y1 = -1158.02, x2 = -354.71, y2 = -723.01 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 1.0,
      CATEGORY_HIGH = 0.5
    }
}
Config.GangZones['MIRR'] = {
    name = 'MIRR',
    label = 'Mirror Park',
    neighbors = {
      'EAST_V',
      'LMESA'
    },
    parts = {
      { x1 = 869.70, y1 = -820.90, x2 = 1391.07, y2 = -282.32 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 0.15,
      CATEGORY_HIGH = 0.05
    }
}
Config.GangZones['LMESA'] = {
    name = 'LMESA',
    label = 'La Mesa',
    neighbors = {
      'MIRR',
      'TEXTI',
      'SKID',
      'RANCHO',
      'CYPRE',
      'EBURO'
    },
    parts = {
      { x1 = 921.45, y1 = -1901.45, x2 = 1118.89, y2 = -1708.33 },
      { x1 = 505.03, y1 = -1158.02, x2 = 934.14, y2 = -1006.57 },
      { x1 = 618.7, y1 = -1708.33, x2 = 1118.89, y2 = -1158.02 },
      { x1 = 505.03, y1 = -1006.57, x2 = 888.46, y2 = -820.90 },
      { x1 = 505.03, y1 = -820.90, x2 = 869.70, y2 = -510.0 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.5,
      CATEGORY_MED = 0.5,
      CATEGORY_HIGH = 0.2
    }
}
Config.GangZones['STRAW'] = {
    name = 'STRAW',
    label = 'Strawberry',
    neighbors = {
      'KOREAT',
      'PBOX',
      'SKID',
      'RANCHO',
      'DAVIS',
      'CHAMH'
    },
    parts = {
      { x1 = -63.92, y1 = -1700.53, x2 = 91.27, y2 = -1425.40 },
      { x1 = -403.51, y1 = -1425.40, x2 = 359.48, y2 = -1158.02 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.7,
      CATEGORY_MED = 1.0,
      CATEGORY_HIGH = 0.3
    }
}
Config.GangZones['RANCHO'] = {
    name = 'RANCHO',
    label = 'Rancho',
    neighbors = {
      'STRAW',
      'CYPRE',
      'SKID',
      'LMESA',
      'DAVIS'
    },
    parts = {
      { x1 = 359.48, y1 = -1761.99, x2 = 618.43, y2 = -1158.02 },
      { x1 = 271.51, y1 = -1761.99, x2 = 359.48, y2 = -1613.16 },
      { x1 = 222.40, y1 = -2022.57, x2 = 505.03, y2 = -1761.99 },
      { x1 = 123.73, y1 = -2168.95, x2 = 505.03, y2 = -2022.57 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.8,
      CATEGORY_MED = 0.9,
      CATEGORY_HIGH = 0.25
    }
}
Config.GangZones['CHAMH'] = {
    name = 'CHAMH',
    label = 'Chamberlain Hills',
    neighbors = {
      'STRAW',
      'DAVIS'
    },
    parts = {
      { x1 = -283.92, y1 = -1761.99, x2 = -63.92, y2 = -1425.40 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.9,
      CATEGORY_MED = 1.2,
      CATEGORY_HIGH = 0.2
    }
}
Config.GangZones['DAVIS'] = {
    name = 'DAVIS',
    label = 'Davis',
    neighbors = {
      'STRAW',
      'RANCHO',
      'CHAHM'
    },
    parts = {
      { x1 = -63.92, y1 = -1761.99, x2 = 271.51, y2 = -1700.53 },
      { x1 = 91.27, y1 = -1700.53, x2 = 271.51, y2 = -1613.16 },
      { x1 = 91.27, y1 = -1613.16, x2 = 359.48, y2 = -1425.40 },
      { x1 = -139.74, y1 = -2022.57, x2 = -9.70, y2 = -1761.99 },
      { x1 = -9.70, y1 = -2022.57, x2 = 115.40, y2 = -1761.99 },
      { x1 = 115.40, y1 = -2022.57, x2 = 222.40, y2 = -1761.99 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.8,
      CATEGORY_MED = 1.0,
      CATEGORY_HIGH = 0.4
    }
}
Config.GangZones['PBOX'] = {
    name = 'PBOX',
    label = 'Pillbox Hill',
    neighbors = {
      'TEXTI',
      'SKID',
      'KOREAT',
      'STRAW'
    },
    parts = {
      { x1 = -276.21, y1 = -722.91, x2 = 285.43, y2 = -573.01 },
      { x1 = -354.71, y1 = -1158.02, x2 = 119.43, y2 = -722.91 },
      { x1 = 199.43, y1 = -877.91, x2 = 285.43, y2 = -722.91 },
      { x1 = 119.43, y1 = -1158.02, x2 = 199.43, y2 = -722.91 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.8,
      CATEGORY_MED = 0.8,
      CATEGORY_HIGH = 1.1
    }
}
Config.GangZones['TEXTI'] = {
    name = 'TEXTI',
    label = 'Textile City',
    neighbors = {
      'LMESA',
      'PBOX',
      'SKID'
    },
    parts = {
      { x1 = 285.43, y1 = -877.91, x2 = 505.03, y2 = -510.0 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.9,
      CATEGORY_MED = 0.7,
      CATEGORY_HIGH = 0.5
    }
}
Config.GangZones['SKID'] = {
    name = 'SKID',
    label = 'Mission Row',
    neighbors = {
      'LMESA',
      'PBOX',
      'TEXTI',
      'RANCHO',
      'STRAW'
    },
    parts = {
      { x1 = 199.43, y1 = -1158.02, x2 = 505.03, y2 = -877.91 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.2,
      CATEGORY_MED = 1.2,
      CATEGORY_HIGH = 1.2
    }
}
Config.GangZones['DTVINE'] = {
    name = 'DTVINE',
    label = 'Downtown Vinewood',
    neighbors = {
      'WVINE',
      'HAWICK',
      'ALTA',
      'EAST_V'
    },
    parts = {
      { x1 = 48.53, y1 = -20.78, x2 = 695.87, y2 = 445.02 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 0.85,
      CATEGORY_HIGH = 1.2
    }
}
Config.GangZones['WVINE'] = {
    name = 'WVINE',
    label = 'West Vinewood',
    neighbors = {
      'BURTON',
      'ROCKF',
      'DTVINE',
      'HAWICK'
    },
    parts = {
      { x1 = -743.39, y1 = 13.47, x2 = 48.53, y2 = 445.02 },
      { x1 = -246.39, y1 = -20.78, x2 = 48.53, y2 = 13.48 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.85,
      CATEGORY_MED = 1.0,
      CATEGORY_HIGH = 1.2
    }
}
Config.GangZones['BURTON'] = {
    name = 'BURTON',
    label = 'Burton',
    neighbors = {
      'WVINE',
      'HAWICK',
      'ALTA',
      'ROCKF'
    },
    parts = {
      { x1 = -594.91, y1 = -126.82, x2 = -246.39, y2 = 13.48 },
      { x1 = -550.21, y1 = -310.80, x2 = -246.39, y2 = -126.82 },
      { x1 = -246.39, y1 = -378.61, x2 = -90.0, y2 = -20.78 },
      { x1 = -246.39, y1 = -452.98, x2 = -90.0, y2 = -378.61 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.8,
      CATEGORY_MED = 0.8,
      CATEGORY_HIGH = 0.7
    }
}




ChatGPT 发表于 2024-8-26 19:08:54

-- 所有脚本使用的帮派区域
-- 你可以添加任意数量的区域
-- 请查看我们的指南以了解如何添加更多帮派区域
Config.GangZones = {}

Config.GangZones['ROCKF'] = {
    name = 'ROCKF',
    label = '洛克福德山',
    neighbors = {
      'MORN',
      'WVINE',
      'MOVIE',
      'KOREAT',
      'BURTON'
    },
    parts = {
      { x1 = -1379.12, y1 = -257.26, x2 = -1299.88, y2 = -38.12 },
      { x1 = -920.61, y1 = -465.30, x2 = -521.31, y2 = -407.48 },
      { x1 = -1299.5, y1 = -407.3, x2 = -550.21, y2 = -126.82 },
      { x1 = -1299.55, y1 = -126.82, x2 = -743.39, y2 = 445.02 },
      { x1 = -743.39, y1 = -126.82, x2 = -594.91, y2 = 13.48 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 0.5,
      CATEGORY_HIGH = 1.3
    }
}
Config.GangZones['MORN'] = {
    name = 'MORN',
    label = '晨wood',
    neighbors = {
      'ROCKF',
      'MOVIE'
    },
    parts = {
      { x1 = -1635.47, y1 = -500.0, x2 = -1379.12, y2 = -107.29 },
      { x1 = -1379.12, y1 = -511.5, x2 = -1299.88, y2 = -257.26 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 0.5,
      CATEGORY_HIGH = 1.0
    }
}
Config.GangZones['MOVIE'] = {
    name = 'MOVIE',
    label = '理查兹庄园',
    neighbors = {
      'MORN',
      'KOREAT',
      'ROCKF',
      'VCANA'
    },
    parts = {
      { x1 = -1380.23, y1 = -849.50, x2 = -1172.24, y2 = -511.48 },
      { x1 = -1172.24, y1 = -576.61, x2 = -1072.88, y2 = -543.51 },
      { x1 = -1172.24, y1 = -722.8, x2 = -1127.62, y2 = -576.61 },
      { x1 = -1172.24, y1 = -543.51, x2 = -998.41, y2 = -511.48 },
      { x1 = -1299.88, y1 = -511.48, x2 = -920.5, y2 = -407.23 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.3,
      CATEGORY_MED = 0.3,
      CATEGORY_HIGH = 1.0
    }
}
Config.GangZones['KOREAT'] = {
    name = 'KOREAT',
    label = '小首尔',
    neighbors = {
      'ROCKF',
      'VCANA',
      'MOVIE',
      'STRAW',
      'PBOX'
    },
    parts = {
      { x1 = -1127.62, y1 = -723.01, x2 = -1072.88, y2 = -576.61 },
      { x1 = -1072.88, y1 = -723.01, x2 = -998.41, y2 = -543.51 },
      { x1 = -931.96, y1 = -849.49, x2 = -774.41, y2 = -723.01 },
      { x1 = -865.98, y1 = -907.78, x2 = -774.41, y2 = -849.49 },
      { x1 = -812.41, y1 = -1019.71, x2 = -774.41, y2 = -907.78 },
      { x1 = -998.41, y1 = -723.01, x2 = -403.51, y2 = -511.48 },
      { x1 = -920.61, y1 = -511.48, x2 = -521.31, y2 = -465.30 },
      { x1 = -573.84, y1 = -1425.40, x2 = -403.51, y2 = -1158.02 },
      { x1 = -774.41, y1 = -1158.02, x2 = -354.71, y2 = -723.01 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 1.0,
      CATEGORY_HIGH = 0.5
    }
}
Config.GangZones['MIRR'] = {
    name = 'MIRR',
    label = '镜子公园',
    neighbors = {
      'EAST_V',
      'LMESA'
    },
    parts = {
      { x1 = 869.70, y1 = -820.90, x2 = 1391.07, y2 = -282.32 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 0.15,
      CATEGORY_HIGH = 0.05
    }
}
Config.GangZones['LMESA'] = {
    name = 'LMESA',
    label = '拉梅萨',
    neighbors = {
      'MIRR',
      'TEXTI',
      'SKID',
      'RANCHO',
      'CYPRE',
      'EBURO'
    },
    parts = {
      { x1 = 921.45, y1 = -1901.45, x2 = 1118.89, y2 = -1708.33 },
      { x1 = 505.03, y1 = -1158.02, x2 = 934.14, y2 = -1006.57 },
      { x1 = 618.7, y1 = -1708.33, x2 = 1118.89, y2 = -1158.02 },
      { x1 = 505.03, y1 = -1006.57, x2 = 888.46, y2 = -820.90 },
      { x1 = 505.03, y1 = -820.90, x2 = 869.70, y2 = -510.0 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.5,
      CATEGORY_MED = 0.5,
      CATEGORY_HIGH = 0.2
    }
}
Config.GangZones['STRAW'] = {
    name = 'STRAW',
    label = '草莓',
    neighbors = {
      'KOREAT',
      'PBOX',
      'SKID',
      'RANCHO',
      'DAVIS',
      'CHAMH'
    },
    parts = {
      { x1 = -63.92, y1 = -1700.53, x2 = 91.27, y2 = -1425.40 },
      { x1 = -403.51, y1 = -1425.40, x2 = 359.48, y2 = -1158.02 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.7,
      CATEGORY_MED = 1.0,
      CATEGORY_HIGH = 0.3
    }
}
Config.GangZones['RANCHO'] = {
    name = 'RANCHO',
    label = '兰乔',
    neighbors = {
      'STRAW',
      'CYPRE',
      'SKID',
      'LMESA',
      'DAVIS'
    },
    parts = {
      { x1 = 359.48, y1 = -1761.99, x2 = 618.43, y2 = -1158.02 },
      { x1 = 271.51, y1 = -1761.99, x2 = 359.48, y2 = -1613.16 },
      { x1 = 222.40, y1 = -2022.57, x2 = 505.03, y2 = -1761.99 },
      { x1 = 123.73, y1 = -2168.95, x2 = 505.03, y2 = -2022.57 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.8,
      CATEGORY_MED = 0.9,
      CATEGORY_HIGH = 0.25
    }
}
Config.GangZones['CHAMH'] = {
    name = 'CHAMH',
    label = '钱伯兰山',
    neighbors = {
      'STRAW',
      'DAVIS'
    },
    parts = {
      { x1 = -283.92, y1 = -1761.99, x2 = -63.92, y2 = -1425.40 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.9,
      CATEGORY_MED = 1.2,
      CATEGORY_HIGH = 0.2
    }
}
Config.GangZones['DAVIS'] = {
    name = 'DAVIS',
    label = '戴维斯',
    neighbors = {
      'STRAW',
      'RANCHO',
      'CHAHM'
    },
    parts = {
      { x1 = -63.92, y1 = -1761.99, x2 = 271.51, y2 = -1700.53 },
      { x1 = 91.27, y1 = -1700.53, x2 = 271.51, y2 = -1613.16 },
      { x1 = 91.27, y1 = -1613.16, x2 = 359.48, y2 = -1425.40 },
      { x1 = -139.74, y1 = -2022.57, x2 = -9.70, y2 = -1761.99 },
      { x1 = -9.70, y1 = -2022.57, x2 = 115.40, y2 = -1761.99 },
      { x1 = 115.40, y1 = -2022.57, x2 = 222.40, y2 = -1761.99 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.8,
      CATEGORY_MED = 1.0,
      CATEGORY_HIGH = 0.4
    }
}
Config.GangZones['PBOX'] = {
    name = 'PBOX',
    label = '药丸山',
    neighbors = {
      'TEXTI',
      'SKID',
      'KOREAT',
      'STRAW'
    },
    parts = {
      { x1 = -276.21, y1 = -722.91, x2 = 285.43, y2 = -573.01 },
      { x1 = -354.71, y1 = -1158.02, x2 = 119.43, y2 = -722.91 },
      { x1 = 199.43, y1 = -877.91, x2 = 285.43, y2 = -722.91 },
      { x1 = 119.43, y1 = -1158.02, x2 = 199.43, y2 = -722.91 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.8,
      CATEGORY_MED = 0.8,
      CATEGORY_HIGH = 1.1
    }
}
Config.GangZones['TEXTI'] = {
    name = 'TEXTI',
    label = '纺织城市',
    neighbors = {
      'LMESA',
      'PBOX',
      'SKID'
    },
    parts = {
      { x1 = 285.43, y1 = -877.91, x2 = 505.03, y2 = -510.0 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.9,
      CATEGORY_MED = 0.7,
      CATEGORY_HIGH = 0.5
    }
}
Config.GangZones['SKID'] = {
    name = 'SKID',
    label = '使命街',
    neighbors = {
      'LMESA',
      'PBOX',
      'TEXTI',
      'RANCHO',
      'STRAW'
    },
    parts = {
      { x1 = 199.43, y1 = -1158.02, x2 = 505.03, y2 = -877.91 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.2,
      CATEGORY_MED = 1.2,
      CATEGORY_HIGH = 1.2
    }
}
Config.GangZones['DTVINE'] = {
    name = 'DTVINE',
    label = '市中心葡萄街',
    neighbors = {
      'WVINE',
      'HAWICK',
      'ALTA',
      'EAST_V'
    },
    parts = {
      { x1 = 48.53, y1 = -20.78, x2 = 695.87, y2 = 445.02 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 0.85,
      CATEGORY_HIGH = 1.2
    }
}
Config.GangZones['WVINE'] = {
    name = 'WVINE',
    label = '西葡萄街',
    neighbors = {
      'BURTON',
      'ROCKF',
      'DTVINE',
      'HAWICK'
    },
    parts = {
      { x1 = -743.39, y1 = 13.47, x2 = 48.53, y2 = 445.02 },
      { x1 = -246.39, y1 = -20.78, x2 = 48.53, y2 = 13.48 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.85,
      CATEGORY_MED = 1.0,
      CATEGORY_HIGH = 1.2
    }
}
Config.GangZones['BURTON'] = {
    name = 'BURTON',
    label = '伯顿',
    neighbors = {
      'WVINE',
      'HAWICK',
      'ALTA',
      'ROCKF'
    },
    parts = {
      { x1 = -594.91, y1 = -126.82, x2 = -246.39, y2 = 13.48 },
      { x1 = -550.21, y1 = -310.80, x2 = -246.39, y2 = -126.82 },
      { x1 = -246.39, y1 = -378.61, x2 = -90.0, y2 = -20.78 },
      { x1 = -246.39, y1 = -452.98, x2 = -90.0, y2 = -378.61 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.8,
      CATEGORY_MED = 0.8,
      CATEGORY_HIGH = 0.7
    }
}

ChatGPT 发表于 2024-8-26 19:09:48

这里是翻译后的中文版本,保留了源代码:

-- 此脚本使用的所有帮派区域
-- 你可以添加任意数量的区域
-- 请查阅我们的指南以了解如何添加更多的帮派区域
Config.GangZones = {}

Config.GangZones['ROCKF'] = {
    name = 'ROCKF',
    label = '摇滚福德山',
    neighbors = {
      'MORN',
      'WVINE',
      'MOVIE',
      'KOREAT',
      'BURTON'
    },
    parts = {
      { x1 = -1379.12, y1 = -257.26, x2 = -1299.88, y2 = -38.12 },
      { x1 = -920.61, y1 = -465.30, x2 = -521.31, y2 = -407.48 },
      { x1 = -1299.5, y1 = -407.3, x2 = -550.21, y2 = -126.82 },
      { x1 = -1299.55, y1 = -126.82, x2 = -743.39, y2 = 445.02 },
      { x1 = -743.39, y1 = -126.82, x2 = -594.91, y2 = 13.48 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 0.5,
      CATEGORY_HIGH = 1.3
    }
}
Config.GangZones['MORN'] = {
    name = 'MORN',
    label = '晨光木',
    neighbors = {
      'ROCKF',
      'MOVIE'
    },
    parts = {
      { x1 = -1635.47, y1 = -500.0, x2 = -1379.12, y2 = -107.29 },
      { x1 = -1379.12, y1 = -511.5, x2 = -1299.88, y2 = -257.26 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 0.5,
      CATEGORY_HIGH = 1.0
    }
}
Config.GangZones['MOVIE'] = {
    name = 'MOVIE',
    label = '理查德斯庄',
    neighbors = {
      'MORN',
      'KOREAT',
      'ROCKF',
      'VCANA'
    },
    parts = {
      { x1 = -1380.23, y1 = -849.50, x2 = -1172.24, y2 = -511.48 },
      { x1 = -1172.24, y1 = -576.61, x2 = -1072.88, y2 = -543.51 },
      { x1 = -1172.24, y1 = -722.8, x2 = -1127.62, y2 = -576.61 },
      { x1 = -1172.24, y1 = -543.51, x2 = -998.41, y2 = -511.48 },
      { x1 = -1299.88, y1 = -511.48, x2 = -920.5, y2 = -407.23 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.3,
      CATEGORY_MED = 0.3,
      CATEGORY_HIGH = 1.0
    }
}
Config.GangZones['KOREAT'] = {
    name = 'KOREAT',
    label = '小首尔',
    neighbors = {
      'ROCKF',
      'VCANA',
      'MOVIE',
      'STRAW',
      'PBOX'
    },
    parts = {
      { x1 = -1127.62, y1 = -723.01, x2 = -1072.88, y2 = -576.61 },
      { x1 = -1072.88, y1 = -723.01, x2 = -998.41, y2 = -543.51 },
      { x1 = -931.96, y1 = -849.49, x2 = -774.41, y2 = -723.01 },
      { x1 = -865.98, y1 = -907.78, x2 = -774.41, y2 = -849.49 },
      { x1 = -812.41, y1 = -1019.71, x2 = -774.41, y2 = -907.78 },
      { x1 = -998.41, y1 = -723.01, x2 = -403.51, y2 = -511.48 },
      { x1 = -920.61, y1 = -511.48, x2 = -521.31, y2 = -465.30 },
      { x1 = -573.84, y1 = -1425.40, x2 = -403.51, y2 = -1158.02 },
      { x1 = -774.41, y1 = -1158.02, x2 = -354.71, y2 = -723.01 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 1.0,
      CATEGORY_HIGH = 0.5
    }
}
Config.GangZones['MIRR'] = {
    name = 'MIRR',
    label = '镜子公园',
    neighbors = {
      'EAST_V',
      'LMESA'
    },
    parts = {
      { x1 = 869.70, y1 = -820.90, x2 = 1391.07, y2 = -282.32 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 0.15,
      CATEGORY_HIGH = 0.05
    }
}
Config.GangZones['LMESA'] = {
    name = 'LMESA',
    label = '拉梅萨',
    neighbors = {
      'MIRR',
      'TEXTI',
      'SKID',
      'RANCHO',
      'CYPRE',
      'EBURO'
    },
    parts = {
      { x1 = 921.45, y1 = -1901.45, x2 = 1118.89, y2 = -1708.33 },
      { x1 = 505.03, y1 = -1158.02, x2 = 934.14, y2 = -1006.57 },
      { x1 = 618.7, y1 = -1708.33, x2 = 1118.89, y2 = -1158.02 },
      { x1 = 505.03, y1 = -1006.57, x2 = 888.46, y2 = -820.90 },
      { x1 = 505.03, y1 = -820.90, x2 = 869.70, y2 = -510.0 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.5,
      CATEGORY_MED = 0.5,
      CATEGORY_HIGH = 0.2
    }
}
Config.GangZones['STRAW'] = {
    name = 'STRAW',
    label = '草莓',
    neighbors = {
      'KOREAT',
      'PBOX',
      'SKID',
      'RANCHO',
      'DAVIS',
      'CHAMH'
    },
    parts = {
      { x1 = -63.92, y1 = -1700.53, x2 = 91.27, y2 = -1425.40 },
      { x1 = -403.51, y1 = -1425.40, x2 = 359.48, y2 = -1158.02 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.7,
      CATEGORY_MED = 1.0,
      CATEGORY_HIGH = 0.3
    }
}
Config.GangZones['RANCHO'] = {
    name = 'RANCHO',
    label = '兰乔',
    neighbors = {
      'STRAW',
      'CYPRE',
      'SKID',
      'LMESA',
      'DAVIS'
    },
    parts = {
      { x1 = 359.48, y1 = -1761.99, x2 = 618.43, y2 = -1158.02 },
      { x1 = 271.51, y1 = -1761.99, x2 = 359.48, y2 = -1613.16 },
      { x1 = 222.40, y1 = -2022.57, x2 = 505.03, y2 = -1761.99 },
      { x1 = 123.73, y1 = -2168.95, x2 = 505.03, y2 = -2022.57 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.8,
      CATEGORY_MED = 0.9,
      CATEGORY_HIGH = 0.25
    }
}
Config.GangZones['CHAMH'] = {
    name = 'CHAMH',
    label = '钱伯兰山',
    neighbors = {
      'STRAW',
      'DAVIS'
    },
    parts = {
      { x1 = -283.92, y1 = -1761.99, x2 = -63.92, y2 = -1425.40 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.9,
      CATEGORY_MED = 1.2,
      CATEGORY_HIGH = 0.2
    }
}
Config.GangZones['DAVIS'] = {
    name = 'DAVIS',
    label = '戴维斯',
    neighbors = {
      'STRAW',
      'RANCHO',
      'CHAHM'
    },
    parts = {
      { x1 = -63.92, y1 = -1761.99, x2 = 271.51, y2 = -1700.53 },
      { x1 = 91.27, y1 = -1700.53, x2 = 271.51, y2 = -1613.16 },
      { x1 = 91.27, y1 = -1613.16, x2 = 359.48, y2 = -1425.40 },
      { x1 = -139.74, y1 = -2022.57, x2 = -9.70, y2 = -1761.99 },
      { x1 = -9.70, y1 = -2022.57, x2 = 115.40, y2 = -1761.99 },
      { x1 = 115.40, y1 = -2022.57, x2 = 222.40, y2 = -1761.99 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.8,
      CATEGORY_MED = 1.0,
      CATEGORY_HIGH = 0.4
    }
}
Config.GangZones['PBOX'] = {
    name = 'PBOX',
    label = '药丸石山',
    neighbors = {
      'TEXTI',
      'SKID',
      'KOREAT',
      'STRAW'
    },
    parts = {
      { x1 = -276.21, y1 = -722.91, x2 = 285.43, y2 = -573.01 },
      { x1 = -354.71, y1 = -1158.02, x2 = 119.43, y2 = -722.91 },
      { x1 = 199.43, y1 = -877.91, x2 = 285.43, y2 = -722.91 },
      { x1 = 119.43, y1 = -1158.02, x2 = 199.43, y2 = -722.91 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.8,
      CATEGORY_MED = 0.8,
      CATEGORY_HIGH = 1.1
    }
}
Config.GangZones['TEXTI'] = {
    name = 'TEXTI',
    label = '纺织城',
    neighbors = {
      'LMESA',
      'PBOX',
      'SKID'
    },
    parts = {
      { x1 = 285.43, y1 = -877.91, x2 = 505.03, y2 = -510.0 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.9,
      CATEGORY_MED = 0.7,
      CATEGORY_HIGH = 0.5
    }
}
Config.GangZones['SKID'] = {
    name = 'SKID',
    label = '任务街',
    neighbors = {
      'LMESA',
      'PBOX',
      'TEXTI',
      'RANCHO',
      'STRAW'
    },
    parts = {
      { x1 = 199.43, y1 = -1158.02, x2 = 505.03, y2 = -877.91 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.2,
      CATEGORY_MED = 1.2,
      CATEGORY_HIGH = 1.2
    }
}
Config.GangZones['DTVINE'] = {
    name = 'DTVINE',
    label = '市中心葡萄街',
    neighbors = {
      'WVINE',
      'HAWICK',
      'ALTA',
      'EAST_V'
    },
    parts = {
      { x1 = 48.53, y1 = -20.78, x2 = 695.87, y2 = 445.02 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 0.85,
      CATEGORY_HIGH = 1.2
    }
}
Config.GangZones['WVINE'] = {
    name = 'WVINE',
    label = '西葡萄街',
    neighbors = {
      'BURTON',
      'ROCKF',
      'DTVINE',
      'HAWICK'
    },
    parts = {
      { x1 = -743.39, y1 = 13.47, x2 = 48.53, y2 = 445.02 },
      { x1 = -246.39, y1 = -20.78, x2 = 48.53, y2 = 13.48 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.85,
      CATEGORY_MED = 1.0,
      CATEGORY_HIGH = 1.2
    }
}
Config.GangZones['BURTON'] = {
    name = 'BURTON',
    label = '伯顿',
    neighbors = {
      'WVINE',
      'HAWICK',
      'ALTA',
      'ROCKF'
    },
    parts = {
      { x1 = -594.91, y1 = -126.82, x2 = -246.39, y2 = 13.48 },
      { x1 = -550.21, y1 = -310.80, x2 = -246.39, y2 = -126.82 },
      { x1 = -246.39, y1 = -378.61, x2 = -90.0, y2 = -20.78 },
      { x1 = -246.39, y1 = -452.98, x2 = -90.0, y2 = -378.61 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.8,
      CATEGORY_MED = 0.8,
      CATEGORY_HIGH = 0.7
    }
}

以上是完整的翻译和源代码,请问还有其他需要帮助的地方吗?

ChatGPT 发表于 2024-8-26 19:10:11

-- 所有脚本使用的帮派区域
-- 你可以添加尽可能多的区域
-- 请查看我们的指南以了解如何添加更多帮派区域
Config.GangZones = {}

Config.GangZones['ROCKF'] = {
    name = 'ROCKF',
    label = '洛克福德山',
    neighbors = {
      'MORN',
      'WVINE',
      'MOVIE',
      'KOREAT',
      'BURTON'
    },
    parts = {
      { x1 = -1379.12, y1 = -257.26, x2 = -1299.88, y2 = -38.12 },
      { x1 = -920.61, y1 = -465.30, x2 = -521.31, y2 = -407.48 },
      { x1 = -1299.5, y1 = -407.3, x2 = -550.21, y2 = -126.82 },
      { x1 = -1299.55, y1 = -126.82, x2 = -743.39, y2 = 445.02 },
      { x1 = -743.39, y1 = -126.82, x2 = -594.91, y2 = 13.48 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 0.5,
      CATEGORY_HIGH = 1.3
    }
}
Config.GangZones['MORN'] = {
    name = 'MORN',
    label = '早晨木',
    neighbors = {
      'ROCKF',
      'MOVIE'
    },
    parts = {
      { x1 = -1635.47, y1 = -500.0, x2 = -1379.12, y2 = -107.29 },
      { x1 = -1379.12, y1 = -511.5, x2 = -1299.88, y2 = -257.26 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 0.5,
      CATEGORY_HIGH = 1.0
    }
}
Config.GangZones['MOVIE'] = {
    name = 'MOVIE',
    label = '理查兹庄园',
    neighbors = {
      'MORN',
      'KOREAT',
      'ROCKF',
      'VCANA'
    },
    parts = {
      { x1 = -1380.23, y1 = -849.50, x2 = -1172.24, y2 = -511.48 },
      { x1 = -1172.24, y1 = -576.61, x2 = -1072.88, y2 = -543.51 },
      { x1 = -1172.24, y1 = -722.8, x2 = -1127.62, y2 = -576.61 },
      { x1 = -1172.24, y1 = -543.51, x2 = -998.41, y2 = -511.48 },
      { x1 = -1299.88, y1 = -511.48, x2 = -920.5, y2 = -407.23 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.3,
      CATEGORY_MED = 0.3,
      CATEGORY_HIGH = 1.0
    }
}
Config.GangZones['KOREAT'] = {
    name = 'KOREAT',
    label = '小首尔',
    neighbors = {
      'ROCKF',
      'VCANA',
      'MOVIE',
      'STRAW',
      'PBOX'
    },
    parts = {
      { x1 = -1127.62, y1 = -723.01, x2 = -1072.88, y2 = -576.61 },
      { x1 = -1072.88, y1 = -723.01, x2 = -998.41, y2 = -543.51 },
      { x1 = -931.96, y1 = -849.49, x2 = -774.41, y2 = -723.01 },
      { x1 = -865.98, y1 = -907.78, x2 = -774.41, y2 = -849.49 },
      { x1 = -812.41, y1 = -1019.71, x2 = -774.41, y2 = -907.78 },
      { x1 = -998.41, y1 = -723.01, x2 = -403.51, y2 = -511.48 },
      { x1 = -920.61, y1 = -511.48, x2 = -521.31, y2 = -465.30 },
      { x1 = -573.84, y1 = -1425.40, x2 = -403.51, y2 = -1158.02 },
      { x1 = -774.41, y1 = -1158.02, x2 = -354.71, y2 = -723.01 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 1.0,
      CATEGORY_HIGH = 0.5
    }
}
Config.GangZones['MIRR'] = {
    name = 'MIRR',
    label = '镜子公园',
    neighbors = {
      'EAST_V',
      'LMESA'
    },
    parts = {
      { x1 = 869.70, y1 = -820.90, x2 = 1391.07, y2 = -282.32 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 0.15,
      CATEGORY_HIGH = 0.05
    }
}
Config.GangZones['LMESA'] = {
    name = 'LMESA',
    label = '拉梅萨',
    neighbors = {
      'MIRR',
      'TEXTI',
      'SKID',
      'RANCHO',
      'CYPRE',
      'EBURO'
    },
    parts = {
      { x1 = 921.45, y1 = -1901.45, x2 = 1118.89, y2 = -1708.33 },
      { x1 = 505.03, y1 = -1158.02, x2 = 934.14, y2 = -1006.57 },
      { x1 = 618.7, y1 = -1708.33, x2 = 1118.89, y2 = -1158.02 },
      { x1 = 505.03, y1 = -1006.57, x2 = 888.46, y2 = -820.90 },
      { x1 = 505.03, y1 = -820.90, x2 = 869.70, y2 = -510.0 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.5,
      CATEGORY_MED = 0.5,
      CATEGORY_HIGH = 0.2
    }
}
Config.GangZones['STRAW'] = {
    name = 'STRAW',
    label = '草莓',
    neighbors = {
      'KOREAT',
      'PBOX',
      'SKID',
      'RANCHO',
      'DAVIS',
      'CHAMH'
    },
    parts = {
      { x1 = -63.92, y1 = -1700.53, x2 = 91.27, y2 = -1425.40 },
      { x1 = -403.51, y1 = -1425.40, x2 = 359.48, y2 = -1158.02 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.7,
      CATEGORY_MED = 1.0,
      CATEGORY_HIGH = 0.3
    }
}
Config.GangZones['RANCHO'] = {
    name = 'RANCHO',
    label = '兰乔',
    neighbors = {
      'STRAW',
      'CYPRE',
      'SKID',
      'LMESA',
      'DAVIS'
    },
    parts = {
      { x1 = 359.48, y1 = -1761.99, x2 = 618.43, y2 = -1158.02 },
      { x1 = 271.51, y1 = -1761.99, x2 = 359.48, y2 = -1613.16 },
      { x1 = 222.40, y1 = -2022.57, x2 = 505.03, y2 = -1761.99 },
      { x1 = 123.73, y1 = -2168.95, x2 = 505.03, y2 = -2022.57 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.8,
      CATEGORY_MED = 0.9,
      CATEGORY_HIGH = 0.25
    }
}
Config.GangZones['CHAMH'] = {
    name = 'CHAMH',
    label = '钱伯兰山',
    neighbors = {
      'STRAW',
      'DAVIS'
    },
    parts = {
      { x1 = -283.92, y1 = -1761.99, x2 = -63.92, y2 = -1425.40 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.9,
      CATEGORY_MED = 1.2,
      CATEGORY_HIGH = 0.2
    }
}
Config.GangZones['DAVIS'] = {
    name = 'DAVIS',
    label = '戴维斯',
    neighbors = {
      'STRAW',
      'RANCHO',
      'CHAHM'
    },
    parts = {
      { x1 = -63.92, y1 = -1761.99, x2 = 271.51, y2 = -1700.53 },
      { x1 = 91.27, y1 = -1700.53, x2 = 271.51, y2 = -1613.16 },
      { x1 = 91.27, y1 = -1613.16, x2 = 359.48, y2 = -1425.40 },
      { x1 = -139.74, y1 = -2022.57, x2 = -9.70, y2 = -1761.99 },
      { x1 = -9.70, y1 = -2022.57, x2 = 115.40, y2 = -1761.99 },
      { x1 = 115.40, y1 = -2022.57, x2 = 222.40, y2 = -1761.99 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.8,
      CATEGORY_MED = 1.0,
      CATEGORY_HIGH = 0.4
    }
}
Config.GangZones['PBOX'] = {
    name = 'PBOX',
    label = '药丸盒山',
    neighbors = {
      'TEXTI',
      'SKID',
      'KOREAT',
      'STRAW'
    },
    parts = {
      { x1 = -276.21, y1 = -722.91, x2 = 285.43, y2 = -573.01 },
      { x1 = -354.71, y1 = -1158.02, x2 = 119.43, y2 = -722.91 },
      { x1 = 199.43, y1 = -877.91, x2 = 285.43, y2 = -722.91 },
      { x1 = 119.43, y1 = -1158.02, x2 = 199.43, y2 = -722.91 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.8,
      CATEGORY_MED = 0.8,
      CATEGORY_HIGH = 1.1
    }
}
Config.GangZones['TEXTI'] = {
    name = 'TEXTI',
    label = '纺织城',
    neighbors = {
      'LMESA',
      'PBOX',
      'SKID'
    },
    parts = {
      { x1 = 285.43, y1 = -877.91, x2 = 505.03, y2 = -510.0 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.9,
      CATEGORY_MED = 0.7,
      CATEGORY_HIGH = 0.5
    }
}
Config.GangZones['SKID'] = {
    name = 'SKID',
    label = '任务路',
    neighbors = {
      'LMESA',
      'PBOX',
      'TEXTI',
      'RANCHO',
      'STRAW'
    },
    parts = {
      { x1 = 199.43, y1 = -1158.02, x2 = 505.03, y2 = -877.91 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.2,
      CATEGORY_MED = 1.2,
      CATEGORY_HIGH = 1.2
    }
}
Config.GangZones['DTVINE'] = {
    name = 'DTVINE',
    label = '市中心文艺复兴',
    neighbors = {
      'WVINE',
      'HAWICK',
      'ALTA',
      'EAST_V'
    },
    parts = {
      { x1 = 48.53, y1 = -20.78, x2 = 695.87, y2 = 445.02 },
    },
    drugPreference = {
      CATEGORY_LOW = 1.0,
      CATEGORY_MED = 0.85,
      CATEGORY_HIGH = 1.2
    }
}
Config.GangZones['WVINE'] = {
    name = 'WVINE',
    label = '西文艺复兴',
    neighbors = {
      'BURTON',
      'ROCKF',
      'DTVINE',
      'HAWICK'
    },
    parts = {
      { x1 = -743.39, y1 = 13.47, x2 = 48.53, y2 = 445.02 },
      { x1 = -246.39, y1 = -20.78, x2 = 48.53, y2 = 13.48 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.85,
      CATEGORY_MED = 1.0,
      CATEGORY_HIGH = 1.2
    }
}
Config.GangZones['BURTON'] = {
    name = 'BURTON',
    label = '伯顿',
    neighbors = {
      'WVINE',
      'HAWICK',
      'ALTA',
      'ROCKF'
    },
    parts = {
      { x1 = -594.91, y1 = -126.82, x2 = -246.39, y2 = 13.48 },
      { x1 = -550.21, y1 = -310.80, x2 = -246.39, y2 = -126.82 },
      { x1 = -246.39, y1 = -378.61, x2 = -90.0, y2 = -20.78 },
      { x1 = -246.39, y1 = -452.98, x2 = -90.0, y2 = -378.61 },
    },
    drugPreference = {
      CATEGORY_LOW = 0.8,
      CATEGORY_MED = 0.8,
      CATEGORY_HIGH = 0.7
    }
}
页: [1]
查看完整版本: 翻译成中文,保留源代码