v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Editing Category talk:DF2012:Incomplete butchering returns
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
− | |||
I think it's possible to calculate butchering returns from the raws, rather than observing it empirically. | I think it's possible to calculate butchering returns from the raws, rather than observing it empirically. | ||
Line 34: | Line 32: | ||
for k, part in pairs (parts) do | for k, part in pairs (parts) do | ||
for k2, layer in pairs (part.layers) do | for k2, layer in pairs (part.layers) do | ||
− | layerHold[layer.layer_name] = (layerHold[layer.layer_name] or 0) + (layer.unk2*part.relsize | + | layerHold[layer.layer_name] = (layerHold[layer.layer_name] or 0) + (layer.unk2*part.relsize/part.unk2) |
end | end | ||
end | end | ||
Line 56: | Line 54: | ||
for k, part in pairs (parts) do | for k, part in pairs (parts) do | ||
for k2, layer in pairs (part.layers) do | for k2, layer in pairs (part.layers) do | ||
− | layerHold[layer.layer_name] = (layerHold[layer.layer_name] or 0) + (layer.unk2*part.relsize | + | layerHold[layer.layer_name] = (layerHold[layer.layer_name] or 0) + (layer.unk2*part.relsize/part.unk2) |
end | end | ||
end | end | ||
Line 62: | Line 60: | ||
printall(layerHold)</pre> | printall(layerHold)</pre> | ||
(This assumes no variation in body plan between the different castes of a species, which will not be true for, e.g., moose).--[[User:Zzedar|Zzedar]] ([[User talk:Zzedar|talk]]) 07:48, 29 April 2013 (UTC) | (This assumes no variation in body plan between the different castes of a species, which will not be true for, e.g., moose).--[[User:Zzedar|Zzedar]] ([[User talk:Zzedar|talk]]) 07:48, 29 April 2013 (UTC) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |