Wikithis
Изображение 1 из 4. Материалы автора из Steam Workshop.
О материале
«Wikithis» — материал мастерской tModLoader. Моды Terraria для tModLoader: новый контент, удобство игры и библиотеки. Для установки откройте оригинал в Steam Workshop, проверьте требования автора и подпишитесь. Совместимость с версией игры редакцией не проверена.
Описание автора
Github
Wikithis allows you to check wiki of selected item/npc in game! Works for every vanilla item, npc! Also will work with most modded items/NPCs.
Supports multiple different languages.
If you want to add support for this mod, then check lower!
Adding cross-mod support
It's fairly simple to add cross-mod support!
First you SHOULD have wiki for your own mod, that's important! Then, add some code to your Mod class that invokes Mod.Call on the Wikithis mod. Make sure to follow the message format perfectly.
"AddModURL", Mod mod, string domain, [OPTIONAL] GameCulture.CultureName culture
public override void Load() // You can use any other loading method, doesn't matters.
{
ModLoader.TryGetMod("Wikithis", out Mod wikithis);
if (wikithis != null && !Main.dedServ)
{
wikithis.Call("AddModURL", this, "https://examplemod.wiki.gg/wiki/{}");
// You can also use call ID for some calls!
wikithis.Call(0, this, "https://examplemod.wiki.gg/wiki/{}");
// Alternatively, you can use this instead, if your wiki is on terrariamods.fandom.com
//wikithis.Call(0, this, "https://terrariamods.fandom.com/wiki/Example_Mod/{}");
//wikithis.Call("AddModURL", this, "https://terrariamods.fandom.com/wiki/Example_Mod/{}");
// If there wiki on other languages (such as russian, spanish, chinese, etch), then you can also call that:
//wikithis.Call(0, this, "https://examplemod.wiki.gg/zh/wiki/{}", GameCulture.CultureName.Chinese)
// If you want to replace default icon for your mod, then call this. Icon should be 30x30, either way it will be cut.
//wikithis.Call("AddWikiTexture", this, ModContent.Request<Texture2D>(pathToIcon));
//wikithis.Call(3, this, ModContent.Request<Texture2D>(pathToIcon));
}
}
Translation Credits
Lin and Listentowind - chinese translation Project tRu - russian translation Taco - polish translation Sea Noodle - italian translation Henrykado - old brazilian portuguese translation ppiece of cat - old russian translation TheBrutalSkull ^-^ - old french translation Naudiz - old german translation
Developed By BasicallyIAmFox
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.