Bay 12 Games Forum

Dwarf Fortress => DF Modding => Topic started by: Deon on May 04, 2008, 03:02:00 pm

Title: Reactions questions
Post by: Deon on May 04, 2008, 03:02:00 pm
Well, the only question for now is how to represent a glass in reactions.

i.e.
[REAGENT:1:GEM:NO_SUBTYPE:STONE:GLASS_GREEN] <- what's wrong here, can you write me the right material and object tokens for glass.

Title: Re: Reactions questions
Post by: Sparksol on May 04, 2008, 08:50:00 pm
I'd suggest [REAGENT:1:ROUGH:NO_SUBTYPE:GEM:GLASS_GREEN] for raw, uncut glass.

Or [REAGENT:1:SMALLGEM:NO_SUBTYPE:GEM:GLASS_GREEN] if you're planning on cut glass.

Or if you're using a glass block, [REAGENT:1:BLOCKS:GLASS_CLEAR:NO_MATGLOSS] should work.

Title: Re: Reactions questions
Post by: Dragromblue on May 04, 2008, 09:02:00 pm
this is what I use for large green glass.

[REAGENT:1:GEM:NO_SUBTYPE:GLASS_GREEN:LARGE_GREEN_GLASS]
and this one for clear glass.
[REAGENT:1:GEM:NO_SUBTYPE:GLASS_CLEAR:LARGE_CLEAR_GLASS]

I have not used these, but they should work.
for gems that can be used to decorate
[REAGENT:1:SMALLGEM:NO_SUBTYPE:GLASS_GREEN:LARGE_GREEN_GLASS]
for blocks
[REAGENT:1:BLOCKS:NO_SUBTYPE:GLASS_GREEN:LARGE_GREEN_GLASS]

Title: Re: Reactions questions
Post by: Pickerel on May 07, 2008, 09:30:00 pm
For me, and I have tested these at length, my reference to 'raw green glass' is accomplished thus:

[REAGENT:1:ROUGH:NO_SUBTYPE:GLASS_GREEN:NO_MATGLOSS]

[PRODUCT:100:1:ROUGH:NO_SUBTYPE:GLASS_GREEN:NO_MATGLOSS]

If you want a cut gem, it would be similar, but replace ROUGH with SMALLGEM.  And so forth.  Green Glass acts like a material, like 'wood' or 'stone', but is specific enough because there is only one type of Green Glass.  As I explained elsewhere, the code shown here refers to 'any rough gem so long as it is made of green glass', whereas the code that uses GEM where GLASS_GREEN is was refering to 'any rough gem under the type gem with the matgloss of green glass' but would require a gem to be made called Green Glass or something, and would not be considered green glass as the material it is made out of anymore by the code.  Said another way, The way above makes, specifically, a rough gem of the material Green Glass (which is what you make when you make 'raw green glass' as the glass furnace), while the other method makes a rough gem of the material gem named green glass.  That is only correct if you are using regular gems.

[ May 07, 2008: Message edited by: Pickerel ]

Title: Re: Reactions questions
Post by: Deon on May 08, 2008, 12:18:00 pm
Thank you, I was a bit unsure and had no examples to look at.
I'lltry all versions to figure out what do I need more.
Thank you for the ROUGH part, I haven't tested it yet and worked with GEMs.