Skript

Skript

743k Downloads

Item Builder Section

erenkarakal opened this issue ยท 4 comments

commented

Suggestion

A section that allows you to build an item.

new %itemtype% [stored in %-objects%]:
  name: "&chello"
  lore:
    "A"
    "B"
  enchantments:
    sharpness 10
give [the] [last] item to player

Why?

While this doesn't exactly fit Skript's purpose of making an English programming language, it removes the need of storing the item in a variable and spamming sets every line. Using 50 expressions in 1 line doesn't end well either.

Other

In my opinion Skript should have more builders like SecSpawn and this is a good place to start.

Agreement

  • I have read the guidelines above and affirm I am following them with this suggestion.
commented

i thought about that but i didnt think you could make expression sections

Fixing this would be a good place to start.

commented

that would be cool to have!

commented

I think this kind of shatters Skript central conceit of a clause per line into dust. I'd rather see something more like the spawn effect section:

Set {_i} to a diamond sword:
    enchant item with unbreaking 3
    set name of item to "test"

Etc

commented

I think this kind of shatters Skript central conceit of a clause per line into dust. I'd rather see something more like the spawn effect section:

Set {_i} to a diamond sword:
    enchant item with unbreaking 3
    set name of item to "test"

Etc

i thought about that but i didnt think you could make expression sections