[-] _afb@lemmy.world 1 points 3 weeks ago

Has anybody seen any examples of a gen that can load/save the full state of its user-modifiable values?

[-] _afb@lemmy.world 2 points 3 weeks ago

I’m not really good at explaining, please ask if something is unclear. What I’ve done in the example is, I’ve overwritten the javascript onclick handler defined in the nested-plugin.

Thank you! You are better at explaining than you think. Yes, this definitely looks like what I'm trying to achieve. I'll try it and post an update on how it goes.

2
submitted 3 weeks ago by _afb@lemmy.world to c/perchance@lemmy.world

Searching for 'save' yields lots of irrelevant results either for saving data to variables or saving the generators themselves.

Do you know of a plugin (or maybe a built-in feature that I missed despite having gone through the tutorial) which can save a generator's current state or load it from a save-file? There's something like that but only for AI characters I think.

I would just like to be able to save progress on a generator session (e.g. story generator) and later continue where I left off.

[-] _afb@lemmy.world 1 points 3 weeks ago

Do I understand correctly that 90% of the time you want a random point in Australia selected and the other 10% of the time you want it to be one of the POIs?

Can you post or link to the actual lats and longs for the POIs ?

1
submitted 3 weeks ago* (last edited 3 weeks ago) by _afb@lemmy.world to c/perchance@lemmy.world

It's great if the author of the nested plugin is reading this, but even if you aren't the author I hope you read this.

Thank you.

Questions for experienced Perchance users in general

  • When you are figuring out how to pull some piece of data out of an object created by a Perchance plugin, how do you figure out what the Javascript name of that object is?
  • Is there some standard way of figuring out which account maintains a Perchance plugin is if their name is not displayed on the plugin's page?

Question for people familiar with using the nested plugin (or its author)

This is a location generator for a fictional world I'm working on. I am trying to create a second panel in the web page that show the currently selected item in the nested hierarchy at the top and show the description fields from the entire chain leading to it.

In this mockup I have a static div at the bottom with placeholder text saying "Star description. Celestial body description. Feature description. Region or point-of-interest description."

I would like it to dynamically pull the description attributes of the currently selected node and the entire chain of nodes leading to it. So, it would look like this...

A late-epoch system around a red dwarf: compact, old, and far more typical than Sun-like systems in PW50B. >> The surface regime here is defined by frost, fracture, and deep cold rather than rain, rivers, or active seas. >> The object is small enough that shape, mass distribution, and surface coherence have all given up on elegance. >> This is terrain that has lost coherence, becoming a field of fragments rather than a single intact crust.

... which is what the descriptions leading from the root to the currently selected node say.

By the way, is there a way to display the description field of a non-terminal node besides in a tooltip?

_afb

0 post score
0 comment score
joined 4 weeks ago