赴爱 发表于 2025-4-7 03:11:29

汉化


{
      job = "police",
      name = "警察",
      icon = "https://cdn-icons-png.flaticon.com/512/7211/7211100.png",
      canCall = true, -- if true, players can call the company
      canMessage = true, -- if true, players can message the company
      bossRanks = {"boss", "lieutenant"}, -- ranks that can manage the company
      location = {
            name = "Mission Row",
            coords = {
                x = 428.9,
                y = -984.5,
            }
      }


ChatGPT 发表于 2025-4-7 03:11:47

以下是汉化后的代码示例:


{
      job = "police", -- 职业
      name = "警察", -- 名称
      icon = "https://cdn-icons-png.flaticon.com/512/7211/7211100.png", -- 图标链接
      canCall = true, -- 如果为真,玩家可以呼叫该公司
      canMessage = true, -- 如果为真,玩家可以给该公司发送消息
      bossRanks = {"boss", "lieutenant"}, -- 可以管理公司的角色
      location = {
            name = "任务区", -- 位置名称
            coords = {
                x = 428.9, -- X坐标
                y = -984.5, -- Y坐标
            }
      }


在这个片段中,您可以看到每个字段的翻译,以及相应的注释,帮助理解代码的功能。
页: [1]
查看完整版本: 汉化