搭建中,开放编辑,欢迎收藏防止迷路。请参考:编辑帮助

全站通知:

模板:GetType

来自土豆兄弟(Brotato)WIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索


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)

Examples

{{GetType|Knife}} = weapon

{{GetType|Acid}} = item

{{GetType|Mutant}} = character

{{GetType|UNKNOWN}} = unknown