#(Steve) Adding definitions to Inventory script containers via inventory command

1 messages · Page 1 of 1 (latest)

primal coral
#

Im requesting this feature, so that you can transfer definitions to inventory scripts, similar to normal task scripts

cold cedarBOT
#

(Steve) Adding definitions to Inventory script containers via inventory command

cold cedarBOT
#

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>

primal coral
#

for example for procedual items that are always diffrent, depending on where its used, but its the same inventory script

#

there is ofc another way to do it, by adjusting the inventory after its opened. but this would be a halpful feature still

proper thornBOT
#
Changed to Feature

Thread is now a Feature thread. This indicates a request for a new feature to the plugin, that both (A) does not already exist and (B) reasonably can be added. If you are unsure whether this applies, use </helpthread:1028674284870180883> to change back to a normal help thread.

civic breach
#

you can easily create a procedure (or task) for that tho

#

!c inventory

crude dockBOT
# civic breach !c inventory
Group

item

Syntax

inventory [open/close/copy/move/swap/set/keep/exclude/fill/clear/update/adjust <mechanism>:<value>/flag <name>(:<action>)[:<value>] (expire:<time>)] (destination:<inventory>) (origin:<inventory>/<item>|...) (slot:<slot>)

Short Description

Edits the inventory of a player, NPC, or chest.

Description

Use this command to edit the state of inventories.
By default, the destination inventory is the current attached player's inventory.

If you are copying, swapping, removing from (including via "keep" and "exclude"), adding to, moving, or filling inventories,
you'll need both destination and origin inventories.

Origin inventories may be specified as a list of ItemTags, but destinations must be actual InventoryTags.

Using "open", "clear", or "update" only require a destination.
"Update" also req...

civic breach
#

with inventory set origin:thoseitems destination:inv

primal coral
#

have you worked with advanced guis before?

#

where items can be diffrent each time yk, like a shopgui

civic breach
#

yes

primal coral
#

would you maybe give me a paste of an old inventory script of yours? as a refrence for me. i understand you maybe dont want to share your work, its alright 😅 would be helpful for me though

primal coral
#

because im kind of stuck

primal coral
civic breach
primal coral
#

thanks thats awesome :D

olive stirrup
#

You could also consider dumping your definitions into flags.

civic breach
#

you can test it out with running test_filler task with numbers 1-3 as first definition

primal coral
#

omg thank you so much

#

also thanks for taking your time