Date: 2023/05/06 06:16:27 UTC-07:00
Type: Denizen Script
le_script:
type: world
events:
after server start:
- while <player.world.spawn_location.chunk.is_loaded>:
- run the_particles def:<player.location.world.spawn_location.y.add[20]>|FLAME|1|0
- wait 10s
the_particles:
type: task
definitions: location|particle|frequency|rotation
script:
- define shape <list[-4.7560976,0.8536585,0|-4.5121951,0.8536585,0|-4.2682927,0.8536585,0|-3.5365854,0.8536585,0|-2.5609756,0.8536585,0|-1.8292683,0.8536585,0|-1.5853659,0.8536585,0|-1.3414634,0.8536585,0|-0.3658537,0.8536585,0|-0.1219512,0.8536585,0|0.1219512,0.8536585,0|0.8536585,0.8536585,0|1.097561,0.8536585,0|1.3414634,0.8536585,0|1.5853659,0.8536585,0|1.8292683,0.8536585,0|2.3170732,0.8536585,0|2.5609756,0.8536585,0|2.804878,0.8536585,0|3.0487805,0.8536585,0|3.2926829,0.8536585,0|3.7804878,0.8536585,0|4.7560976,0.8536585,0|-5,0.6097561,0|-4.0243902,0.6097561,0|-3.5365854,0.6097561,0|-2.5609756,0.6097561,0|-2.0731707,0.6097561,0|-1.097561,0.6097561,0|-0.6097561,0.6097561,0|0.3658537,0.6097561,0|1.8292683,0.6097561,0|2.3170732,0.6097561,0|3.7804878,0.6097561,0|4.0243902,0.6097561,0|4.7560976,0.6097561,0|-5,0.3658537,0|-3.5365854,0.3658537,0|-3.2926829,0.3658537,0|-3.0487805,0.3658537,0|-2.804878,0.3658537,0|-2.5609756,0.3658537,0|-2.0731707,0.3658537,0|-1.8292683,0.3658537,0|-1.5853659,0.3658537,0|-1.3414634,0.3658537,0|-1.097561,0.3658537,0|-0.6097561,0.3658537,0|0.3658537,0.3658537,0|1.5853659,0.3658537,0|2.3170732,0.3658537,0|2.5609756,0.3658537,0|2.804878,0.3658537,0|3.7804878,0.3658537,0|4.2682927,0.3658537,0|4.7560976,0.3658537,0|-5,0.1219512,0|-3.5365854,0.1219512,0|-2.5609756,0.1219512,0|-2.0731707,0.1219512,0|-1.097561,0.1219512,0|-0.6097561,0.1219512,0|0.3658537,0.1219512,0|1.3414634,0.1219512,0|2.3170732,0.1219512,0|3.7804878,0.1219512,0|4.5121951,0.1219512,0|4.7560976,0.1219512,0|-5,-0.1219512,0|-3.5365854,-0.1219512,0|-2.5609756,-0.1219512,0|-2.0731707,-0.1219512,0|-1.097561,-0.1219512,0|-0.6097561,-0.1219512,0|0.3658537,-0.1219512,0|1.097561,-0.1219512,0|2.3170732,-0.1219512,0|3.7804878,-0.1219512,0|4.7560976,-0.1219512,0|-5,-0.3658537,0|-4.0243902,-0.3658537,0|-3.5365854,-0.3658537,0|-2.5609756,-0.3658537,0|-2.0731707,-0.3658537,0|-1.097561,-0.3658537,0|-0.6097561,-0.3658537,0|0.3658537,-0.3658537,0|0.8536585,-0.3658537,0|2.3170732,-0.3658537,0|3.7804878,-0.3658537,0|4.7560976,-0.3658537,0|-4.7560976,-0.6097561,0|-4.5121951,-0.6097561,0|-4.2682927,-0.6097561,0|-3.5365854,-0.6097561,0|-2.5609756,-0.6097561,0|-2.0731707,-0.6097561,0|-1.097561,-0.6097561,0|-0.3658537,-0.6097561,0|-0.1219512,-0.6097561,0|0.1219512,-0.6097561,0|0.8536585,-0.6097561,0|1.097561,-0.6097561,0|1.3414634,-0.6097561,0|1.5853659,-0.6097561,0|1.8292683,-0.6097561,0|2.3170732,-0.6097561,0|2.5609756,-0.6097561,0|2.804878,-0.6097561,0|3.0487805,-0.6097561,0|3.2926829,-0.6097561,0|3.7804878,-0.6097561,0|4.7560976,-0.6097561,0|]>
- define delay <element[1].div[<[frequency]>].as[duration].in_ticks>t
- repeat <[frequency]>:
- foreach <[shape]> as:vec:
- playeffect at:<[location].relative[<[vec]>]> effect:<[particle]> offset:0.0
- wait <[delay]>