Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Clothing - Un-hardcode clothing's attachment to body parts  (Read 654 times)

leafbarrett

  • Bay Watcher
  • Resident pokemon fanboy
    • View Profile
    • Mewtwo mod
Clothing - Un-hardcode clothing's attachment to body parts
« on: June 28, 2016, 01:49:38 pm »

First off, I'd like to preface this with the acknowledgement that yes, this will only be meaningful to modders, and yes, it's most likely work that Toady won't feel is worth the effort, but by god, if there's a suggestion forum then I'm going to use it on the off chance that it actually gets read.

As a modder, one thing that's bugging me is that a body part must have a [STANCE] token to wear boots and - more importantly - must not have [STANCE] to not wear boots; the case is similar for gloves and [GRASP]. I tried to make a creature with wings that keep it upright without letting it fly, and the game stuck boots on the wings; I tried to make it so that the creature could only use those wings to stay upright, and now they can't wear shoes, despite having feet. A creature with grasping tentacles sticks gloves on the tentacles.
What I am suggesting is, how do I word this... Move the definition for clothing's target body parts out of hardcoding and into the raws. This way, modders - and Toady for that matter - could pick the desired body part for clothing to be worn on. This would fix one thing in the current game, at least - Toady mentions in the raws for greaves that "this item doesn't make much sense right now, but there aren't any item types you can tie on to your legs yet", in reference to the fact that greaves are meant to be worn on the shins, rather than the thighs. This change would make it simple to target the shins, rather than having to hardcode a new category of clothing for that to occur.
Logged
Quote from: leafbarrett
Quote
They can do whatever the heck they want. That's why they are nobles, cause they CAN.
King Henry the IV or something had a lot of wives, most of whom he executed. Because he could.
A ton of them mass-murdered Jews and Muslims. CAUSE THEY COULD.
A roman emperor made his horse a noble, cause he could.
And I modded them all out of existence, because I could.
sig text

peasant cretin

  • Bay Watcher
  • [MEANDERER][GNAWER]
    • View Profile
Re: Clothing - Un-hardcode clothing's attachment to body parts
« Reply #1 on: June 29, 2016, 12:15:23 am »

^This please.

Modding 15th century armor would make a bit more sense. Right now you can rename greaves "plate leg harness" or "plate leggings" but that feels clunky like wearing a comforter as a winter coat. Same thing for arm armor. The current gauntlet is the metal glove plus the vambrace. The real world gauntlet doesn't really cover the forearm.

This addition would just provide for all sorts on interesting things.
Logged