#(doxaaaa) efficienter way of getting items from data script ( server flagged items )

9 messages · Page 1 of 1 (latest)

sinful cedar
#

is there a better way to grab item from a data script, rather than typing <script[server_stored_items].data_key[plasma_guard_boots].parsed> each time

I have 1 universal data script ( server_stored_items )
then server loot pools, as shown in the extract below

        plasma_guard_boots:
            amount: 1
            item_data: <script[server_stored_items].data_key[plasma_guard_boots].parsed>
            chance: 5
twilit jasperBOT
#

(doxaaaa) efficienter way of getting items from data script ( server flagged items )

twilit jasperBOT
#

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.

sonic meadow
#

flags

#
script_name:
  ...
  data:
    food:
      favorites:
        - lasagna
        - tacos
      meh:
        - sal-ads

can be used like this, too:

- define food <script[script_name].parsed_key[data.food]>
- narrate "favorites<&co> <[food.favorites].comma_separated>"```
scarlet quarry
#

(also note its use of parsed_key

sinful cedar
#

Ah ye i should of formatted it that way in the first place