Using new displayType methods.

Adsooi 2021-08-14 13:54:56 +00:00
parent eac51bbdaa
commit 269eb9acf7

@ -19,7 +19,10 @@ So to create a new object, choose one of the two to extend, and then create a cl
- `static type() -> string` - `static type() -> string`
- Returns the type of the object (should be constant, non translatable). - Returns the type of the object (should be constant, non translatable).
- Examples: "Text", "Function"... - Examples: "Text", "Function"...
- `static typeMultiple() -> string` - `static displayType() -> string`
- Returns the (potentially translated) string for the type of this object objects of this type (used in the editor dialog, as well as the creation buttons).
- Examples: "Texts", "Functions"...
- `static displayTypeMultiple() -> string`
- Returns the string for multiple objects of this type (used in objects list for a category of objects). - Returns the string for multiple objects of this type (used in objects list for a category of objects).
- Examples: "Texts", "Functions"... - Examples: "Texts", "Functions"...
- `static createable() -> boolean` - `static createable() -> boolean`