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:
Xterionix
2025-05-03 14:15:47 +05:00
committed by GitHub
parent 24c3407e3b
commit ba22100784
7 changed files with 11 additions and 9 deletions

View File

@@ -11,7 +11,7 @@
"type": "boolean",
"default": false
},
"nutrition": { "title": "Nutrition", "description": "How much nutrition does this food item give the player when eaten.", "type": "number", "default": 0 },
"nutrition": { "title": "Nutrition", "description": "How much nutrition does this food item give the player when eaten.", "type": "integer", "default": 0 },
"saturation_modifier": {
"title": "Saturation Modifier",
"description": "Saturation Modifier is used in this formula: (nutrition * saturation_modifier * 2) when appling the saturation buff. Which happens when you eat the item.",