Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for name, fd in pairs(FeatureDefs) do
- if(tonumber(fd["footprintz"]) <= 5 or tonumber(fd["footprintx"]) <= 5
- or string.lower(fd["category"]) == "vegitation" or string.lower(fd["category"]) == "vegetation") then
- fd["blocking"] = false
- if (not fd.customParams) then
- fd.customParams = {}
- end
- if (not fd.customParams.provide_cover) then
- fd.customParams.provide_cover = 1
- Spring.Echo("Feature["..name.."] is providing cover!")
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement