Skip to content
This repository was archived by the owner on Aug 31, 2019. It is now read-only.

Commit f219ed7

Browse files
committed
Required property, title for unique tag.
1 parent e2502a3 commit f219ed7

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

src/modules/crafting.haml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
%code= html_escape('<result>')
118118
%td
119119
%span.label.label-danger Required
120-
%span.label.label-warning Unique
120+
%span.label.label-warning{:title => "Only one of this child permitted per parent"} Unique
121121
The result of this recipe, only one result is allowed per recipe.
122122
%br
123123
Accepts all attributes and sub-elements of a normal kit item.
@@ -162,7 +162,7 @@
162162
%code= html_escape('<shape>')
163163
%td
164164
%span.label.label-danger Required
165-
%span.label.label-warning Unique
165+
%span.label.label-warning{:title => "Only one of this child permitted per parent"} Unique
166166
An ingredient used in this recipe.
167167
%br
168168
%i Only one shape per recipe is allowed.
@@ -350,7 +350,7 @@
350350
%code= html_escape('<i>')
351351
%td
352352
%span.label.label-danger Required
353-
%span.label.label-warning Unique
353+
%span.label.label-warning{:title => "Only one of this child permitted per parent"} Unique
354354
An ingredient used in this recipe.
355355
%br
356356
A smelt recipe only accepts one ingredient.

src/modules/item_mods.haml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
%code= html_escape('<match> </match>')
5353
%td
5454
%span.label.label-danger Required
55-
%span.label.label-warning Unique
55+
%span.label.label-warning{:title => "Only one of this child permitted per parent"} Unique
5656
The material or materials to modify.
5757
%td
5858
%span.label.label-default Match Sub-Elements
@@ -62,7 +62,7 @@
6262
%code= html_escape('<modify> </modify>')
6363
%td
6464
%span.label.label-danger Required
65-
%span.label.label-warning Unique
65+
%span.label.label-warning{:title => "Only one of this child permitted per parent"} Unique
6666
The attributes to modify on the specified material(s).
6767
%td
6868
%a{:href => "#itemmeta"} Item Meta

src/modules/spawns.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
%pre
4747
%code= html_escape('<default>')
4848
%td
49-
%span.label.label-warning Unique
49+
%span.label.label-warning{:title => "Only one of this child permitted per parent"} Unique
5050
The spawn for observers and teams without a spawn.
5151
%br
5252
%i Only one default spawn element is allowed per map.

src/modules/structures.haml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
%code region
9191
%td
9292
%span.label.label-default{:title => "Can be an attribute or sub-element."} Property
93+
%span.label.label-danger Required
9394
A single region containing the structure.
9495
%td
9596
%a{:href => "/modules/regions"} Cuboid Region

0 commit comments

Comments
 (0)