[CONFIG REQUEST] Config file to apply heating/cooling values to armors
kd8lvt opened this issue ยท 0 comments
Having a config file, similar to the drink_stats.json file, for armors and heating/cooling values (possibly a passive water drain option, and a "Keep at certain target temperature" as well?) would make it much easier for modpack makers (such as myself) to add extra realism/features to their pack.
Iron Armor is generally hot and sweaty, (many real-life knights died from dehydration and heat-stroke on the battlefield) so having it increase the target temperature, and cause a slow thirst drain would be one example of usage for this.
An example for the "Keep at certain target temperature" would be Red Matter armor from ProjectE. It's not much different on an armor value scale from Dark Matter, so giving it an extra ability to keep your temperature at a comfortable level would give it more use than just a glorified crafting step to Gem Armor.
I'm not saying implement these as static "this just happens" I'm requesting a config file to apply these effects to armors. It would make TAN much more appealing to pack authors, because you already have Wool and Gelled Slime armor, the next logical step would be to allow all armors to have this effect.
I've come up with an example syntax, for how the file might look (based heavily off drink_stats.json)
[
{
"name": "Iron Armor", //The name of the set to show up in /tan tempInfo
"set": [ //An Array of armor items || Between 1-4 entries.
{
"name": "minecraft:iron_helmet",
"metadata": [0,128] //Can be a range of damage values...
},
{
"name": "minecraft:iron_chestplate",
"metadata": "*" //...or a string containing only an asterisk for "all" damage values.
},
{
"name": "minecraft:iron_leggings",
"metadata": "*"
},
{
"name": "minecraft:iron_boots",
"metadata": "*"
},
],
"requireFullSet": false, //Boolean || Required, Determines if the whole set must be worn to take effect
"effectStacks": true, //Boolean || Required, Determine if the effect stacks for each armor piece in "set"
"thirstDrain": 0.05, //Float or null || Optional, thirst drained per second? Every time the temp rate hits zero?
"heatBonus": 3, //Integer or null || Optional, If this and chillBonus are set, they cancel eachother out.
"chillBonus": 0, //Integer or null || Optional, If this and heatBonus are set, they cancel eachother out.
"keepTempAt": "null", //Integer or null || Optional
"rateChange": -50, //Integer or null || Optional, Amount to change the temperature rate by.
}
]
This syntax would also allow for "mixed sets" or wearing a certain combination of armors, to have a certain effect, which I find interesting.