Added new field to item configs for overriding alchemy flag

Fixed alchemy for Fremennik items
This commit is contained in:
Trident101
2023-05-27 12:57:04 +00:00
committed by Ryan
parent 6dcec3c42f
commit c3c836de4d
4 changed files with 33 additions and 6 deletions
@@ -40,6 +40,11 @@ class ItemConfigParser {
*/
const val TWO_HANDED = "two_handed"
/**
* The alchemisable configuration key.
*/
const val ALCHEMIZABLE = "alchemizable"
/**
* The high-alchemy price item configuration key.
*/
@@ -268,6 +273,7 @@ class ItemConfigParser {
"destroy",
"lendable",
"tradeable" -> configs.put(it.key.toString(),it.value.toString().toBoolean())
"alchemizable", -> configs.put(it.key.toString(),it.value.toString().toBoolean())
//doubles
"weight" -> configs.put(it.key.toString(),it.value.toString().toDouble())