Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

By the way, I would like to know if it is possible to create random events?
In terms of having a certain chance of adding tags or something like that?
If not, could you please try adding something similar in the next update?


And also What does Arousal_Level do?

Good questions.
You can do this using {option1|option2}. The number of options is unlimited; you can add as many as you want {option1|option2|option3|option4|option5}, etc. 
Only one option will be selected from these lists with equal probability.

Here's an example:

hires, white background, {1boy, blue eyes|1girl, red eyes|1other, green eyes}, looking at viewer

This will give you 3 possible options for the final prompt:

  • hires, white background, 1boy, blue eyes, looking at viewer
  • hires, white background, 1girl, red eyes, looking at viewer
  • hires, white background, 1other, green eyes, looking at viewer



If you want to have an possible option, you can write the following:

{possible_option|}

possible_option will be displayed 50% of the time.

If you want to reduce the chance to 25%, use:

{{possible_option|}|} 



You can nest them inside each other and combine them as you like:

class {warrior with {sword|spear}|rouge with {bow|crossbow}} in {day|sunset|night}

might give you in the end something like: class warrior with spear in sunset


Here some links with examples, but might not all work with comfyui, (I am sure thats weighted :: and multiple select $$ notations, does not work with comfyui):




P.S. Arousal_Level does nothing. It is a remnant left over from development.
The idea was that the higher the arousal, the more options would open up, but I decided not to limit the players' choice

Thanks for your help, I'll try to do something interesting with this in the future!

(2 edits)

I seem to have found the problem! For me personally, it is problematic That you need to click on the Service Option Again To Re-randomize.
Could you Make It So That You Can Just click Regenerate to randomize again?
It would just be more convenient for the user that it is enough to press Regenarete for a New Random result.


I tried to create a File myself that Randomized everything with Each Rуgenerate, but ChatGpt gave me a variation with python, I didn't understand anything, and now I'm just hoping for you.

I'm not sure I understand, isn't that how it works right now? You click on the service, and if you don't like it, you click on regenerate at the bottom of the screen.

No, look — when you click the Service button, it picks from random options.
But when you click Regenerate, it just generates based on the already chosen ones.
What I mean is — it would be nice and more convenient if the Regenerate button also selected from random options instead of reusing the previous ones.

(1 edit)

Do you mean adding a button that randomly selects one from all services or a group of services?

I'm not completely sure, but look — I created a randomizer based on your recommendation, like this:
{{Walking|Sitting} in {Forest|Cave|Fantasy City}}
The problem is that when I click the Service button, it randomly picks one of these options, which works fine.
But when I click Regenerate Image, it only generates from the option that Service already selected before, instead of picking a new random one.

It would be great if Regenerate could also trigger a new random selection each time.

(1 edit)

Okay, I understand what the problem is. Comfy caches the prompt and no longer attempts to regenerate it. This is not a problem with the game, it is a problem with Comfy. And right now I don't know how to fix it

Actually, it’s still generating a random image, but here’s the issue: after the first click on the Service button, it picks and remembers one option from this set:

{{Walking|Sitting} in {Forest|Cave|Fantasy City}}

For example, it might pick Sitting in Forest.

Now, when I click the Regenerate button, it only generates the image using that remembered option (Sitting in Forest).

When I click the Service button a second time, it picks a new option from the set — for example, Walking in Cave — and now Regenerate generates images based on this new choice.

What I would like is for the options from {{Walking|Sitting} in {Forest|Cave|Fantasy City}} to be chosen not only when clicking the Service button, but also every time I click the Regenerate button, so that each regeneration can randomly pick a new variant.

Check new version 1.1.3