tModLoader
Оценок: 1,775
Wikithis
8
6
12
4
3
4
3
   
Наградить
В избранное
В избранном
Удалить
Размер файла
Добавлен
Изменён
213.976 KB
8 июл. 2022 г. в 16:19
18 ноя в 10:30
Обновлений: 54 (просмотреть)

Подпишитесь, чтобы загрузить
Wikithis

Описание
Github[github.com]

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
Автор сообщения: tModLoader
Developed By BasicallyIAmFox
Популярные обсуждения Просмотреть все (7)
13
3
30 окт. 2024 г. в 3:26
no clamtitty
NotLe0n
1
28 мар в 19:52
w
paicampai
1
28 мая. 2024 г. в 5:50
Search by English name, not by localized name
snowinmars
Комментариев: 250
BasicallyIAmFox  [создатель] 1 дек в 18:20 
@Kanaris yeah, you're right. it doesn't cache anything aside from the link to the wiki page
Kanaris 27 ноя в 16:51 
No all it does is open your default browser to the correct wiki page. It doesn't cache an offline copy of the wiki AFAIK.
Sir_Codename 27 ноя в 11:43 
does this mod work offline?
BasicallyIAmFox  [создатель] 18 ноя в 9:19 
or literally any info
BasicallyIAmFox  [создатель] 18 ноя в 9:16 
bluejay10112 you are wrong unless you provide version you're on
bluejay10112 16 ноя в 11:04 
Doesnt work for latest tmodloader update
Dark 9 окт в 11:55 
you gave an option to open the browser instead of steam's overlay - thank you

i ♥♥♥♥♥♥♥ hate that overlay.
Kanaris 26 авг в 19:09 
it's in the keybinds menu like nearly every mod will have. Down the bottom
sonsablar 26 авг в 14:23 
dumb question, but how do i open the wiki, it says NONE to press, how to bind it?
Wim 22 авг в 15:55 
THIS MOD IS AMAZING