Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Can I specify a tile to be used for rough gems?  (Read 572 times)

Ironhand

  • Bay Watcher
  • the llama is laughing
    • View Profile
Can I specify a tile to be used for rough gems?
« on: July 27, 2010, 08:14:52 am »

I tried [ITEM_SYMBOL:], which works for ores and stuff,
but it doesn't seem to work for gems... what am I doing wrong?
Logged

Ironhand

  • Bay Watcher
  • the llama is laughing
    • View Profile
Re: Can I specify a tile to be used for rough gems?
« Reply #1 on: July 27, 2010, 11:00:17 am »

Has anybody accomplished this? The wiki page on tilesets indicates it should be possible...

Does anybody know of a graphics set that uses a tile other than ☼ for rough gems?
Logged

Zeidrich

  • Bay Watcher
    • View Profile
Re: Can I specify a tile to be used for rough gems?
« Reply #3 on: July 27, 2010, 06:05:12 pm »

I'm pretty certain that you can not.  I tried to figure out all the tile stuff today, and this is what I got.

[TILE:] is used for workshop definitions, and INORGANIC objects (Stone, soil, rough clusters, plaster etc)
[ITEM_SYMBOL:] is used for INORGANIC objects, to define the shape of BOULDERs that are created from their material.

[CREATURE_TILE:] is used for CREATUREs
[ALTTILE:] is used for CREATUREs with multiple alternating tiles.
[GLOWTILE:] is used for CREATUREs glowing in the dark

[SHRUB_TILE:] is used for PLANTs
[DEAD_SHRUB_TILE:] is used for PLANTs
[PICKED_TILE:] is used for PLANTs
[TREE_TILE:] and [DEAD_TREE_TILE:] are used for PLANTs who have the TREE attribute defined.
[SAPLING_TILE:] and [DEAD_SAPLING_TILE:] presumably are as well, but aren't used in the default raws.

Everything I can see tells me that there's no way to change it at all, especially not per type of gem.  Even if I make a custom gem like:

[OBJECT:ITEM]

[ITEM_ROUGH:ITEM_ROUGH_ROCK]
[NAME:rock:rocks]
[TILE:'%']

It sill has the ☼.  The same if I use any other tile-related token from the string dump.  I'd guess that ROUGH types are just going to be 15 until something changes to make it an exception.

As far as I can tell, the only Item Tokens you can make tile changes to are:
BUILDING (New custom buildings only)
INORGANIC
BOULDER (via INORGANIC)
CREATURE
PLANT

In fact, if you were to make a reaction like:
Code: [Select]
[REACTION:MAKE_GEM_BOULDER]
[NAME:make gem boulder]
[BUILDING:SOAP_MAKER:CUSTOM_B]
[REAGENT:A:1:ROUGH:NONE:NONE:NONE]
[PRODUCT:100:1:BOULDER:NONE:GET_MATERIAL_FROM_REAGENT:A:NONE]
[SKILL:MASON]

It would give you a boulder made out of the gem which would use the tile that you specified in the base material.  But that is definitely tied to boulders only.
Logged

Ironhand

  • Bay Watcher
  • the llama is laughing
    • View Profile
Re: Can I specify a tile to be used for rough gems?
« Reply #4 on: July 27, 2010, 06:44:05 pm »

My doubts are confirmed. Alas.

Well, thanks for the answer anyway.
Logged

WormSlayer

  • Bay Watcher
    • View Profile
    • WormSlayer.com
Re: Can I specify a tile to be used for rough gems?
« Reply #5 on: July 31, 2010, 05:26:14 pm »

Is it just me or does PICKED_TILE tag for plants not do anything?
Logged

ChickenLips

  • Bay Watcher
    • View Profile
PICKED_TILE tag
« Reply #6 on: July 31, 2010, 06:09:33 pm »

Just tested it, and verified that it seems to be working for me.  I'm definitely getting the PICKED_TILE when the plant is harvested, isntead of the pre-harvest SHRUB_TILE.  (Haven't yet tested it in actual farming -- this is only for plant gathering -- because I never paid attention to that before, and for some reason I seem to have made the entire Farming labor category unavailable in my test setup right now...  :-\ .)
Logged
Do not meddle in the affairs of chickens, for you are crunchy and taste like a good seedgrain.

(You are not a seedgrain?  Of course, you and I know that very well.  But does the chicken know it?)

dree12

  • Bay Watcher
    • View Profile
Re: PICKED_TILE tag
« Reply #7 on: July 31, 2010, 06:35:30 pm »

Just tested it, and verified that it seems to be working for me.  I'm definitely getting the PICKED_TILE when the plant is harvested, isntead of the pre-harvest SHRUB_TILE.  (Haven't yet tested it in actual farming -- this is only for plant gathering -- because I never paid attention to that before, and for some reason I seem to have made the entire Farming labor category unavailable in my test setup right now...  :-\ .)
Known bug. Modding out 1 thing in a category makes the entire category go poof.
Logged

ChickenLips

  • Bay Watcher
    • View Profile
Re: Can I specify a tile to be used for rough gems?
« Reply #8 on: July 31, 2010, 06:43:47 pm »

Good to know.  Thanks, dree -- that made it a lot easier to spot and fix.
Logged
Do not meddle in the affairs of chickens, for you are crunchy and taste like a good seedgrain.

(You are not a seedgrain?  Of course, you and I know that very well.  But does the chicken know it?)