Talk:Torso

From The Cataclysm: Dark Days Ahead Wiki
Revision as of 07:09, 8 October 2013 by Kenoxite (talk | contribs)
Jump to navigation Jump to search

Wet protection via warmth

I think the threshold for a torso item protecting the wearer from rain is 72. 36 for drizzles. Unless I'm wrong the 35 warmth bit could do with replacing/removing. --Grizzlyadamz (talk) 21:03, 7 October 2013 (PDT)-


Ok. TBH I'm not sure, as I haven't checked all the wet/hazard protection seriously yet. If you're sure about it you can change it yourself in the warmth template: Template:Clothingwarmth.

The relevant bit is at the end: {{#ifexpr: {{{1}}} >= 50 and (2={{#ifeq:{{{2|}}}|torso|2|0}} or 3={{#ifeq:{{{3|}}}|torso|3|0}} or 4={{#ifeq:{{{4|}}}|torso|4|0}} or 5={{#ifeq:{{{5|}}}|torso|5|0}} or 6={{#ifeq:{{{6|}}}|torso|6|0}} or 7={{#ifeq:{{{7|}}}|torso|7|0}} or 8={{#ifeq:{{{8|}}}|torso|8|0}} or 9={{#ifeq:{{{9|}}}|torso|9|0}})|. Its warmth can also protect you from getting [[wet]]}}

All that does is to check if warmth (the passed variable, {{{1}}}) is equal or bigger than 50, and if the item has the torso flag placed in any position. You should only need to change the 50 part.

BTW, you don't need to give yourself more work than it's worth by reordering the items in the lists. The lists themselves can be actually ordered by just pressing the little arrows besides each column title.

--Kenoxite (talk) 00:09, 8 October 2013 (PDT)