Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Trade prefrences  (Read 815 times)

Naes Draw

  • Bay Watcher
  • She likes modding for their customizability.
    • View Profile
Trade prefrences
« on: January 20, 2010, 04:41:55 pm »

Hello everyone!

I've started messing around with modding in DF, and have a question.

Is there a way to get a Civ to prefer certain trade goods over others? Like glass objects, or gems? I don't see anything, but I wasn't sure.

Thanks!
Logged
[CREATURE:CAT]
   [NAME:sena cat:sena cat:sena cat]
   [INTELLIGENT] [MISCHIEVOUS] [FEMALE]
   [PREFSTRING:craziness]
   [SHOES:ITEM_SHOES_SHOES:UNCOMMON]
   [PERMITTED_JOB:MODDER]

3

  • Bay Watcher
    • View Profile
Re: Trade prefrences
« Reply #1 on: January 20, 2010, 04:52:03 pm »

Unfortunately you can't really have any say over specific preferences at the moment. I'm sure you already know that you can specify which types of goods they'll make and how those goods are improved (via the ITEM_IMPROVEMENT_MODIFIER tags), but you won't be able to come up with anything more specific than metal/stone/wood via METAL_PREF/STONE_PREF/WOOD_PREF.
Logged

Naes Draw

  • Bay Watcher
  • She likes modding for their customizability.
    • View Profile
Re: Trade prefrences
« Reply #2 on: January 20, 2010, 05:20:26 pm »

Don't those PREF tokens mean they are more likely to bring them? I had a [GEM_PREF] and they brought a jewelry store worth. Unless that's normal. It was my first trade visit.
Logged
[CREATURE:CAT]
   [NAME:sena cat:sena cat:sena cat]
   [INTELLIGENT] [MISCHIEVOUS] [FEMALE]
   [PREFSTRING:craziness]
   [SHOES:ITEM_SHOES_SHOES:UNCOMMON]
   [PERMITTED_JOB:MODDER]

3

  • Bay Watcher
    • View Profile
Re: Trade prefrences
« Reply #3 on: January 20, 2010, 05:25:36 pm »

Ah, sorry, forgot about GEM_PREF. Yes, it does kinda work like that, in the sense that the _PREF tags affect to a more or less degree what the civ makes, but you can't really have that much control over it - WOOD_PREF will make all goods and weapons/solid armour wood, regardless of other tags, STONE_PREF does a few things I can't remember, METAL_PREF makes them use the most expensive metal, and such. It's all a bit indistinct.
Logged

sunshaker

  • Bay Watcher
    • View Profile
Re: Trade prefrences
« Reply #4 on: January 20, 2010, 05:32:42 pm »

Generally the _PREF allow the race in question to bring the items for trade, if a civ use them, and to like them in their description (Urist likes silver, diamonds, obsidian and dogs; Elf likes Ash and cats; Human likes horses; Goblin likes Microcline).

Dwarves have STONE_PREF, METAL_PREF, GEM_PREF
Elves have WOOD_PREF
Humans have no _PREF
Goblins have STONE_PREF
Logged

3

  • Bay Watcher
    • View Profile
Re: Trade prefrences
« Reply #5 on: January 20, 2010, 05:35:19 pm »

and to like them in their description

I've not heard of that before.
Logged

Naes Draw

  • Bay Watcher
  • She likes modding for their customizability.
    • View Profile
Re: Trade prefrences
« Reply #6 on: January 20, 2010, 09:05:42 pm »

That's still useful to know. Thank you!
Logged
[CREATURE:CAT]
   [NAME:sena cat:sena cat:sena cat]
   [INTELLIGENT] [MISCHIEVOUS] [FEMALE]
   [PREFSTRING:craziness]
   [SHOES:ITEM_SHOES_SHOES:UNCOMMON]
   [PERMITTED_JOB:MODDER]