Change internal flower names

Separate color and shape ID with underscores in case we add
more colors, shapes, etc. in the future, since we've used up
all the single digit color IDs already.
This commit is contained in:
Aaron Suen 2021-07-01 18:53:04 -04:00
parent fe546416dd
commit bfc018c612

View File

@ -27,7 +27,7 @@ local colors = {
{name = "Black", color = "202020"},
}
local function flowername(shapeid, colorid)
return string_format("%s:flower%d%d", modname, shapeid, colorid)
return string_format("%s:flower_%d_%d", modname, shapeid, colorid)
end
for shapeid = 1, #shapes do