seed_extractor
Vars | |
piles | Associated list of seeds, they are all weak refs. We check the len to see how many refs we have for each |
---|---|
Procs | |
add_seed | |
generate_seed_string | Generate seed string |
Var Details
piles
Associated list of seeds, they are all weak refs. We check the len to see how many refs we have for each
Proc Details
add_seed
-
Add Seeds Proc.
-
Adds the seeds to the contents and to an associated list that pregenerates the data
-
needed to go to the ui handler
-
to_add - what seed are we adding?
-
taking_from - where are we taking the seed from? A mob, a bag, etc?
-
user - who is inserting the seed?
generate_seed_string
Generate seed string
Creates a string based of the traits of a seed. We use this string as a bucket for all seeds that match as well as the key the ui uses to get the seed. We also use the key for the data shown in the ui. Javascript parses this string to display
Arguments:
- O - seed to generate the string from