Skip to content
Naoki Mizuno edited this page Jul 13, 2015 · 2 revisions

The configuration is done using a TOML file. After you create the file, make sure to update culturecode.conf to have the server use the new set of rules.

Refer to sample.toml for various attributes that you can configure.

Visibility and Eatability

If a food is not visible, it is automatically not eatable. If a food is not visible but eatability is set to true, it is ignored.

The rows of the tables represent the team looking, and the columns are the teams being looked at. For example,

+-+-+-+
|0|1|2|
+-+-+-+
|1|1|1|
+-+-+-+
|I|0|2|
+-+-+-+

this table represents the game a three teams. Team 0 (the first row) can see all three teams as the correct teams. Team 1 (second row) can see all three teams, but they will all look like team 1. Team 2 can only see two teams (actual team IDs are teams 1 and 2) and they see team 1 as team 0 (so they are presented with incorrect information). I for "invisible" should be written as -1 in the TOML file.

You can generate the three tables using the table_generator.rb script in the server directory. You will need Ruby (tested with 2.2.2) to use this script.

Clone this wiki locally