Jump to content

Translations:Automapper/9/zh: Difference between revisions

From DDraceNetwork
Darkh (talk | contribs)
No edit summary
Darkh (talk | contribs)
No edit summary
 
Line 1: Line 1:
自动贴图时,从上往下读取规则组的每条规则依次自动执行替换:
自动贴图时,从上往下读取规则组的每条规则依次自动执行替换:
* 规则一般以方块编号开头,并尾随一系列位置关系描述等替换条件;
* 规则一般以方块编号开头,并尾随一系列位置关系描述等替换条件;
* 图层同时符合此条规则所有替换条件的图块替换成句首指定的编号贴图(此时可能会覆盖先前规则替换好的方块位置,最后表现为同一位置只执行了最后一条规则)。
* 扫描图层,将同时符合此条规则所有替换条件的图块替换成句首指定的编号贴图(此时可能会覆盖先前规则替换好的方块位置,最后表现为同一位置只执行了最后一条规则)。
[[Special:MyLanguage/Automapper#Syntax|除非禁用]],否则会先将替换贴图的步骤放入缓存,在同组规则执行时,先前执行规则发生的改变不会立即影响后续规则的位置判断,最后再将所有变化应用于图层。
[[Special:MyLanguage/Automapper#Syntax|除非禁用图层缓存]],否则在同组规则执行时,会先暂时将替换贴图的每个步骤放入缓存而非立即改变图层,先前执行规则发生的改变不会立即后续规则扫描到,最后再将所有变化应用于图层。

Latest revision as of 16:20, 8 February 2025

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Automapper)
The automapper will read the rules file and scan each '''position''' of the layer. If every rule of a selected tile applies, the tile will be placed at the scanned position of the automapper. If multiple tiles and their rules match, only the latest rule will apply (because it will be overwritten). [[#Syntax|Unless deactivated]], the automapper will put it's changes into a buffer first and apply them afterwards.

自动贴图时,从上往下读取规则组的每条规则依次自动执行替换:

  • 规则一般以方块编号开头,并尾随一系列位置关系描述等替换条件;
  • 扫描图层,将同时符合此条规则所有替换条件的图块替换成句首指定的编号贴图(此时可能会覆盖先前规则替换好的方块位置,最后表现为同一位置只执行了最后一条规则)。

除非禁用图层缓存,否则在同组规则执行时,会先暂时将替换贴图的每个步骤放入缓存而非立即改变图层,先前执行规则发生的改变不会立即被后续规则扫描到,最后再将所有变化应用于图层。