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#Syntax|除非禁用]],否则会先扫描图层已有的贴图放入缓存,然后从上往下读取规则组的每条规则依次自动执行替换:
自动贴图时,从上往下读取规则组的每条规则依次自动执行替换:
* 规则一般以方块编号开头,并尾随一系列位置关系描述;
* 规则一般以方块编号开头,并尾随一系列位置关系描述;
* 将缓存中同时符合此规则所有位置描述的图块替换成开头的编号贴图(此时可能会覆盖先前规则替换好的方块位置,最后表现为同一位置只执行了最后一条规则)。
* 将图层中同时符合此规则所有位置描述的图块替换成开头的编号贴图(此时可能会覆盖先前规则替换好的方块位置,最后表现为同一位置只执行了最后一条规则)。
每条规则执行顺次完毕后,将缓存应用图层
[[Special:MyLanguage#Syntax|除非禁用]],否则会先替换贴图的步骤放入缓存,在同组规则执行时,先前执行规则发生的改变不会立即影响续规则的位置判断最后再所有变化应用图层。

Revision as of 15:06, 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.

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

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

除非禁用,否则会先将替换贴图的步骤放入缓存,在同组规则执行时,先前执行规则发生的改变不会立即影响后续规则的位置判断,最后再将所有变化应用于图层。