Colours in inventory [0.10, Ubuntu]


Problems running or configuring the software, commands & options, compiling, different platforms, using the interface, documentation, etc.

Snake Sneak

Posts: 116

Joined: Saturday, 18th December 2010, 11:32

Post Sunday, 26th February 2012, 14:11

Colours in inventory [0.10, Ubuntu]

I've recently migrated to Ubuntu and want to check out the newest version of Crawl (ascii version). I've started by getting it installed via apt-get from crawl Debian repository, but it turned out to only be 0.8 version. Not dismayed much, I changed my approach and compiled the source of 0.10 branch from Git crawl repository. It works, however it has issues - items in the inventory don't have colourful names, just all grey (no colour-coding corpses or anything). Is there anything I could do about it?

Spider Stomper

Posts: 243

Joined: Sunday, 28th August 2011, 14:04

Post Monday, 27th February 2012, 14:08

Re: Colours in inventory [0.10, Ubuntu]

Have you copied init.txt to ~/.crawlrc or ~/.crawl/init.txt?

That file should contain a section like this:
  Code:
#####          Colours (messages and menus) #####
#
# menu_colour_prefix_class = false
# menu_colour_shops = false

# Food is colour coded in standard_colours.txt as follows:
include = standard_colours.txt
#
#   yellow     = preferred food                    ($preferred)
#   darkgrey   = cannot be eaten at all            ($inedible)
#   lightred   = causes rot                        ($rot-inducing)
#   magenta    = dangerous to use, mutagenic       ($dangerous, $mutagenic)
#   red        = considered "evil" by your deity   ($evil)
#   lightgreen = poisonous                         ($poisonous)
#   brown      = contaminated, may cause sickness  ($contaminated)
#
# You can change colours by using something like
# $contaminated := magenta

include = food_colouring.txt

# There is elaborate colouring of items in the inventory (and other menus)
# depending on their usefulness, taking species and other criteria into account.
include = menu_colours.txt

# Colouring of autoinscribed god gifts
menu_colour = pickup:green:god gift

# Highlight (partly) selected items
menu_colour = inventory:white:\w \+\s
menu_colour = inventory:white:\w \#\s

# Colouring of messages
# Messages are colour coded in standard_colours.txt as follows:
#
#   lightred   = really important messages  ($danger)
#   yellow     = significant messages       ($warning)
#   lightred   = item damaged/destroyed     ($item_dmg [same as $danger])
#   darkgrey   = boring, message clutter    ($boring)
#
include = messages.txt

# Colouring for the notes
menu_colour = notes:white:Reached XP level


For this message the author CommanderC has received thanks:
zasvid

Snake Sneak

Posts: 116

Joined: Saturday, 18th December 2010, 11:32

Post Monday, 27th February 2012, 14:22

Re: Colours in inventory [0.10, Ubuntu]

I have previously copied init.txt to ~/.crawlrc, but now I tried copying it to ~/crawl/init.txt and it works! Thanks a lot :)

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 10 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.