Module:Block value: Difference between revisions

mNo edit summary
mNo edit summary
Line 22: Line 22:
seagrass = true
seagrass = true
}
}
if type~="Blast resistance" and not keepS[block:match( '%w+$' )] then
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~="Blast resistance" then
     if type~="blast resistance" then
block = block
block = block
:gsub( 'wooden', 'wood' )
:gsub( 'wooden', 'wood' )