Does the sub-type field actually have a use, or is the only option "NO_SUBTYPE"?
Anyway, the USE_RACEGLOSS for the matgloss field seems to only work for some (built-in?) materials. For example, the [Treants] use the entry:
code:
[HAS_RACEGLOSS:WOOD]
[ITEMCORPSE:WOOD:NO_SUBTYPE:WOOD:USE_RACEGLOSS]
However, when using a custom matgloss file, this functionality stops working, and treants (and there ITEMCORPSE remains) are undescriptive. I've tried creating a ''matgloss_treant.txt'' file and adding a few unique entries, like [MATGLOSS_WOOD:FOOBAR_TREE] and [MATGLOSS_WOOD:BAZ_TREE], and editing the Treant to:
code:
[HAS_RACEGLOSS:TREANT]
[ITEMCORPSE:WOOD:NO_SUBTYPE:WOOD:USE_RACEGLOSS]
code:
[HAS_RACEGLOSS:TREANT]
[ITEMCORPSE:WOOD:NO_SUBTYPE:WOOD:FOOBAR_TREE]
Is it possible to create a custom matgloss file that will select random materials for my creatures, so it works like the default Treants do?
-I'm not sure about that second part.
[ April 08, 2008: Message edited by: Untelligent ]
edit: re: second field
It is most commonly left NO_SUBTYPE, but there are a few things - weapons and armor, for instance - that it's used in. WEAPON:ITEM_HAMMER:METAL:NO_MATGLOSS and such (or METAL:BRONZE if you wanted a bronze hammer specifically). But most things don't use that subtype field.
[ April 08, 2008: Message edited by: nunix ]
Im just playing around, and it doesn't seem to work?
[ITEMCORPSE:SEEDS:NO_SUBTYPE:PLANT:BERRY_SUN]
Will it work even if I use it on a butcherable animal?
[ May 19, 2008: Message edited by: RC ]