Skip to content

Create your own custom lang for the Kanishiel's Werewolf game

Notifications You must be signed in to change notification settings

KaniNetwork/custom-lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kani custom lang

Create your own custom lang for the Kanishiel's werewolf game

To create your own lang,

  • Fork this repository

  • Modify (this will be explained later how)

  • Create a pull request

That's easy as this !

If you want you can also ask someone to create your own idea, just open an issue but consider that there's no obligation for someone to create your language.

How to modify with your translation ?

First of all, You will have to copy the example's folder into translation, rename "example" folder with the name of your translation with the patern "[lang]-[theme]" (in full lowercase) and start creating your custom lang :

  • role_description.js Role Example

For helping you, we put the role number so you can refere to the k-lgrole <nb> command on KaniShiel if you change the name and don't remember the original role.

The first part of the role is his name ( ⚠️ You are obliged to provide one, if you want to remove the role of the language, just fill the description with "disable")

After this, we have the description. That can be split in multiple part (here 5) :

First part is the role camp (here Solo), second and after are the power(s) (here there is 4 line to describes the power)

Disclaimer: You can't create power, you can just change the descritpion of a power but it will leave it with the classic werewolf game power

PLEASE KEEP THE TEMPLATE, DONT USE SOME FANTASY AND ALSO DONT MOOVE THE ROLE ORDER

  • description_game.js

more and more complexer

Fist : channels Channel Example

The werewolf channels are made in two part : the key, that you have to never change and the name, that you're free to change to everything

Second : Win Win Example

In four parts : key (never change), title, description and which camp win

Third : Game Game Example

In six parts : key (I think you have understanded that you have to don't modify this), top of message, description in the village channel, description in his private channel, role name, message when ha go asleep

Fourth : Random Text and Event Event Example

In two parts : key and texts

The key are very obvious but if you have a doubt come ask us on discord