Module:Block value: Difference between revisions
mNo edit summary |
m Undo revision 1424217 by Magiczocker (talk) |
||
| Line 22: | Line 22: | ||
seagrass = true | seagrass = true | ||
} | } | ||
if type~=" | if type~="Blast resistance" and not keepS[block:match( '%w+$' )] then | ||
block = block:gsub( 's$', '' ) | block = block:gsub( 's$', '' ) | ||
end | end | ||
-- Other transforms | -- Other transforms | ||
if type~=" | if type~="Blast resistance" then | ||
block = block | block = block | ||
:gsub( 'wooden', 'wood' ) | :gsub( 'wooden', 'wood' ) | ||