#(cyrulean) Replicating a firework

18 messages · Page 1 of 1 (latest)

sharp slate
#

https://meta.denizenscript.com/Docs/Mechanisms/itemtag.firework
So the documentation states that:

Each item in the list can be any of the following:
1: Comma-separated effect data in the format: TRAIL,FLICKER,TYPE,RED,GREEN,BLUE,RED,GREEN,BLUE
For example: true,false,BALL,255,0,0,0,255,0 would create a trailing ball firework that fades from red to green.
2: A MapTag, with "type", "color", "fade_color", "trail", and "flicker" keys.
For example: [type=ball;color=red;fade_color=green;trail=true;flicker=false]
3: A single number, to set the power. 

But although this:

firework_rocket[firework=<list[true,false,BALL,255,0,0,255,255,0|true,false,BALL,0,255,0,0,255,255]>]
works, when I try to replace the comma-separated effect data with a map tag, only the first effect in the list is used
Is this a bug or am I doing something wrong?

    - spawn <context.location> firework[firework_item=<item[firework_rocket].with[firework=<list[
          <map[type=ball;color=red;fade_color=green;trail=true;flicker=false]>
          |
          <map[type=ball;color=blue;fade_color=green;trail=true;flicker=false]>
      ]>]>;firework_lifetime=1t;silent=true]

I added newlines for readability, the actual code is 1 line

Is this a bug, or am I doing it wrong?

thorny oxideBOT
#

(cyrulean) Replicating a firework

thorny oxideBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

runic bronze
sharp slate
#

i uhh

sharp slate
#

the issue is still unfixed

runic bronze
#

looks like after updating to latest dev build, the original issue was resolved. see if it does the same to you

agile cloakBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please type </resolved:1028673926114594866> to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@sharp slate