Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Non-vampiric dwarven variable tooth size?  (Read 700 times)

Mr.Gnorts

  • Escaped Lunatic
    • View Profile
Non-vampiric dwarven variable tooth size?
« on: June 21, 2020, 02:33:34 am »

Hello all you modders out there!
I'm attempting my first mod, which is to include variable tooth size into the game for dwarves, and possibly all playable races if I can get it to work on the dwarves.

I found it frustrating that no dwarves and other races seemed to have the common human feature of having small teeth but tall gums.
I know that DF currently doesn't have gums yet, so I'm going to focus on the teeth for now.

Ideally, I'd want to add a variable for size, but if need be, height could be used to describe the height of the teeth in relation to the gums. I don't want to use length, as that is already used for vampires, and I do not feel it accurately describes or implies the tooth/gum ratio idea.

Unfortunately, when I edit the raws to add BP_APPEARANCE_MODIFIER:HEIGHT, it causes the game to crash on embark, even when I wipe my saves and start a new world.

Here's the troublesome code:


   [SET_BP_GROUP:BY_CATEGORY:TOOTH]
      [BP_APPEARANCE_MODIFIER:GAPS:0:70:90:100:110:130:200]
         [APP_MOD_NOUN:teeth:PLURAL]
      [BP_APPEARANCE_MODIFIER:HEIGHT:0:70:90:100:110:130:200]
         [APP_MOD_NOUN:teeth:PLURAL]
      [BP_APPEARANCE_MODIFIER:LENGTH:100:100:100:100:100:100:100] for vampires
         [APP_MOD_IMPORTANCE:1000]
         [APP_MOD_NOUN:teeth:PLURAL]
         [APP_MOD_DESC_RANGE:30:60:90:110:150:190]

Does anyone have any insights?
Thanks!
Logged