Correct WallPiece schema help comments

(Fairly sure I've got them right this time.)

Refs: #2944, D900, da35f63279

This was SVN commit r23687.
This commit is contained in:
s0600204 2020-05-21 19:11:00 +00:00
parent 6e6c401ee8
commit 9034335d22

View File

@ -4,21 +4,21 @@ WallPiece.prototype.Schema =
"<a:help></a:help>" +
"<a:example>" +
"</a:example>" +
"<element name='Length' a:help='Measured in Terrain Tiles. Used in rmgen wallbuilder and the in-game wall-placer.'>" +
"<element name='Length' a:help='Meters. Used in rmgen wallbuilder and the in-game wall-placer.'>" +
"<ref name='nonNegativeDecimal'/>" +
"</element>" +
"<optional>" +
"<element name='Orientation' a:help='Radians. Default: 1. Used in rmgen wallbuilder. The angle to rotate the wallpiece so it is orientated the same way as every other wallpiece: with the \"line\" of the wall running along a map&apos;s `z` axis and the \"outside face\" towards positive `x`. If the piece bends (see below), the orientation should be that of the start of the wallpiece, not the middle.'>" +
"<element name='Orientation' a:help='Multiples of Pi, measured anti-clockwise. Default: 1; full revolution: 2. Used in rmgen wallbuilder. How the wallpiece should be rotated so it is orientated the same way as every other wallpiece: with the \"line\" of the wall running along a map&apos;s `z` axis and the \"outside face\" towards positive `x`. If the piece bends (see below), the orientation should be that of the start of the wallpiece, not the middle.'>" +
"<ref name='nonNegativeDecimal'/>" +
"</element>" +
"</optional>" +
"<optional>" +
"<element name='Indent' a:help='Measured in Terrain Tiles. Default: 0. Used in rmgen wallbuilder. Permits piece to be placed in front, behind, or inline with a wall.'>" +
"<element name='Indent' a:help='Meters. Default: 0. Used in rmgen wallbuilder. Permits piece to be placed in front (-ve value) or behind (+ve value) a wall.'>" +
"<data type='decimal'/>" +
"</element>" +
"</optional>" +
"<optional>" +
"<element name='Bend' a:help='Radians. Default: 0. Used in rmgen wallbuilder. Defines the angle that the wallpiece bends or curves across its length.'>" +
"<element name='Bend' a:help='Multiples of Pi, measured anti-clockwise. Default: 0. Used in rmgen wallbuilder. The difference in orientation between the ends of a wallpiece.'>" +
"<data type='decimal'/>" +
"</element>" +
"</optional>";