Misc improvements (#347)
* - Allow for items without namespaces in loot tables * - Made rolls in loot table required * - Account for match tag conditions by not requiring item and count * - Allow forward / in feature (and rule) identifers * - Added pattern for structure names * - Change atlas > texture_name to const * - Allow . in texture entries in atlas files * - Food nutrition can only be ints
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
"additionalProperties": false,
|
||||
"title": "A Single Pool",
|
||||
"type": "object",
|
||||
"required": ["rolls"],
|
||||
"properties": {
|
||||
"rolls": {
|
||||
"title": "Rolls",
|
||||
@@ -72,7 +73,7 @@
|
||||
"title": "Count",
|
||||
"description": "The amount of the item."
|
||||
},
|
||||
"name": { "title": "Name", "type": "string", "description": "An item or loottable.", "pattern": "^([\\w]+:|loot_tables/)" },
|
||||
"name": { "title": "Name", "type": "string", "description": "An item or loottable.", "pattern": "^(?:[\\w]+:|loot_tables\/)?[\\w]+(?:\/[\\w]+)*$" },
|
||||
"weight": {
|
||||
"title": "Weight",
|
||||
"type": "integer",
|
||||
|
||||
Reference in New Issue
Block a user