From Brotato Wiki
Gets the type (item/weapon/character) from the provided name.
IMPORTANT: Relies on the #default
for each entry always being "-" (in Item_Data, Weapon_Data, and Character_Data)
Used by Template:MiniIconbox, which uses this template via Template:GetRarity.
Examples
{{GetType|Knife}}
= weapon
{{GetType|Acid}}
= item
{{GetType|Mutant}}
= character
{{GetType|UNKNOWN}}
= unknown