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:
parent
fe546416dd
commit
bfc018c612
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user