Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upGives the hoodie a hood! #3570
Conversation
This comment has been minimized.
This comment has been minimized.
|
Will a player be able to put on an unfitted hoodie while still wearing a helmet? If not, I would suggest doing something similar to how pockets are handled; add a hood flag, check for head encumbrance. If encumbrance is too high (1 or 2, I forget what is the limit), then the player "takes the hood down" and loses its warmth bonus. |
This comment has been minimized.
This comment has been minimized.
|
Yea that'd be ideal, I'm starting to think that clothes should have two warmth values, an upper and lower bound, and it picks the ideal value within that span. Similarly if you have a hood or pocket flag, the lower bound for that body part is set to 0 since you can remove it entirely. |
This comment has been minimized.
This comment has been minimized.
|
I can take a shot at it, but with my limited coding ability, I can't promise anything. |
This comment has been minimized.
This comment has been minimized.
|
kevin, wouldn't those two warmth values be covered by the "homeostasis calculation" in bodytemp? If you're cold, you get a boost in warmth. Or do you mean something else? |
This comment has been minimized.
This comment has been minimized.
|
I think he means giving each article of clothing a range of warmth to better represent that the insulation granted by a piece of clothing isn't an immutable thing, and allowing people to do stuff like wear a cotton hat on a hot day without its fixed warmth rating causing you to suffer heatstroke. |
This comment has been minimized.
This comment has been minimized.
|
Yea, there's one range that represents the body's ability to regulate itself, this would be a range that represents your ability to consciously alter how you wear your clothes for the same effect. It also varies based on the type of clothing, a jacket you can unbutton or unzip and mostly rid yourself of the warmth, but a sweatshirt you pretty much have to take off to avoid the warmth. Similarly pants wouldn't be very adjustable unless they had a special feature. |
This comment has been minimized.
This comment has been minimized.
|
I think that sounds great! Unfortunately it's so far beyond my abilities that all I can offer at this point is words of support. |
Rivet-the-Zombie
closed this
Oct 11, 2013
This comment has been minimized.
This comment has been minimized.
|
Well, I'd suggest that copying Shoes' code for Pockets seems the best solution. If head encumbrance is 0 and temp is Cold, you get the warmth bonus from the hoodie. (That way, people don't insist on hood-up in Summer.) |
Rivet-the-Zombie commentedOct 11, 2013
No description provided.