Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Custom building labour.  (Read 681 times)

Lofn

  • Bay Watcher
  • There was a hole.
    • View Profile
    • Tumblr
Custom building labour.
« on: April 04, 2010, 11:43:21 am »

Okay, I'm at my wit's ends here.  Does anyone know what token I use in [BUILD_LABOR:X] in the custom building raws to make it buildable by stonecrafters?  I've tried STONECRAFTER, STONECRAFTING and plain old STONECRAFT, and looked through the string dump, but I can't seem to get it working.
Logged
Also known as Zuhayr.

RocketGarden

  • Escaped Lunatic
    • View Profile
Re: Custom building labour.
« Reply #1 on: April 04, 2010, 12:24:47 pm »

STONECRAFTER seems to be the proper name ( from [PERMITTED_JOB:STONECRAFTER] in entity-default)

Perhaps the problem lies somewhere else?
Logged

Lofn

  • Bay Watcher
  • There was a hole.
    • View Profile
    • Tumblr
Re: Custom building labour.
« Reply #2 on: April 04, 2010, 12:45:38 pm »

The only error I'm getting in the errorlog is saying that STONECRAFTER isn't a recognized token. :/
Logged
Also known as Zuhayr.

profit

  • Bay Watcher
  • Finely Crafted Engravings... Or it didn't happen.
    • View Profile
Re: Custom building labour.
« Reply #3 on: April 04, 2010, 01:06:02 pm »

A bunch of labors are just plain broken.   I am betting though you forgot to add

Code: [Select]
[PERMITTED_BUILDING:YOUR_BUILDING]
in the entity_default.txt file

Also in that file is a list of all valid labor names... But CHEESE_MAKER is kinda broken, and I assume others probably are as well.

Logged
Mods and the best utilities for dwarf fortress
Community Mods and utilities thread.

Lofn

  • Bay Watcher
  • There was a hole.
    • View Profile
    • Tumblr
Re: Custom building labour.
« Reply #4 on: April 04, 2010, 01:15:12 pm »

Nope, all the building and reaction permits are in order, and the building is built fine, but it takes 'any labour' and the errorlog spews up an OH GOD WRONG TOKEN error.

I'll just leave it be for now I guess.  Thanks!
Logged
Also known as Zuhayr.

RocketGarden

  • Escaped Lunatic
    • View Profile
Re: Custom building labour.
« Reply #5 on: April 10, 2010, 06:02:19 pm »

Looks like job names and skill names are different. STONECRAFT is the name of the skill/labor.

Here's a list of all the labor names (stolen from another thread):
Spoiler (click to show/hide)


Logged

Eagle0600

  • Bay Watcher
  • Highly Confused
    • View Profile
Re: Custom building labour.
« Reply #6 on: April 11, 2010, 06:33:22 am »

SOAP_MAKER only appears once in the string dump, along with STONE_CRAFT and STONECRAFTER. Hope that helps.
« Last Edit: April 11, 2010, 06:35:06 am by Eagle0600 »
Logged
GENERATION 21:The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Custom building labour.
« Reply #7 on: April 11, 2010, 06:56:16 am »

There's a modding guide by Shaostoul:
http://www.bay12games.com/forum/index.php?topic=52947.0

It has all the skills and labours.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository