Talk:Clothing: Difference between revisions
m (→Power armor section: some clarifications, just in case) |
(→New parameters for existing and new entries: new section) |
||
Line 9: | Line 9: | ||
--[[User:Kenoxite|Kenoxite]] ([[User talk:Kenoxite|talk]]) 01:09, 6 June 2013 (PDT) | --[[User:Kenoxite|Kenoxite]] ([[User talk:Kenoxite|talk]]) 01:09, 6 June 2013 (PDT) | ||
== New parameters for existing and new entries == | |||
Due to the new way things are calculated and new parameters found in armor.json, this whole page should be revised and new items correctly inputted from now on. | |||
Bash and cut protection isn't defined in the items themselves, but they're calculated based on their material composition and thickness. | |||
There's also a new "coverage" parameter. | |||
=== For the entries on this page === | |||
'''Examples''' | |||
Socks should be updated from this: | |||
<nowiki>{{row/{{PAGENAME}}|socks|70|100|C_SHOES|COTTON|null|1|1|-5|0|0|0|0|0|10|0|mfb(bp_feet) | |||
|"Socks. Put 'em on your feet."}}</nowiki> | |||
to this (notice the new coverage and thickness parameters): | |||
<nowiki>{{row/{{PAGENAME}}|socks|70|100|C_SHOES|COTTON|null|1|1|-5|0|0|0|0|0|10|0|mfb(bp_feet) | |||
|"Socks. Put 'em on your feet."|coverage=80|thickness=1}}</nowiki> | |||
Although they aren't used anymore, the old bash and cut protection values can be left as is. In any case, if you don't want them to be theredelete their values, but don't delete the parameters themselves. | |||
I mean, you can do this (notice the protection values are deleted and being left empty): | |||
<nowiki>{{row/{{PAGENAME}}|socks|70|100|C_SHOES|COTTON|null|1|1|-5|0|0|||0|10|0|mfb(bp_feet) | |||
|"Socks. Put 'em on your feet."|coverage=80|thickness=1}}</nowiki> | |||
'''but do not do this''' (notice the protection parameters have been totally removed): | |||
<nowiki>{{row/{{PAGENAME}}|socks|70|100|C_SHOES|COTTON|null|1|1|-5|0|0|0|10|0|mfb(bp_feet) | |||
|"Socks. Put 'em on your feet."|coverage=80|thickness=1}}</nowiki> | |||
All this is because of the way the row template is reading the parameters. Instead of using named ones (such as the new thickness and coverage) it relies on the position they are passed. If you remove them, then the count is altered, and any parameter after them will be read wrong. This is legacy from the old Whales wiki, from which this page was originally ported, tweaked and expanded upon. Eventually, this will be streamlined one way or another (if anybody is up for it, go ahead!) but, as of now, that's the way we must do things, as confusing as they might be. | |||
=== For the standalone item pages === | |||
These parameters aren't needed anymore (as they're auto-calculated based on materials and thickness): bashprotect, cutprotect | |||
And these are needed now: thickness, coverage | |||
As before, you can leave the bashprotect and cutprotect parameters there, but they won't be used. Unlike the row entries, here you are free to delete them if you want to. | |||
See [[kevlar vest]], [[leather jacket]] and [[flotation vest]] for examples. | |||
--[[User:Kenoxite|Kenoxite]] ([[User talk:Kenoxite|talk]]) 05:08, 1 October 2013 (PDT) |
Revision as of 12:08, 1 October 2013
Power armor section
The original description was written as if someone like this guy was explaining this whole power armor thing to grunts. Seeing that this was clearly military gear created used by military personnel I thought it was both fitting and fun. It was intended to be both humorous and informative.
But first after the removal of the hints, that helped expand and clarify the tone and purpose of this whole joke and now with the latest rewrite, I don't think this section works anymore. The tone is all over the place and the humorous intent is diluted and extremely unclear, which leads to even more confusion.
TBH I rather have the whole text in the power armor description section streamlined with the rest of the wiki (so, aseptic and purely descriptive) than what we have now.
EDIT: I just wanted to clarify that this is nothing personal, neither from my part nor towards KA101's edit. I just was trying to explain why I think it worked before and IMO it doesn't now. And, as I said, I think the better course of action would be to simply streamline this section "for the greater good" and to simplify further edits.
--Kenoxite (talk) 01:09, 6 June 2013 (PDT)
New parameters for existing and new entries
Due to the new way things are calculated and new parameters found in armor.json, this whole page should be revised and new items correctly inputted from now on.
Bash and cut protection isn't defined in the items themselves, but they're calculated based on their material composition and thickness.
There's also a new "coverage" parameter.
For the entries on this page
Examples
Socks should be updated from this:
{{row/{{PAGENAME}}|socks|70|100|C_SHOES|COTTON|null|1|1|-5|0|0|0|0|0|10|0|mfb(bp_feet) |"Socks. Put 'em on your feet."}}
to this (notice the new coverage and thickness parameters):
{{row/{{PAGENAME}}|socks|70|100|C_SHOES|COTTON|null|1|1|-5|0|0|0|0|0|10|0|mfb(bp_feet) |"Socks. Put 'em on your feet."|coverage=80|thickness=1}}
Although they aren't used anymore, the old bash and cut protection values can be left as is. In any case, if you don't want them to be theredelete their values, but don't delete the parameters themselves.
I mean, you can do this (notice the protection values are deleted and being left empty):
{{row/{{PAGENAME}}|socks|70|100|C_SHOES|COTTON|null|1|1|-5|0|0|||0|10|0|mfb(bp_feet) |"Socks. Put 'em on your feet."|coverage=80|thickness=1}}
but do not do this (notice the protection parameters have been totally removed):
{{row/{{PAGENAME}}|socks|70|100|C_SHOES|COTTON|null|1|1|-5|0|0|0|10|0|mfb(bp_feet) |"Socks. Put 'em on your feet."|coverage=80|thickness=1}}
All this is because of the way the row template is reading the parameters. Instead of using named ones (such as the new thickness and coverage) it relies on the position they are passed. If you remove them, then the count is altered, and any parameter after them will be read wrong. This is legacy from the old Whales wiki, from which this page was originally ported, tweaked and expanded upon. Eventually, this will be streamlined one way or another (if anybody is up for it, go ahead!) but, as of now, that's the way we must do things, as confusing as they might be.
For the standalone item pages
These parameters aren't needed anymore (as they're auto-calculated based on materials and thickness): bashprotect, cutprotect
And these are needed now: thickness, coverage
As before, you can leave the bashprotect and cutprotect parameters there, but they won't be used. Unlike the row entries, here you are free to delete them if you want to.
See kevlar vest, leather jacket and flotation vest for examples.