Top Level Namespace
Defined in:
Constant Summary
-
CAPTION =
"Protocol 16"
-
DEC_STRESS =
["оправляется от стресса", "выглядит получше", "возвращается из мертвых"]
-
DEF_COLOR =
ColorPair.new(Color::WHITE, Color::BLACK)
-
FONT_NAME =
"default"
-
FONT_SIZE =
12
-
GRAMMAR_NUMBERS =
{0 => "ов", 1 => "", 2 => "а", 3 => "а", 4 => "а", 5 => "ов", 6 => "ов", 7 => "ов", 8 => "ов", 9 => "ов"}
-
GREEN_COLOR =
ColorPair.new(Color::GREEN, Color::BLACK)
-
INC_STRESS =
["шокирован~ проиcходящим", "доведен~ до предела", "не выдерживает и сдается"]
-
LOCKED_COLOR =
ColorPair.new(Color::GREY, Color::BLACK)
-
RED_COLOR =
ColorPair.new(Color::RED, Color::BLACK)
-
REL_NAMES =
{Relation::Known => "знаком~ с", Relation::Friend => "дружит с", Relation::BestFriend => "лучшие друзья с"}
-
SCREEN_HEIGHT =
36
-
SCREEN_WIDTH =
120
-
SEL_COLOR =
ColorPair.new(Color::GREEN, Color::BLACK)
-
STRESS_COLOR =
["green", "yellow", "red", "dark red"]
-
STRESS_NAMES =
{0 => "[color=green]в порядке[/color]", 1 => "[color=yellow]испытывает стресс[/color]", 2 => "[color=red]на гране срыва[/color]"}
-
TEST_COLOR =
ColorPair.new(Color::BLACK, Color::BLUE)
-
YELLOW_COLOR =
ColorPair.new(Color::YELLOW, Color::BLACK)
Method Summary
- build_skill_levels(world)
- chat(world, who, what)
- chat_ls(world, who, whom, what)
- chat_spec(world, color, what)
- generate_failures(world, rng, count)
- generate_persons(world, rng, count)
- generate_relations(world, rng)
- generate_stress_reactions(world, rng)
- generate_world(world, rng, n_failures, n_persons)
- grammar_fails(count)
- indicate_new_best_friend(world, she, old, new)
- indicate_relation(world, he, she, rel)
- init_life_config(world)
- read_asset(filename)
- read_ecs_dir(world, dir)
- read_ecs_io(world, io)