#(Doxa) Dropping items with specific name

25 messages · Page 1 of 1 (latest)

pallid slate
#

I want to use - drop
to drop a specific colour named item and how would i make it randomly chose from an array of 5 items

hasty ivyBOT
#

(Doxa) Dropping items with specific name

hasty ivyBOT
#

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>

dusky umbra
#
- define item ...
- adjust def:item display:<[list].random>
- drop <[item]>

you can do something like this

pallid slate
#

ah k

#

now my problem is with using it in an array

#

is there any easy way to assign each item a chance and than roll the chance in a script

polar nacelle
#

i mean, for really simple assigning each item a chance, items you want a higher chance of getting just put into the list multiple times

#

if you want to assign specific chances though you can do

#

!t util.random

proud hazelBOT
# polar nacelle !t util.random
Cannot Specify Searched Tag

Multiple possible tags: <util.random.uuid>, <util.random_uuid>, <util.random.gauss>, <util.random.duuid[(<source>)]>, <util.random_gauss>, <util.random.int[<#>].to[<#>]>, <util.random_chance[<percent>]>, <util.random.decimal>, <util.random.boolean>, <util.random_decimal>, <util.random_boolean>, <util.random_simplex[x=<#.#>;(y=<#.#>);(z=<#.#>);(w=<#.#>)]>, <util.random.decimal[<#.#>].to[<#.#>]>.

polar nacelle
#

!t util.random_chance

proud hazelBOT
polar nacelle
#

either use that or use

#

!t util.random.int

proud hazelBOT
polar nacelle
#

that to make random chances in if-else statements

pallid slate
#

gotcha