Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Custom race refuses to carry out dig/woodcutting orders  (Read 1177 times)

StLeibowitz

  • Bay Watcher
  • [NOT_CENTAUR]
    • View Profile
Custom race refuses to carry out dig/woodcutting orders
« on: July 17, 2013, 09:25:49 pm »

A custom race I've made refuses to cut down trees or dig. They have the proper tools to do so, they have the proper jobs permitted in their entity, their ethics don't conflict with the actions (ETHIC:KILL_STONE:ACCEPTABLE), they have the intelligent and equips tokens in their creature raws - yet they refuse to even pick up the tools to do the job. No errorlog generated from this, either.

The relevant raws (entity, creature, tools), if they're any help:

Spoiler (click to show/hide)

Context, if this helps at all: I'm building my own personal version of DF upon the ashes of the old raws, since I now know how thanks to the experience I got in DFFS. I never encountered this issue there, despite using the exact same pickaxe tool for the formics. Please help :(
Logged
Generally, when one is conducting an experiment, it is worth noting that the observers went insane, killed each other, and then rose from the dead.
It's like DF inhaled a peanut.

TheDarkStar

  • Bay Watcher
    • View Profile
Re: Custom race refuses to carry out dig/woodcutting orders
« Reply #1 on: July 17, 2013, 09:57:50 pm »

First, the [DIGGER:<item>] tag seems to be missing. Second, make sure you made their bodies right. Embark with some fishermen, and if they refuse to fish because they are too injured, the problem is that their bodies are not built right. I think there's a tag that lets you ignore that, though.
Logged
Don't die; it's bad for your health!

it happened it happened it happen im so hyped to actually get attacked now

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Custom race refuses to carry out dig/woodcutting orders
« Reply #2 on: July 17, 2013, 10:04:07 pm »

First, the [DIGGER:<item>] tag seems to be missing. Second, make sure you made their bodies right. Embark with some fishermen, and if they refuse to fish because they are too injured, the problem is that their bodies are not built right. I think there's a tag that lets you ignore that, though.

He does have the [DIGGER:ITEM_WEAPON_PICK] it's at the bottom under the [WEAPON:ITEM_WEAPON_<>]

do they have feet?
Logged

StLeibowitz

  • Bay Watcher
  • [NOT_CENTAUR]
    • View Profile
Re: Custom race refuses to carry out dig/woodcutting orders
« Reply #3 on: July 17, 2013, 10:11:14 pm »

They have feet, aye. Nobody keels over on embark, everyone can breathe just fine, they've all got eyes and hands, and I've thoroughly tested them in both arena and adventure mode to make sure there's no incompetence-caused extinction-level errors. My adventurer wields weapons well enough to kill werewolves twice his size, too, so I know they can hold their axes  :-\

Body raws:
Code: [Select]
[BODY:HUMANOID_FRAME]
[BP:UB:chest:STP][UPPERBODY][CATEGORY:BODY_UPPER]
[DEFAULT_RELSIZE:350]
[BP:LB:abdomen:STP][LOWERBODY][CON:UB][CATEGORY:BODY_LOWER]
[DEFAULT_RELSIZE:350]
[BP:NECK:neck:STP][CON:UB][CATEGORY:NECK][CONNECTOR]
[DEFAULT_RELSIZE:50]
[BP:HD:head:STP][HEAD][CON:NECK][CATEGORY:HEAD]
[DEFAULT_RELSIZE:100]
[BP:RUA:right upper arm:STP][CON:UB][RIGHT][LIMB][CATEGORY:ARM]
[DEFAULT_RELSIZE:175]
[BP:RLA:right lower arm:STP][CON:RUA][RIGHT][LIMB][CATEGORY:ARM]
[DEFAULT_RELSIZE:175]
[BP:LUA:left upper arm:STP][CON:UB][RIGHT][LIMB][CATEGORY:ARM]
[DEFAULT_RELSIZE:175]
[BP:LLA:left lower arm:STP][CON:LUA][RIGHT][LIMB][CATEGORY:ARM]
[DEFAULT_RELSIZE:175]
[BP:RUL:right upper leg:STP][CON:UB][RIGHT][LIMB][CATEGORY:LEG]
[DEFAULT_RELSIZE:175]
[BP:RLL:right lower leg:STP][CON:RUL][RIGHT][LIMB][CATEGORY:LEG]
[DEFAULT_RELSIZE:175]
[BP:RF:right foot:STP][RIGHT][STANCE][CON:RLL][CATEGORY:FOOT]
[DEFAULT_RELSIZE:100]
[BP:LUL:left upper leg:STP][CON:UB][RIGHT][LIMB][CATEGORY:LEG]
[DEFAULT_RELSIZE:175]
[BP:LLL:left lower leg:STP][CON:LUL][RIGHT][LIMB][CATEGORY:LEG]
[DEFAULT_RELSIZE:175]
[BP:LF:left foot:STP][LEFT][STANCE][CON:LLL][CATEGORY:FOOT]
[DEFAULT_RELSIZE:100]

[BODY:SKELETON_BASIC]
[BP:RIBS:rib cage:STP][CON_CAT:BODY_UPPER][INTERNAL][SMALL][SKELETON][CATEGORY:SKELETON]
[DEFAULT_RELSIZE:350]
[BP:USPINE:upper spine:STP][CON_CAT:BODY_UPPER][NERVOUS][SMALL][INTERNAL][SKELETON][CATEGORY:SPINE]
[DEFAULT_RELSIZE:100]
[BP:LSPINE:lower spine:STP][CON_CAT:BODY_LOWER][NERVOUS][SMALL][INTERNAL][CONNECTOR][SKELETON][CATEGORY:SPINE]
[DEFAULT_RELSIZE:100]
[BP:SKULL:skull:STP][INTERNAL][SMALL][CONTYPE:HEAD][SKELETON][TOTEMABLE][CATEGORY:SKELETON]
[DEFAULT_RELSIZE:100]

[BODY:HUMANOID_FACE]
[BP:FACE:face:STP][SMALL][CON:HD][CATEGORY:FACE]
[DEFAULT_RELSIZE:100]
[BP:MOUTH:mouth:STP][CON:FACE][EMBEDDED][APERTURE][MOUTH][CATEGORY:MOUTH]
[DEFAULT_RELSIZE:40]
[BP:TEETH:teeth:teeth][CON:MOUTH][SOCKET][SMALL][CATEGORY:TEETH]
[DEFAULT_RELSIZE:30]
[BP:R_EYE:right eye:STP][EMBEDDED][CON:FACE][SIGHT][RIGHT][CATEGORY:EYE]
[DEFAULT_RELSIZE:10]
[BP:L_EYE:left eye:STP][EMBEDDED][CON:FACE][SIGHT][LEFT][CATEGORY:EYE]
[DEFAULT_RELSIZE:10]
[BP:R_EAR:right ear:STP][CON:HD][RIGHT][HEAR][CATEGORY:EAR]
[DEFAULT_RELSIZE:30]
[BP:L_EAR:left ear:STP][CON:HD][LEFT][HEAR][CATEGORY:EAR]
[DEFAULT_RELSIZE:30]
[BP:NOSE:nose:STP][SMELL][CON:FACE][CATEGORY:NOSE]
[DEFAULT_RELSIZE:13]

[BODY:HUMANOID_ORGANS]
[BP:BRAIN:brain:STP][THOUGHT][SMALL][INTERNAL][CONTYPE:HEAD][CATEGORY:BRAIN]
[DEFAULT_RELSIZE:100]
[BP:HEART:heart:STP][CON:UB][CIRCULATION][SMALL][INTERNAL][CATEGORY:ORGAN]
[DEFAULT_RELSIZE:75]
[BP:L_LUNG:left lung:STP][CON:UB][LEFT][BREATHE][SMALL][INTERNAL][CATEGORY:ORGAN]
[DEFAULT_RELSIZE:100]
[BP:R_LUNG:right lung:STP][CON:UB][RIGHT][BREATHE][SMALL][INTERNAL][CATEGORY:ORGAN]
[DEFAULT_RELSIZE:100]
[BP:GUTS:guts:STP][CON:LB][SMALL][INTERNAL][GUTS][UNDER_PRESSURE][CATEGORY:ORGAN]
[DEFAULT_RELSIZE:150]
[BODY:2HANDS_5FINGERS]
[BP:RH:right hand:STP][RIGHT][GRASP][CON:RLA][CATEGORY:HAND]
[DEFAULT_RELSIZE:100]
[BP:RH1F:first finger, right hand:STP][RIGHT][DIGIT][CON:RH][CATEGORY:FINGER]
[DEFAULT_RELSIZE:20]
[BP:RH2F:second finger, right hand:STP][RIGHT][DIGIT][CON:RH][CATEGORY:FINGER]
[DEFAULT_RELSIZE:20]
[BP:RH3F:third finger, right hand:STP][RIGHT][DIGIT][CON:RH][CATEGORY:FINGER]
[DEFAULT_RELSIZE:20]
[BP:RH4F:fourth finger, right hand:STP][RIGHT][DIGIT][CON:RH][CATEGORY:FINGER]
[DEFAULT_RELSIZE:20]
[BP:RHT:thumb, right hand:STP][RIGHT][DIGIT][CON:RH][CATEGORY:FINGER]
[DEFAULT_RELSIZE:20]
[BP:LH:left hand:STP][LEFT][GRASP][CON:LLA][CATEGORY:HAND]
[DEFAULT_RELSIZE:100]
[BP:LH1F:first finger, left hand:STP][LEFT][DIGIT][CON:LH][CATEGORY:FINGER]
[DEFAULT_RELSIZE:20]
[BP:LH2F:second finger, left hand:STP][LEFT][DIGIT][CON:LH][CATEGORY:FINGER]
[DEFAULT_RELSIZE:20]
[BP:LH3F:third finger, left hand:STP][LEFT][DIGIT][CON:LH][CATEGORY:FINGER]
[DEFAULT_RELSIZE:20]
[BP:LH4F:fourth finger, left hand:STP][LEFT][DIGIT][CON:LH][CATEGORY:FINGER]
[DEFAULT_RELSIZE:20]
[BP:LHT:thumb, left hand:STP][LEFT][DIGIT][CON:LH][CATEGORY:FINGER]
[DEFAULT_RELSIZE:20]

EDIT: Additionally, I made one a carpenter, had him disassemble the wagon, and built a workshop from those logs. So, that works.
« Last Edit: July 17, 2013, 10:18:52 pm by StLeibowitz »
Logged
Generally, when one is conducting an experiment, it is worth noting that the observers went insane, killed each other, and then rose from the dead.
It's like DF inhaled a peanut.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Custom race refuses to carry out dig/woodcutting orders
« Reply #4 on: July 17, 2013, 10:55:07 pm »

At first I was gonna point to your weapons (pick, axe) for the two_handed size but then my brain derped as that is not the issue, however I think you need [APPLY_CURRENT_CREATURE_VARIATION] after all those creature variation calls. Not 100% sure, not not be "the" issue but it's "an" issue lol.

do you have your entire raws zipped and uploaded so I may tinker around and find the issue first hand?

EDIT:
Because this is a really strange issue.
Logged

StLeibowitz

  • Bay Watcher
  • [NOT_CENTAUR]
    • View Profile
Logged
Generally, when one is conducting an experiment, it is worth noting that the observers went insane, killed each other, and then rose from the dead.
It's like DF inhaled a peanut.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Custom race refuses to carry out dig/woodcutting orders
« Reply #6 on: July 17, 2013, 11:42:03 pm »

I know so far the errorlog is throwing an hissy fit about random stuff, which mainly points to material_template_shutupdf but even doing some minor fixes (like removing dupe objects) they still won't pickup equipment.

Figured it out:

   [BODY_SIZE:0:0:4000]
   [BODY_SIZE:1:168:17500]
   [BODY_SIZE:10:32000]
   [BODY_SIZE:16:70000]

you are missing the DAYS parameter, so it's basically saying:

at YEAR 10 DAY 32000 SIZE ??

add a :0 in there like

Code: [Select]
[BODY_SIZE:0:0:4000]
[BODY_SIZE:1:168:17500]
[BODY_SIZE:10:0:32000]
[BODY_SIZE:16:0:70000]

and give it a shot
Logged

StLeibowitz

  • Bay Watcher
  • [NOT_CENTAUR]
    • View Profile
Re: Custom race refuses to carry out dig/woodcutting orders
« Reply #7 on: July 18, 2013, 12:19:10 am »

...

*slow facepalm*

I had the feeling it was something minor. Thanks, man. All works perfectly now.
Logged
Generally, when one is conducting an experiment, it is worth noting that the observers went insane, killed each other, and then rose from the dead.
It's like DF inhaled a peanut.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Custom race refuses to carry out dig/woodcutting orders
« Reply #8 on: July 18, 2013, 12:30:14 am »

no problem, surpised I didn't see it in your first post. Probably cause it was a ton of numbers and kinda glazed over it (brain probably assumed they were all perfect copy and pastes)

yeah Cause I knew from you saying that you could embark with picks and axes it wasn't an entity problem.

But them not picking the weapons up would be:

lacking [EQUIPS]
too small
no hands (but you would get spammed with too injured)

and you pretty much have two [EQUIPS] from the standard of having the token and the creature variance (which i'm still sure you need to add that [APPLY_CURRENT_CREATURE_VARIATION] ) and good luck with your mod, looks interesting.
Logged