Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Getting monsters to drop things on death  (Read 1058 times)

Hishan

  • Bay Watcher
  • [ALCOHOL_DEPENDANT]
    • View Profile
Getting monsters to drop things on death
« on: August 05, 2008, 04:52:18 pm »

How do I get anything to drop something on death?
Logged

KaelGotDwarves

  • Bay Watcher
  • [CREATURE:FIRE_ELF]
    • View Profile
Re: Getting monsters to drop things on death
« Reply #1 on: August 05, 2008, 08:37:18 pm »

from wiki- Example - massive cheating and spoilers ahead!


If you wanted masterworked adamantine chainmail

Code: [Select]
    [ITEMCORPSE:ARMOR:ITEM_ARMOR_CHAINMAIL:METAL:ADAMANTINE]
    [ITEMCORPSE_QUALITY:5]
Check  http://www.dwarffortresswiki.net/index.php/Item_tokens for a better explanation of different tags you can use to get different items dropped.

Note that this is applied to the creature raw.

Hishan

  • Bay Watcher
  • [ALCOHOL_DEPENDANT]
    • View Profile
Re: Getting monsters to drop things on death
« Reply #2 on: August 06, 2008, 02:49:30 am »

Oh thanks, I was looking in creature tokens, wondered why I couldnt find it. Normally its me shouting at people for not using the wiki  :P
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Getting monsters to drop things on death
« Reply #3 on: August 06, 2008, 05:50:04 am »

And to avoid some confusion:  you can have just 1 itemcorpse per creature.
Also you can make it to drop random item from the specified type/of random material.
I always like random drop. It's sad that you can't get random quality.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

GoreTaco

  • Bay Watcher
  • Actually a brain in a jar
    • View Profile
Re: Getting monsters to drop things on death
« Reply #4 on: August 06, 2008, 07:37:50 am »

I could imagine butchering a cow and getting an adamantine statue.  :o
Logged
"Who's John Galt?"

Ubersoldat

  • Bay Watcher
    • View Profile
Re: Getting monsters to drop things on death
« Reply #5 on: August 06, 2008, 07:54:01 am »

I could imagine butchering a cow and getting an adamantine statue.  :o

You really got to pay attention to what those cows are being fed, then.
Logged