| 1 | = Villager (Merchant) Attributes = |
| 2 | |
| 3 | Villager attributes extend from the more general ''mob attributes''. Visit [wiki:mobs mob attributes] for information on this ''base type''. |
| 4 | |
| 5 | ||= Name =||= Type =||= Description =|| |
| 6 | ||`profession`||[#villagerprofession villager profession]||The general profession of the villager, determines what the villager looks like|| |
| 7 | ||`career`||[#villagercareer villager career]||The current career of the villager, determines what sort of offers are available for trade|| |
| 8 | ||`offers`||list of [#villageroffer villager offer]||The list of offers available for trade, defines the items offered and item(s) accepted as currency in exchange|| |
| 9 | |
| 10 | == villager profession == |
| 11 | * `farmer` |
| 12 | * `librarian` - |
| 13 | * `priest` - Magical and potion items |
| 14 | * `blacksmith` - Metallurgy and metal-working items |
| 15 | * `butcher` - Meat and livestock-related |
| 16 | * `generic` - No special profession |
| 17 | * `igor` - A special ''Mad Martian Mod'' exclusive Halloween mob with a custom skin that looks sort of like a Zombie |
| 18 | * `tzevee` - A special ''Mad Martian Mod'' exclusive Jewish villager who runs a Mikvah mini-game |
| 19 | * `hemda` - A special ''Mad Martian Mod'' exclusive Jewish villager who runs the inn next to Tzevee's Mikvah game |
| 20 | |
| 21 | == villager career == |
| 22 | * `none` - No particular trades |
| 23 | * `farmer` - Crops |
| 24 | * `fisherman` - Fish |
| 25 | * `shepherd` - ??? |
| 26 | * `fletcher` - ??? |
| 27 | * `librarian` - Currency, books, music discs, and tuning crystals (I think) |
| 28 | * `cleric` - ??? |
| 29 | * `armorer` - Metallurgy |
| 30 | * `weapons` - Weapons I suppose |
| 31 | * `tools` - Tools I suppose |
| 32 | * `butcher` - Meat and livestock |
| 33 | * `leather` - Leather I guess |
| 34 | |
| 35 | == villager offer == |
| 36 | These define the offers available for trade, a set of three [wiki:olivine/dsl/types/item item] [wiki:olivine/dsl/types/bundle bundle] |
| 37 | |
| 38 | ||= Name =||= Type =||= Description =|| |
| 39 | ||`buy1`||`item bundle`||The first item bundle that is taken as currency in exchange for this offer|| |
| 40 | ||`buy2`||`item bundle`||The second item bundle that is taken as currency in exchange for this offer, this is optional and can be omitted if there should be only one to trade|| |
| 41 | ||`sell`||`item bundle`||The item bundle the villager is offering|| |