Moved nethack config into ./home/components and included it into ./home/common.nix
This commit is contained in:
parent
54e78d806e
commit
2418e8153a
42
flake.lock
42
flake.lock
@ -43,11 +43,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1719994518,
|
||||
"narHash": "sha256-pQMhCCHyQGRzdfAkdJ4cIWiw+JNuWsTX7f0ZYSyz0VY=",
|
||||
"lastModified": 1722555600,
|
||||
"narHash": "sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC+x4=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "9227223f6d922fee3c7b190b2cc238a99527bbb7",
|
||||
"rev": "8471fe90ad337a8074e957b69ca4d0089218391d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -154,11 +154,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1722407237,
|
||||
"narHash": "sha256-wcpVHUc2nBSSgOM7UJSpcRbyus4duREF31xlzHV5T+A=",
|
||||
"lastModified": 1722630065,
|
||||
"narHash": "sha256-QfM/9BMRkCmgWzrPDK+KbgJOUlSJnfX4OvsUupEUZvA=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "58cef3796271aaeabaed98884d4abaab5d9d162d",
|
||||
"rev": "afc892db74d65042031a093adb6010c4c3378422",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -169,10 +169,10 @@
|
||||
},
|
||||
"nethack": {
|
||||
"locked": {
|
||||
"lastModified": 1720287571,
|
||||
"narHash": "sha256-thiVJSiCuMgK2zYmCvhfJAWdawb4GyRPoqipbrZFoGw=",
|
||||
"lastModified": 1722805676,
|
||||
"narHash": "sha256-6xrP2Laaga31DrZVQhmn7+XN+w64YZzPxhHxX2zOGXM=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "10fc937bbb527fbf419a7a6dc2bf4edd4c340b48",
|
||||
"rev": "56ff4000d9521d4782fa83854c39f8a518ca4ddf",
|
||||
"shallow": true,
|
||||
"type": "git",
|
||||
"url": "https://git.psf.lt/xezo360hye/nethack"
|
||||
@ -191,11 +191,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1722082646,
|
||||
"narHash": "sha256-od8dBWVP/ngg0cuoyEl/w9D+TCNDj6Kh4tr151Aax7w=",
|
||||
"lastModified": 1722609272,
|
||||
"narHash": "sha256-Kkb+ULEHVmk07AX+OhwyofFxBDpw+2WvsXguUS2m6e4=",
|
||||
"owner": "lnl7",
|
||||
"repo": "nix-darwin",
|
||||
"rev": "0413754b3cdb879ba14f6e96915e5fdf06c6aab6",
|
||||
"rev": "f7142b8024d6b70c66fd646e1d099d3aa5bfec49",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -206,11 +206,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1722421184,
|
||||
"narHash": "sha256-/DJBI6trCeVnasdjUo9pbnodCLZcFqnVZiLUfqLH4jA=",
|
||||
"lastModified": 1722630782,
|
||||
"narHash": "sha256-hMyG9/WlUi0Ho9VkRrrez7SeNlDzLxalm9FwY7n/Noo=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "9f918d616c5321ad374ae6cb5ea89c9e04bf3e58",
|
||||
"rev": "d04953086551086b44b6f3c6b7eeb26294f207da",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -235,11 +235,11 @@
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1722694915,
|
||||
"narHash": "sha256-8UEWZ1zO8hUttsW9Zv+kjlJkGVD3Xnr5gulK7x1FcuQ=",
|
||||
"lastModified": 1722763580,
|
||||
"narHash": "sha256-LgYIYkNYzqCldWJ/xJRQ156WDp6P9hHb4EsIXsRa+u4=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"rev": "96d0a2e390128be2ea19b714d4215326abfadf83",
|
||||
"rev": "6f7cf23b226ceaee0a2d479c505652065dfe526f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -257,11 +257,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1722144272,
|
||||
"narHash": "sha256-olZbfaEdd+zNPuuyYcYGaRzymA9rOmth8yXOlVm+LUs=",
|
||||
"lastModified": 1722493084,
|
||||
"narHash": "sha256-ktjl908zZKWcGdMyz6kX1kHSg7LFFGPYBvTi9FgQleM=",
|
||||
"owner": "NuschtOS",
|
||||
"repo": "search",
|
||||
"rev": "16565307c267ec219c2b5d3494ba66df08e7d403",
|
||||
"rev": "3f5abffa5f28b4ac3c9212c81c5e8d2d22876071",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -51,6 +51,7 @@
|
||||
nixvim.homeManagerModules.nixvim
|
||||
nethack.homeManagerModules.nethack
|
||||
./home/${hostname}.nix
|
||||
./home/common.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
5
home/common.nix
Normal file
5
home/common.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
imports = [
|
||||
./components/nethack.nix
|
||||
];
|
||||
}
|
266
home/components/nethack.nix
Normal file
266
home/components/nethack.nix
Normal file
@ -0,0 +1,266 @@
|
||||
{ ... }:
|
||||
{
|
||||
programs.nethack = {
|
||||
enable = true;
|
||||
nethack_options = {
|
||||
windowtype = "curses";
|
||||
align_message = "bottom";
|
||||
msg_window = "reverse";
|
||||
msghistory = 1000;
|
||||
statuslines = 3;
|
||||
|
||||
hitpointbar = true;
|
||||
perm_invent = true;
|
||||
showscore = true;
|
||||
showrace = true;
|
||||
showexp = true;
|
||||
time = true;
|
||||
|
||||
hilite_pet = true;
|
||||
statushilites = true;
|
||||
lit_corridor = true;
|
||||
use_darkgray = true;
|
||||
menucolors = true;
|
||||
|
||||
autopickup = true;
|
||||
pickup_burden = "B";
|
||||
disclose = "+iagcvo";
|
||||
sortloot = "full";
|
||||
runmode = "crawl";
|
||||
boulder = "0";
|
||||
|
||||
gender = "male";
|
||||
};
|
||||
|
||||
choose_options = {
|
||||
wizard.nethack_options = {
|
||||
race = "elf";
|
||||
role = "wizard";
|
||||
pickup_types = ''$!="+?'';
|
||||
};
|
||||
|
||||
tourist.nethack_options = {
|
||||
role = "tourist";
|
||||
pickup_types = ''$!="+?'';
|
||||
};
|
||||
|
||||
caveman.nethack_options = {
|
||||
race = "dwarf";
|
||||
role = "caveman";
|
||||
pickup_types = ''$!=%"?()'';
|
||||
};
|
||||
};
|
||||
|
||||
hilite_status = {
|
||||
hitpoints = {
|
||||
"100%" = "grey";
|
||||
"<100%" = "green";
|
||||
"<66%" = "yellow";
|
||||
"<50%" = "orange";
|
||||
"<33%" = "red&bold";
|
||||
"<15%" = "red&inverse";
|
||||
};
|
||||
|
||||
power = {
|
||||
"100%" = "grey";
|
||||
"<100%" = "green";
|
||||
"<66%" = "yellow";
|
||||
"<50%" = "orange";
|
||||
"<33%" = "red&bold";
|
||||
};
|
||||
|
||||
cap = {
|
||||
burdened = "yellow";
|
||||
stressed = "orange";
|
||||
strained = "red&bold";
|
||||
overtaxed = "red&inverse";
|
||||
overloaded = "red&inverse&blink";
|
||||
};
|
||||
|
||||
hunger = {
|
||||
satiated = "yellow";
|
||||
hungry = "orange";
|
||||
weak = "red&bold";
|
||||
fainting = "red&inverse";
|
||||
fainted = "red&inverse&blink";
|
||||
};
|
||||
|
||||
condition = {
|
||||
slime = "red&inverse";
|
||||
hallu = "yellow";
|
||||
conf = "orange";
|
||||
stun = "red&bold";
|
||||
termill = "red&inverse";
|
||||
foodpois = "red&inverse";
|
||||
};
|
||||
|
||||
characteristics = {
|
||||
up = "green";
|
||||
down = "red";
|
||||
};
|
||||
|
||||
gold = {
|
||||
up = "yellow";
|
||||
down = "brown";
|
||||
};
|
||||
};
|
||||
|
||||
msg_types = {
|
||||
stop = [
|
||||
"The .* (grabs|swings itself around) you!"
|
||||
"You don't feel very well."
|
||||
"You are turning a little green."
|
||||
"Your limbs are getting oozy."
|
||||
"Your skin begins to peel away."
|
||||
"You are turning into a green slime."
|
||||
"You are slowing down."
|
||||
"Your limbs are stiffening."
|
||||
"It constricts your throat!"
|
||||
"You find it hard to breathe."
|
||||
"You're gasping for air."
|
||||
"Your blood is having trouble reaching your brain."
|
||||
"You can no longer breathe."
|
||||
"You're turning blue."
|
||||
"You faint from lack of food"
|
||||
"Your consciousness is fading."
|
||||
"You regain consciousness"
|
||||
|
||||
"You feel weak"
|
||||
"You feel weak now"
|
||||
"You are beginning to feel weak"
|
||||
"You feel deathly sick"
|
||||
"You feel (much|even) worse"
|
||||
|
||||
"You feel more confident "
|
||||
|
||||
"You only feel hungry now"
|
||||
" needs food, badly!"
|
||||
"You feel hungry"
|
||||
"You are beginning to feel hungry"
|
||||
"You are getting the munchies"
|
||||
"You still have the munchies"
|
||||
"The munchies are interfering with your motor capabilities"
|
||||
"You now have a lesser case of the munchies"
|
||||
];
|
||||
|
||||
hide = [
|
||||
"You swap places with .*"
|
||||
];
|
||||
};
|
||||
|
||||
menu_colors = {
|
||||
" blessed " = "green";
|
||||
" holy " = "green";
|
||||
" cursed " = "red";
|
||||
" unholy " = "red";
|
||||
" cursed .* (being (worn|wielded))" = "orange&underline";
|
||||
" !C" = "white";
|
||||
" !B" = "white";
|
||||
" !UC" = "white";
|
||||
" uncursed| UC?($| )" = "white";
|
||||
" \\([-0-9]+:[-0-9]+\\)" = "white";
|
||||
" [+-][0-9]" = "white";
|
||||
" blessed| B($| )" = "cyan";
|
||||
" cursed| C($| )" = "red";
|
||||
" holy water" = "cyan&bold";
|
||||
" blessed clear potion" = "cyan&bold";
|
||||
" blessed potions? called water" = "cyan&bold";
|
||||
" clear potions? named (holy|blessed|B)($| )" = "cyan&bold";
|
||||
" potions? of water named (holy|blessed|B)($| )" = "cyan&bold";
|
||||
" potions? called water named (holy|blessed|B)($| )" = "cyan&bold";
|
||||
" unholy water" = "orange";
|
||||
" cursed clear potion" = "orange";
|
||||
" cursed potions? called water" = "orange";
|
||||
" potions? called water named (unholy|cursed|C)($| )" = "orange";
|
||||
"(food |cram |K-|C-)ration|gunyoki" = "green&bold";
|
||||
"lembas wafer|melon|carrot|tins? .* spinach" = "green&bold";
|
||||
" oranges?( named.*)?$" = "green&bold";
|
||||
" pears?( named.*)?$" = "green&bold";
|
||||
" (apple|banana|kelp|eucalyptus|garlic|wolfsbane)" = "green&bold";
|
||||
" (slime mold|brain)" = "green&bold";
|
||||
"(tins? of )?(gelatinous cube|acid blob|quivering blob)( corpse)?" = "green&bold";
|
||||
"(tins? of )?(blue|spotted|ochre) jelly( corpse)?" = "green&bold";
|
||||
"(tins? of )?lichen|shrieker|violet fungus|(brown|yellow|green|red) mold( corpse)?" = "green&bold";
|
||||
"egg|pancake|fortune cookie|candy bar|royal jelly|cream pie|candle" = "green";
|
||||
"(tin of )?brown pudding|gray ooze( corpse)?" = "green";
|
||||
" bag .* holding" = "magenta";
|
||||
" luck(stone)?($| )" = "magenta";
|
||||
" wand .* wish(ing)?($| )" = "magenta";
|
||||
" wand .* tele(port(ation)?)?($| )" = "magenta";
|
||||
" wand .* polymorph" = "magenta";
|
||||
" wand .* death" = "magenta";
|
||||
" gain level" = "magenta";
|
||||
" full healing" = "magenta";
|
||||
" magic marker" = "magenta";
|
||||
" magic lamp|lamp .* magic" = "magenta";
|
||||
" unicorn horn[^[]*$" = "magenta";
|
||||
" tinning kit" = "magenta";
|
||||
" ring .* regen(eration)?($| )" = "magenta";
|
||||
" ring .* conflict" = "magenta";
|
||||
" ring .* (FA|free action)($| )" = "magenta";
|
||||
" ring .* (TC|teleport control)($| )" = "magenta";
|
||||
" ring .* lev(itation)?($| )" = "magenta";
|
||||
" scrolls? .* genocide($| )" = "magenta";
|
||||
" scrolls? .* charging($| )" = "magenta";
|
||||
" scrolls? .* identify($| )" = "magenta";
|
||||
" amulet .* (life ?saving|LS)($| )" = "magenta";
|
||||
" amulet .* ref(lection)?($| )" = "magenta";
|
||||
" c(o|hi)ckatrice (corpse|egg)" = "magenta";
|
||||
" egg .* cockatrice" = "magenta";
|
||||
" stethoscope" = "magenta";
|
||||
"tooled horn|fire horn|frost horn|horn .* (tooled|fire|frost)" = "magenta";
|
||||
" harp" = "magenta";
|
||||
" bugle" = "magenta";
|
||||
" flute" = "magenta";
|
||||
"piece of cloth|opera cloak|ornamental cope|tattered cape" = "magenta";
|
||||
"plumed helmet|etched helmet|crested helmet|visored helmet" = "magenta";
|
||||
"(old|padded|riding|fencing) gloves" = "magenta";
|
||||
"(mud|buckled|riding|snow|hiking|combat|jungle) boots" = "magenta";
|
||||
" (Dragonbane|Fire Brand|Frost Brand|Ogresmasher|Trollsbane|Werebane)" = "lightgreen";
|
||||
" (Demonbane|Excalibur|Grayswandir|Snickersnee|Sunsword)" = "lightgreen";
|
||||
" (Orb of Detection|Sceptre of Might|Magic Mirror of Merlin|Mitre of Holiness|Tsurugi of Muramasa)" = "lightgreen";
|
||||
" (Cleaver|Giantslayer|Magicbane|Mjollnir|Vorpal Blade)" = "lightgreen";
|
||||
" (Heart of Ahriman|Staff of Aesculapius|Eyes of the Overworld|Platinum Yendorian Express Card|Orb of Fate|Eye of the Aethiopica)" = "lightgreen";
|
||||
" (Grimtooth|Orcrist|Sting|Stormbringer)" = "lightgreen";
|
||||
" (Longbow of Diana|Master Key of Thievery)" = "lightgreen";
|
||||
" (Bell of Opening|silver bell|Candelabrum of Invocation|candelabrum|Book of the Dead|papyrus spellbook)" = "magenta&bold";
|
||||
" Amulet of Yendor named" = "magenta&bold";
|
||||
" cursed.* bag .* holding" = "red&bold";
|
||||
" cursed.* luck(stone)?($| )" = "red&bold";
|
||||
" cursed.* unicorn horn" = "red&bold";
|
||||
" cursed.* (Bell of Opening|silver bell|Candelabrum of Invocation|candelabrum|Book of the Dead|papyrus spellbook)" = "red&bold";
|
||||
"cursed tins? .* spinach|tins? .* spinach .* (cursed|C($| ))" = "red";
|
||||
" load(stone)?($| )" = "red&underline";
|
||||
" bag .* tricks" = "blue&underline";
|
||||
" wand .*[^!]canc" = "blue&underline";
|
||||
" wand .* vanish" = "blue&underline";
|
||||
" gold piece" = "yellow";
|
||||
" valuable" = "brown";
|
||||
" gems? .* hard" = "yellow";
|
||||
" ([0-9]+|an?|gems? .*) (uncursed |cursed |blessed )?(dilithium|opal|garnet|jasper|agate|jet|obsidian|jade|citrine|chrysoberyl|amber|amethyst|fluorite|turquoise)(e?s)?( stones?| gems?| crystals?)?( named .*)?$" = "brown";
|
||||
" ([0-9]+|an?|gems?.*) (uncursed |cursed |blessed )?(diamond|rub(y|ies)|jacinth|sapphire|black opal|emerald|topaz|aquamarine)(e?s)?( stones?| gems?)?( named .*)?$" = "yellow";
|
||||
" 0%" = "white";
|
||||
" [1-9]%" = "cyan";
|
||||
" [12][0-9]%" = "cyan";
|
||||
" [3-6][0-9]%" = "yellow";
|
||||
" 7[0-5]%" = "yellow";
|
||||
" 7[6-9]%" = "orange";
|
||||
" 8[0-9]%" = "orange";
|
||||
" 9[0-9]%" = "red";
|
||||
" 100%" = "red";
|
||||
"[a-zA-Z ]+ [0-9]\\* [a-z]+ +[0-9]+%" = "magenta";
|
||||
"^ +[a-z -]+ +\\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\\]$" = "grey";
|
||||
"^ *[a-z] - +[a-z -]+ +\\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\\]$" = "white";
|
||||
"^ +\\* +[a-z -]+ +\\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\\]$" = "white";
|
||||
"^ +# +[a-z -]+ +\\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\\]$" = "grey";
|
||||
" is empty. Do what?" = "grey";
|
||||
"Put something into .*" = "grey";
|
||||
"Take something out of .*" = "grey";
|
||||
"unicorn horn.*(Unskilled|Basic|Skilled|Expert)" = "grey";
|
||||
"Info on what a given key does." = "grey";
|
||||
"Full list of keyboard commands." = "grey";
|
||||
"altkeyhandler" = "grey";
|
||||
"fruit.*\\[" = "grey";
|
||||
};
|
||||
};
|
||||
}
|
@ -1,279 +1,14 @@
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
programs = {
|
||||
home-manager.enable = true;
|
||||
|
||||
nethack = {
|
||||
enable = true;
|
||||
nethack_options = {
|
||||
windowtype = "curses";
|
||||
align_message = "bottom";
|
||||
msg_window = "reverse";
|
||||
msghistory = 1000;
|
||||
statuslines = 3;
|
||||
|
||||
hitpointbar = true;
|
||||
perm_invent = true;
|
||||
showscore = true;
|
||||
showrace = true;
|
||||
showexp = true;
|
||||
time = true;
|
||||
|
||||
hilite_pet = true;
|
||||
statushilites = true;
|
||||
lit_corridor = true;
|
||||
use_darkgray = true;
|
||||
menucolors = true;
|
||||
|
||||
autopickup = true;
|
||||
pickup_burden = "B";
|
||||
disclose = "+iagcvo";
|
||||
sortloot = "full";
|
||||
runmode = "crawl";
|
||||
boulder = "0";
|
||||
|
||||
gender = "male";
|
||||
};
|
||||
|
||||
choose_options = {
|
||||
wizard.nethack_options = {
|
||||
race = "elf";
|
||||
role = "wizard";
|
||||
pickup_types = ''$!="+?'';
|
||||
};
|
||||
|
||||
tourist.nethack_options = {
|
||||
role = "tourist";
|
||||
pickup_types = ''$!="+?'';
|
||||
};
|
||||
|
||||
caveman.nethack_options = {
|
||||
race = "dwarf";
|
||||
role = "caveman";
|
||||
pickup_types = ''$!=%"?()'';
|
||||
};
|
||||
};
|
||||
|
||||
hilite_status = {
|
||||
hitpoints = {
|
||||
"100%" = "grey";
|
||||
"<100%" = "green";
|
||||
"<66%" = "yellow";
|
||||
"<50%" = "orange";
|
||||
"<33%" = "red&bold";
|
||||
"<15%" = "red&inverse";
|
||||
};
|
||||
|
||||
power = {
|
||||
"100%" = "grey";
|
||||
"<100%" = "green";
|
||||
"<66%" = "yellow";
|
||||
"<50%" = "orange";
|
||||
"<33%" = "red&bold";
|
||||
};
|
||||
|
||||
cap = {
|
||||
burdened = "yellow";
|
||||
stressed = "orange";
|
||||
strained = "red&bold";
|
||||
overtaxed = "red&inverse";
|
||||
overloaded = "red&inverse&blink";
|
||||
};
|
||||
|
||||
hunger = {
|
||||
satiated = "yellow";
|
||||
hungry = "orange";
|
||||
weak = "red&bold";
|
||||
fainting = "red&inverse";
|
||||
fainted = "red&inverse&blink";
|
||||
};
|
||||
|
||||
condition = {
|
||||
slime = "red&inverse";
|
||||
hallu = "yellow";
|
||||
conf = "orange";
|
||||
stun = "red&bold";
|
||||
termill = "red&inverse";
|
||||
foodpois = "red&inverse";
|
||||
};
|
||||
|
||||
characteristics = {
|
||||
up = "green";
|
||||
down = "red";
|
||||
};
|
||||
|
||||
gold = {
|
||||
up = "yellow";
|
||||
down = "brown";
|
||||
};
|
||||
};
|
||||
|
||||
msg_types = {
|
||||
stop = [
|
||||
"The .* (grabs|swings itself around) you!"
|
||||
"You don't feel very well."
|
||||
"You are turning a little green."
|
||||
"Your limbs are getting oozy."
|
||||
"Your skin begins to peel away."
|
||||
"You are turning into a green slime."
|
||||
"You are slowing down."
|
||||
"Your limbs are stiffening."
|
||||
"It constricts your throat!"
|
||||
"You find it hard to breathe."
|
||||
"You're gasping for air."
|
||||
"Your blood is having trouble reaching your brain."
|
||||
"You can no longer breathe."
|
||||
"You're turning blue."
|
||||
"You faint from lack of food"
|
||||
"Your consciousness is fading."
|
||||
"You regain consciousness"
|
||||
|
||||
"You feel weak"
|
||||
"You feel weak now"
|
||||
"You are beginning to feel weak"
|
||||
"You feel deathly sick"
|
||||
"You feel (much|even) worse"
|
||||
|
||||
"You feel more confident "
|
||||
|
||||
"You only feel hungry now"
|
||||
" needs food, badly!"
|
||||
"You feel hungry"
|
||||
"You are beginning to feel hungry"
|
||||
"You are getting the munchies"
|
||||
"You still have the munchies"
|
||||
"The munchies are interfering with your motor capabilities"
|
||||
"You now have a lesser case of the munchies"
|
||||
];
|
||||
|
||||
hide = [
|
||||
"You swap places with .*"
|
||||
];
|
||||
};
|
||||
|
||||
menu_colors = {
|
||||
" blessed " = "green";
|
||||
" holy " = "green";
|
||||
" cursed " = "red";
|
||||
" unholy " = "red";
|
||||
" cursed .* (being (worn|wielded))" = "orange&underline";
|
||||
" !C" = "white";
|
||||
" !B" = "white";
|
||||
" !UC" = "white";
|
||||
" uncursed| UC?($| )" = "white";
|
||||
" \\([-0-9]+:[-0-9]+\\)" = "white";
|
||||
" [+-][0-9]" = "white";
|
||||
" blessed| B($| )" = "cyan";
|
||||
" cursed| C($| )" = "red";
|
||||
" holy water" = "cyan&bold";
|
||||
" blessed clear potion" = "cyan&bold";
|
||||
" blessed potions? called water" = "cyan&bold";
|
||||
" clear potions? named (holy|blessed|B)($| )" = "cyan&bold";
|
||||
" potions? of water named (holy|blessed|B)($| )" = "cyan&bold";
|
||||
" potions? called water named (holy|blessed|B)($| )" = "cyan&bold";
|
||||
" unholy water" = "orange";
|
||||
" cursed clear potion" = "orange";
|
||||
" cursed potions? called water" = "orange";
|
||||
" potions? called water named (unholy|cursed|C)($| )" = "orange";
|
||||
"(food |cram |K-|C-)ration|gunyoki" = "green&bold";
|
||||
"lembas wafer|melon|carrot|tins? .* spinach" = "green&bold";
|
||||
" oranges?( named.*)?$" = "green&bold";
|
||||
" pears?( named.*)?$" = "green&bold";
|
||||
" (apple|banana|kelp|eucalyptus|garlic|wolfsbane)" = "green&bold";
|
||||
" (slime mold|brain)" = "green&bold";
|
||||
"(tins? of )?(gelatinous cube|acid blob|quivering blob)( corpse)?" = "green&bold";
|
||||
"(tins? of )?(blue|spotted|ochre) jelly( corpse)?" = "green&bold";
|
||||
"(tins? of )?lichen|shrieker|violet fungus|(brown|yellow|green|red) mold( corpse)?" = "green&bold";
|
||||
"egg|pancake|fortune cookie|candy bar|royal jelly|cream pie|candle" = "green";
|
||||
"(tin of )?brown pudding|gray ooze( corpse)?" = "green";
|
||||
" bag .* holding" = "magenta";
|
||||
" luck(stone)?($| )" = "magenta";
|
||||
" wand .* wish(ing)?($| )" = "magenta";
|
||||
" wand .* tele(port(ation)?)?($| )" = "magenta";
|
||||
" wand .* polymorph" = "magenta";
|
||||
" wand .* death" = "magenta";
|
||||
" gain level" = "magenta";
|
||||
" full healing" = "magenta";
|
||||
" magic marker" = "magenta";
|
||||
" magic lamp|lamp .* magic" = "magenta";
|
||||
" unicorn horn[^[]*$" = "magenta";
|
||||
" tinning kit" = "magenta";
|
||||
" ring .* regen(eration)?($| )" = "magenta";
|
||||
" ring .* conflict" = "magenta";
|
||||
" ring .* (FA|free action)($| )" = "magenta";
|
||||
" ring .* (TC|teleport control)($| )" = "magenta";
|
||||
" ring .* lev(itation)?($| )" = "magenta";
|
||||
" scrolls? .* genocide($| )" = "magenta";
|
||||
" scrolls? .* charging($| )" = "magenta";
|
||||
" scrolls? .* identify($| )" = "magenta";
|
||||
" amulet .* (life ?saving|LS)($| )" = "magenta";
|
||||
" amulet .* ref(lection)?($| )" = "magenta";
|
||||
" c(o|hi)ckatrice (corpse|egg)" = "magenta";
|
||||
" egg .* cockatrice" = "magenta";
|
||||
" stethoscope" = "magenta";
|
||||
"tooled horn|fire horn|frost horn|horn .* (tooled|fire|frost)" = "magenta";
|
||||
" harp" = "magenta";
|
||||
" bugle" = "magenta";
|
||||
" flute" = "magenta";
|
||||
"piece of cloth|opera cloak|ornamental cope|tattered cape" = "magenta";
|
||||
"plumed helmet|etched helmet|crested helmet|visored helmet" = "magenta";
|
||||
"(old|padded|riding|fencing) gloves" = "magenta";
|
||||
"(mud|buckled|riding|snow|hiking|combat|jungle) boots" = "magenta";
|
||||
" (Dragonbane|Fire Brand|Frost Brand|Ogresmasher|Trollsbane|Werebane)" = "lightgreen";
|
||||
" (Demonbane|Excalibur|Grayswandir|Snickersnee|Sunsword)" = "lightgreen";
|
||||
" (Orb of Detection|Sceptre of Might|Magic Mirror of Merlin|Mitre of Holiness|Tsurugi of Muramasa)" = "lightgreen";
|
||||
" (Cleaver|Giantslayer|Magicbane|Mjollnir|Vorpal Blade)" = "lightgreen";
|
||||
" (Heart of Ahriman|Staff of Aesculapius|Eyes of the Overworld|Platinum Yendorian Express Card|Orb of Fate|Eye of the Aethiopica)" = "lightgreen";
|
||||
" (Grimtooth|Orcrist|Sting|Stormbringer)" = "lightgreen";
|
||||
" (Longbow of Diana|Master Key of Thievery)" = "lightgreen";
|
||||
" (Bell of Opening|silver bell|Candelabrum of Invocation|candelabrum|Book of the Dead|papyrus spellbook)" = "magenta&bold";
|
||||
" Amulet of Yendor named" = "magenta&bold";
|
||||
" cursed.* bag .* holding" = "red&bold";
|
||||
" cursed.* luck(stone)?($| )" = "red&bold";
|
||||
" cursed.* unicorn horn" = "red&bold";
|
||||
" cursed.* (Bell of Opening|silver bell|Candelabrum of Invocation|candelabrum|Book of the Dead|papyrus spellbook)" = "red&bold";
|
||||
"cursed tins? .* spinach|tins? .* spinach .* (cursed|C($| ))" = "red";
|
||||
" load(stone)?($| )" = "red&underline";
|
||||
" bag .* tricks" = "blue&underline";
|
||||
" wand .*[^!]canc" = "blue&underline";
|
||||
" wand .* vanish" = "blue&underline";
|
||||
" gold piece" = "yellow";
|
||||
" valuable" = "brown";
|
||||
" gems? .* hard" = "yellow";
|
||||
" ([0-9]+|an?|gems? .*) (uncursed |cursed |blessed )?(dilithium|opal|garnet|jasper|agate|jet|obsidian|jade|citrine|chrysoberyl|amber|amethyst|fluorite|turquoise)(e?s)?( stones?| gems?| crystals?)?( named .*)?$" = "brown";
|
||||
" ([0-9]+|an?|gems?.*) (uncursed |cursed |blessed )?(diamond|rub(y|ies)|jacinth|sapphire|black opal|emerald|topaz|aquamarine)(e?s)?( stones?| gems?)?( named .*)?$" = "yellow";
|
||||
" 0%" = "white";
|
||||
" [1-9]%" = "cyan";
|
||||
" [12][0-9]%" = "cyan";
|
||||
" [3-6][0-9]%" = "yellow";
|
||||
" 7[0-5]%" = "yellow";
|
||||
" 7[6-9]%" = "orange";
|
||||
" 8[0-9]%" = "orange";
|
||||
" 9[0-9]%" = "red";
|
||||
" 100%" = "red";
|
||||
"[a-zA-Z ]+ [0-9]\\* [a-z]+ +[0-9]+%" = "magenta";
|
||||
"^ +[a-z -]+ +\\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\\]$" = "grey";
|
||||
"^ *[a-z] - +[a-z -]+ +\\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\\]$" = "white";
|
||||
"^ +\\* +[a-z -]+ +\\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\\]$" = "white";
|
||||
"^ +# +[a-z -]+ +\\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\\]$" = "grey";
|
||||
" is empty. Do what?" = "grey";
|
||||
"Put something into .*" = "grey";
|
||||
"Take something out of .*" = "grey";
|
||||
"unicorn horn.*(Unskilled|Basic|Skilled|Expert)" = "grey";
|
||||
"Info on what a given key does." = "grey";
|
||||
"Full list of keyboard commands." = "grey";
|
||||
"altkeyhandler" = "grey";
|
||||
"fruit.*\\[" = "grey";
|
||||
};
|
||||
};
|
||||
|
||||
firefox = {
|
||||
enable = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user