Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Unusual Eggs  (Read 2047 times)

EmperorJon

  • Bay Watcher
  • Still waiting...
    • View Profile
Unusual Eggs
« on: April 03, 2011, 01:36:16 pm »

Ok, I can get how to lay an item such as a chair or something, and I've even got a creature item. How would I go about making a creature material named... what it is? If you get what I mean...

[LAYS_UNUSUAL_EGGS:EGG:CREATURE:DWARF:CREATURE_MAT:DWARF:*MATERIAL*]

Shouldn't that create a dwarf egg made of the *material*, assuming the material was defined before hand?
How would I do that again? ;P
And if so, what could you put instead of EGG if I don't want it to be... and egg... or an item... just the raw material.
Logged
I think it's the way towns develop now. In the beginning, people move into a town. Then they start producing tables, which results in more and more tables. Soon tables represent a significant portion of the population, they start lobbying for new laws and regulations, putting people to greater and greater disadvantage...
Link for full quote. 'tis mighty funny.

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: Unusual Eggs
« Reply #1 on: April 03, 2011, 01:43:47 pm »

I"m not sure what you're trying to do here, but I'm pretty sure it won't work.

LAYS_UNUSUAL_EGGS uses the format:

[LAYS_UNUSUAL_EGGS:(item token):(item subtype):(material token):(material subtype)]

Item tokens and subtypes are defined here:

http://df.magmawiki.com/index.php/DF2010:Item_token

Material tokens and subtypes are defined here:

http://df.magmawiki.com/index.php/DF2010:Material_token

So for example, if you want a creature to lay gold nuggets, you use:

[LAYS_UNUSUAL_EGGS:STONE:NO_SUBTYPE:INORGANIC:NATIVE_GOLD]

If you want it to lay rough emeralds, use:

[LAYS_UNUSUAL_EGGS:ROUGH:NO_SUBTYPE:INORGANIC:EMERALD]

or bars of adamantine:

[LAYS_UNUSUAL_EGGS:BAR:NO_SUBTYPE:INORGANIC:ADAMANTINE]
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.

GaxkangtheUnbound

  • Bay Watcher
  • To the skies!
    • View Profile
Re: Unusual Eggs
« Reply #2 on: April 04, 2011, 10:59:52 am »

I do believe that he is trying to have something lay dwarf eggs.
Logged
Proud of my heritage.
Prepare to lose your sanity.

Aramco

  • Bay Watcher
    • View Profile
Re: Unusual Eggs
« Reply #3 on: April 04, 2011, 02:29:11 pm »

I do believe that he is trying to have something lay dwarf eggs.

Really? I thought he was trying to make them lay actual Dwarves.
Logged
Or maybe there's a god who's just completely insane and sends you to Detroit, Michigan in a new body if you ever utter the name "Pat Sajak".

GaxkangtheUnbound

  • Bay Watcher
  • To the skies!
    • View Profile
Re: Unusual Eggs
« Reply #4 on: April 04, 2011, 06:41:38 pm »

I do believe that he is trying to have something lay dwarf eggs.

Really? I thought he was trying to make them lay actual Dwarves.
Trying to lay actual dwarves would probably result in itemized dwarves.
Imagine the trade menu. "I'll give five dwarves for that +Pig Tail Fiber Sock+!"
Logged
Proud of my heritage.
Prepare to lose your sanity.

Aramco

  • Bay Watcher
    • View Profile
Re: Unusual Eggs
« Reply #5 on: April 04, 2011, 06:43:07 pm »

I do believe that he is trying to have something lay dwarf eggs.

Really? I thought he was trying to make them lay actual Dwarves.
Trying to lay actual dwarves would probably result in itemized dwarves.
Imagine the trade menu. "I'll give five dwarves for that +Pig Tail Fiber Sock+!"

Imagine the Elves' faces when you buy off all of their cloth in exchange for itemized elves...
Logged
Or maybe there's a god who's just completely insane and sends you to Detroit, Michigan in a new body if you ever utter the name "Pat Sajak".

ragnarok97071

  • Bay Watcher
  • /人 ◕ ‿‿ ◕人\
    • View Profile
Re: Unusual Eggs
« Reply #6 on: April 04, 2011, 06:47:56 pm »

...

You mean other than the obvious 'yum' look?
Logged
Quote from: Wing, via Discord
I want a coat that doesn't make me look like a rear admiral from the East India Company

Aramco

  • Bay Watcher
    • View Profile
Re: Unusual Eggs
« Reply #7 on: April 04, 2011, 06:49:08 pm »

...

You mean other than the obvious 'yum' look?

Of course, I figured that one was implied.
Logged
Or maybe there's a god who's just completely insane and sends you to Detroit, Michigan in a new body if you ever utter the name "Pat Sajak".