mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-05 16:37:38 +07:00
update zh-CN for logic hints (#4655)
* add new logic hints to zh-CN
* logic hints for zh-CN completed
* more hints and fix
* draw operations
* update command hint
* 载荷
* up to d7f848f
This commit is contained in:
parent
a6fe1275c7
commit
e7d9cddbae
@ -787,6 +787,7 @@ setting.shadows.name = 影子
|
||||
setting.blockreplace.name = 自动推荐合适的建筑
|
||||
setting.linear.name = 抗锯齿
|
||||
setting.hints.name = 提示
|
||||
setting.logichints.name = 逻辑代码提示
|
||||
setting.flow.name = 显示资源传送速度[scarlet]
|
||||
setting.backgroundpause.name = 在背景中暂停
|
||||
setting.buildautopause.name = 自动暂停建造
|
||||
@ -1503,3 +1504,145 @@ unit.omura.description = 攻击附近所有敌人。发射远程穿透轨道炮
|
||||
unit.alpha.description = 保护初代核心。可构建结构。
|
||||
unit.beta.description = 保护次代核心。可构建结构。
|
||||
unit.gamma.description = 保护终代核心。可构建结构。
|
||||
|
||||
lst.read = 从连接的内存读取数字
|
||||
lst.write = 写入数字到连接的内存
|
||||
lst.print = 添加文字到打印缓存\n用了[accent]Print Flush[]才会显示
|
||||
lst.draw = 添加操作到绘图队列\n用了[accent]Draw Flush[]才会显示
|
||||
lst.drawflush = 刷新列队的[accent]Print[]操作到显示屏
|
||||
lst.printflush = 刷新[accent]Draw[]缓存的文字到消息板
|
||||
lst.getlink = 获取处理器连接\n索引从0开始
|
||||
lst.control = 控制建筑
|
||||
lst.radar = 定位建筑周边的单位\n有范围限制
|
||||
lst.sensor = 从建筑或单位取得数据
|
||||
lst.set = 设置变量
|
||||
lst.operation = 操作一两个变量
|
||||
lst.end = 跳至指令栈顶\n(第一条语句)
|
||||
lst.jump = 有条件地跳到另一语句
|
||||
lst.unitbind = 绑定下一个某型号单位\n并存到[accent]@unit[]
|
||||
lst.unitcontrol = 控制绑定的单位
|
||||
lst.unitradar = 定位绑定的单位周围的单位
|
||||
lst.unitlocate = 定位指定类型的建筑或位置\n全图范围,需要绑定单位
|
||||
|
||||
logic.nounitbuild = [red]这儿不允许处理器控制单位去建设
|
||||
|
||||
lenum.type = 建筑和单位的类型,不是字串\n比如路由器返回[accent]@router[]
|
||||
lenum.shoot = 瞄准/射击某个位置
|
||||
lenum.shootp = 按提前量瞄准/射击目标
|
||||
lenum.configure = 建筑配置,比如分拣器分拣的物品
|
||||
lenum.enabled = 建筑的启用状态
|
||||
|
||||
laccess.color = 照明器发光的颜色
|
||||
laccess.controller = 单位控制者\n如果是处理器,返回处理器\n如果在编队中,返回领队\n其他的,返回单位自己
|
||||
laccess.dead = 单位或建筑是不是死了或无效了
|
||||
laccess.controlled = 若单位控制者是处理器,返回[accent]@ctrlProcessor[]\n若单位/建筑由玩家控制,返回[accent]@ctrlPlayer[]\n若单位在编队中,返回[accent]@ctrlFormation[]\n其他的,返回0
|
||||
laccess.commanded = [red]已弃用,将被移除![]\n应该使用[accent]controlled[]
|
||||
|
||||
graphicstype.clear = 用指定颜色填满显示屏
|
||||
graphicstype.color = 设置后续画图操作的颜色
|
||||
graphicstype.stroke = 设置线宽
|
||||
graphicstype.line = 画线段
|
||||
graphicstype.rect = 填充矩形
|
||||
graphicstype.linerect = 画矩形框
|
||||
graphicstype.poly = 填充正多边形
|
||||
graphicstype.linepoly = 画正多边形框
|
||||
graphicstype.triangle = 填充三角形
|
||||
graphicstype.image = 画出游戏内容的图像\n比如,[accent]@router[]和[accent]@dagger[]
|
||||
|
||||
lenum.always = 总是跳转
|
||||
lenum.idiv = 整除
|
||||
lenum.div = 除法,除以0时返回[accent]null[]
|
||||
lenum.mod = 取余数
|
||||
lenum.equal = 相等。有转换\nnull比较数字时算作0,非null对象算作1
|
||||
lenum.notequal = 不相等。有转换
|
||||
lenum.strictequal = 严格相等。不转换\n可用于检查[accent]null[]
|
||||
lenum.shl = 左移位
|
||||
lenum.shr = 右移位
|
||||
lenum.or = 按位或
|
||||
lenum.land = 逻辑与
|
||||
lenum.and = 按位与
|
||||
lenum.not = 按位非
|
||||
lenum.xor = 按位异或
|
||||
|
||||
lenum.min = 取小的那个数
|
||||
lenum.max = 取大的那个数
|
||||
lenum.angle = 方位角°
|
||||
lenum.len = 原点到该点距离
|
||||
lenum.sin = 正弦°(对边:斜边)
|
||||
lenum.cos = 余弦°(邻边:斜边)
|
||||
lenum.tan = 正切°(对边:邻边)
|
||||
lenum.rand = [0, 值) 范围内随机数
|
||||
lenum.log = 自然对数(ln)
|
||||
lenum.log10 = 10底对数
|
||||
lenum.noise = 二维单形噪声
|
||||
lenum.abs = 绝对值
|
||||
lenum.sqrt = 二次方根
|
||||
|
||||
lenum.any = 任意单位
|
||||
lenum.ally = 友方单位
|
||||
lenum.attacker = 有武器的单位
|
||||
lenum.enemy = 敌方单位
|
||||
lenum.boss = Boss单位
|
||||
lenum.flying = 飞行单位
|
||||
lenum.ground = 地面单位
|
||||
lenum.player = 玩家控制的单位
|
||||
|
||||
lenum.ore = 矿床
|
||||
lenum.damaged = 受损的友方建筑
|
||||
lenum.spawn = 敌人出生点\n可能是核心或地点
|
||||
lenum.building = 分组内的建筑
|
||||
|
||||
lenum.core = 核心
|
||||
lenum.storage = 容器/仓库
|
||||
lenum.generator = 发电建筑
|
||||
lenum.factory = 工厂
|
||||
lenum.repair = 维修点
|
||||
lenum.rally = 指挥中心
|
||||
lenum.battery = 电池
|
||||
lenum.resupply = 补给点\n仅当启用[accent]“单位弹药”[]时有用
|
||||
lenum.reactor = 钍反应堆/冲击反应堆
|
||||
lenum.turret = 炮塔
|
||||
|
||||
sensor.in = 要传感的建筑或单位
|
||||
|
||||
radar.from = 要实施探测的建筑\n探测距离受限于建筑范围
|
||||
radar.target = 筛选要探测的单位
|
||||
radar.and = 更多筛子
|
||||
radar.order = 排序:1(true)从小到大 0(false)反序
|
||||
radar.sort = 排序的量度
|
||||
radar.output = 输出单位的变量
|
||||
|
||||
unitradar.target = 筛选要探测的单位
|
||||
unitradar.and = 更多筛子
|
||||
unitradar.order = 排序:1(true)从小到大 0(false)反序
|
||||
unitradar.sort = 排序的量度
|
||||
unitradar.output = 输出单位的变量
|
||||
|
||||
control.of = 要控制的建筑
|
||||
control.unit = 要瞄准的单位或建筑
|
||||
control.shoot = 是否射击
|
||||
|
||||
unitlocate.enemy = 定位敌方还是我方建筑
|
||||
unitlocate.found = 有没有找到
|
||||
unitlocate.building = 找到的建筑的输出变量
|
||||
unitlocate.outx = 输出X坐标
|
||||
unitlocate.outy = 输出Y坐标
|
||||
unitlocate.group = 要找的建筑组
|
||||
|
||||
lenum.idle = 不移动,但进行采矿/修建\n默认状态
|
||||
lenum.stop = 停止移动/采矿/修建
|
||||
lenum.move = 移动到某个位置
|
||||
lenum.approach = 接近到某个圆形区域
|
||||
lenum.pathfind = 找路去敌人出生点
|
||||
lenum.target = 瞄准/射击某个位置
|
||||
lenum.targetp = 按提前量瞄准/射击目标
|
||||
lenum.itemdrop = 放物品到建筑
|
||||
lenum.itemtake = 从建筑拿物品
|
||||
lenum.paydrop = 放下当前载荷
|
||||
lenum.paytake = 从地上拿起载荷
|
||||
lenum.flag = 数字值的单位旗标
|
||||
lenum.mine = 采矿
|
||||
lenum.build = 修建结构
|
||||
lenum.getblock = 获取某坐标的建筑和类型\n坐标需在单位范围内\n或单位在建筑范围内\n地形物类型是[accent]@solid[]或[accent]@air[]
|
||||
lenum.within = 检查单位在不在半径内
|
||||
lenum.boost = 开始/停止助推
|
Loading…
Reference in New Issue
Block a user