Jump to content

The @ format?


Frepo

Recommended Posts

I noticed in e.g. painting.json the following:

shapebytype: {
        "@painting-(lastday|sodhouse)-.*": { base: "block/wood/painting2x1", rotateYByType: { "*-north": 180, "*-east": 90, "*-south": 0, "*-west": 270 } },
        "*": { base: "block/wood/painting1x1", rotateYByType: { "*-north": 180, "*-east": 90, "*-south": 0, "*-west": 270 } }
 },

is this the same as:

shapebytype: {
        "painting-sodhouse-.*": { base: "block/wood/painting2x1", rotateYByType: { "*-north": 180, "*-east": 90, "*-south": 0, "*-west": 270 } },
        "painting-lastday-.*": { base: "block/wood/painting2x1", rotateYByType: { "*-north": 180, "*-east": 90, "*-south": 0, "*-west": 270 } },
        "*": { base: "block/wood/painting1x1", rotateYByType: { "*-north": 180, "*-east": 90, "*-south": 0, "*-west": 270 } }
 },

or is there anything more to it (other than being a convenient way of reducing the number of lines)?

Link to comment
Share on other sites

  • 4 weeks later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.