{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreigcowquk6crtuuzj7vvuhtdwhl7rftambzzsimtmj2fnvmujjalfq",
    "uri": "at://did:plc:smtxv63bbm7vxyzdgcztykuk/app.bsky.feed.post/3mhpc4gmpi5k2"
  },
  "path": "/viewtopic.php?p=450193#p450193",
  "publishedAt": "2026-03-22T19:18:37.000Z",
  "site": "https://forum.luanti.org",
  "tags": [
    "Isao"
  ],
  "textContent": "Another question : the azaleas are a very nice addition but only one color seems to appear in the world, which is the basic pink azalea.\nWhy is that ? I guess it is related to the fact that they are not registered the same way :\n- the basic pink one is called just \"azalea\"\n- while the other ones are called \"azalea__color_ \"\nKnowing next to nothing about coding, I really don't undestand how to use this _name ~= \"\" and \"_\" .. name or \"\"_. :\"/\n\n\nCode:\n\n\n    local function register_azalea() local azaleas = {\"\", \"autum\", \"blue\", \"orange\", \"green\", \"red\", \"rouse\"} for _, name in ipairs(azaleas) do local node_name = \"beautiflowers:azalea\" .. (name ~= \"\" and \"_\" .. name or \"\") local texture = \"azalea\" .. (name ~= \"\" and \"_\" .. name or \"\") .. \".png\"\n\nIs there a reason why the basic azalea is not called \"azalea_pink\" like the others, so that the code could fit any color equally ?\nBy the way, I just noticed that the \"azalea_high\" texture doesn't even appear in the code. ;)\n\n\nStatistics: Posted by Isao — Sun Mar 22, 2026 19:18\n\n* * *",
  "title": "WIP Mods • Re: [mod] Beautiful flowers [beautiflowers]",
  "updatedAt": "2026-03-22T19:18:37.000Z"
}