Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: ITEMCORPSE and creating new creatures  (Read 502 times)

Mead

  • Escaped Lunatic
    • View Profile
ITEMCORPSE and creating new creatures
« on: December 29, 2006, 01:08:00 am »

I'm trying to add a gem creature to the game. Looking at the wiki and here, I see plenty of entries for creatures similar to the colossus that leave behind statues, but I can't find anything on something like this.

The entries I'm wondering about are:
[ITEMCORPSE] and [MATERIAL].

I've been trying
[HAS_RACEGLOSS:GEM]
[ITEMCORPSE:GEM:RUBY:GEM:USE_RACEGLOSS]

and

[HAS_RACEGLOSS:GEM]
[ITEMCORPSE:GEM:NO_SUBTYPE:GEM:USE_RACEGLOSS]
[MATERIAL:RUBY:GEM]

But haven't had any luck -- all that ends up is a creature that drops a "large gem" and not a ruby, like I'm trying to have it do.
Since I obviously am not getting it, what exactly are these values that I'm messing around with, and how can I get this to work?

Logged

ctrlfrk

  • Bay Watcher
    • View Profile
Re: ITEMCORPSE and creating new creatures
« Reply #1 on: December 29, 2006, 01:53:00 am »

http://www.bay12games.com/cgi-local/ultimatebb.cgi?ubb=get_topic&f=2&t=000744

should have all the info you need. You want like, GEM_PRECIOUS for rubys

Logged

Mead

  • Escaped Lunatic
    • View Profile
Re: ITEMCORPSE and creating new creatures
« Reply #2 on: December 29, 2006, 05:42:00 am »

Still not having any luck. Trying multiple combinations of itemcorpse, has_racegloss, has_matgloss, material, and others and I just can't seem to get the thing to spawn. Looking at that other thread, it seems like I shouldn't be using a subtype, but don't I pretty much have to to get a ruby? Currently all I can get to drop is a rough turquoise with

[ITEMCORPSE:ROUGH:NO_SUBTYPE:GEM_PRECIOUS:NO_MATGLOSS]

and variations on that, including subbing in RUBY for NO_SUBTYPE and NO_MATGLOSS.

Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: ITEMCORPSE and creating new creatures
« Reply #3 on: January 07, 2007, 04:49:00 pm »

I think only wood raceglosses are supported right now.  There's a lot that needs to be done before ITEMCORPSE works for creatures that have materials other than the ones that already occur as creatures.  Gems, cloth and other materials with subtypes won't work yet.
Logged
The Toad, a Natural Resource:  Preserve yours today!