Skip to content

Logic Sugar v5.11.0[v160.1]

Latest

Choose a tag to compare

@DeterMination-Wind DeterMination-Wind released this 05 Nov 10:17
· 3 commits to main since this release

Note

需要 Mindustry v160.1+(桌面 / Android)
Requires Mindustry v160.1+ (Desktop / Android)

Note

用法:在 Expr 积木或 expr 条件里调用 unit_family(u)、unit_tier(u)、unit_planet(u),与 @__AIR__ 这类常量比较
Usage: call unit_family(u), unit_tier(u), or unit_planet(u) in an Expr card or an expr condition, and compare with constants like @__AIR__

中文

本次新增

  • 新增单位家族、等级与星球的表达式查询
名称 用途
unit_family(u) 查询单位家族
unit_tier(u) 查询单位等级
unit_planet(u) 查询单位所属星球
@__UNKNOWN__ @__GROUND__ @__AIR__ @__NAVAL__ @__TANK__ @__MECH__ @__SHIP__ @__SUPPORT__ @__CORE__ 与 unit_family(u) 比较
@__T1__ @__T2__ @__T3__ @__T4__ @__T5__ 与 unit_tier(u) 比较
@__SERPULO__ @__EREKIR__ 与 unit_planet(u) 比较
@__EPS__ @__TILESIZE__ @__TICKS_PER_SECOND__ @__SECONDS_PER_TICK__ 浮点容差、格子像素、tick 时间换算

本次修复

  • unitnext 现在会在下一次执行时交付扫描到的单位

English

Added

  • Unit family, tier, and planet are available as expressions
Name Use
unit_family(u) reads the unit family
unit_tier(u) reads the unit tier
unit_planet(u) reads the unit's planet
@__UNKNOWN__ @__GROUND__ @__AIR__ @__NAVAL__ @__TANK__ @__MECH__ @__SHIP__ @__SUPPORT__ @__CORE__ compare with unit_family(u)
@__T1__ @__T2__ @__T3__ @__T4__ @__T5__ compare with unit_tier(u)
@__SERPULO__ @__EREKIR__ compare with unit_planet(u)
@__EPS__ @__TILESIZE__ @__TICKS_PER_SECOND__ @__SECONDS_PER_TICK__ epsilon, tile pixels, tick timing

Fixed

  • unitnext now delivers the unit it scanned on the next run