Add live config overrides and refactor kits
Introduce runtime-configurable settings and defaults across multiple kits and clean up implementations. Kits (Armorer, Backup, Gladiator, Goblin, IceMage, Puppet, and others) now expose companion-object default constants and read values via override() (SPEEDHG_CUSTOM_SETTINGS) with typed accessors. Activation and tick-time behaviour snapshot these values so mid-round config changes don't produce inconsistent effects. Also includes general refactors: clearer getters, small API/formatting cleanup, improved no-op ability placeholders, and minor behavior protections (e.g. disallow stealing Backup kit).
This commit is contained in:
@@ -37,7 +37,7 @@ class ItemBuilder(
|
||||
name: String
|
||||
): ItemBuilder
|
||||
{
|
||||
itemStack.editMeta { it.displayName(Component.text( name )) }
|
||||
itemStack.editMeta { it.displayName(mm.deserialize( name )) }
|
||||
return this
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user