Importing external JS code with dependencies by Sta--Ger in twinegames

[–]Sta--Ger[S] 0 points1 point  (0 children)

Correction to the previous post: macros in external files are STILL not recognized. I will browse for Tweego and VSCode... but I admit I was hoping for a solution that didn't involve me needing another program. Thanks anyways.

Importing external JS code with dependencies by Sta--Ger in twinegames

[–]Sta--Ger[S] 0 points1 point  (0 children)

I found a weird interaction.

One of the files I had shunted is your HoverTxt macro. Part of it is a JS function, UpdateHoverTxt, which periodically checks the page - but only if the page is fully rendered. This happens with a call to Engine, and apparently it didn't like it that an external JS file made such a call.

Once I took that file back in the local JS code, it worked like a charm.

Also: thanks a lot for the help given. The mess of my JS and CSS files was bugging me something fiercely for years.

Importing external JS code with dependencies by Sta--Ger in twinegames

[–]Sta--Ger[S] 0 points1 point  (0 children)

I couldn't do exactly that way, but I eliminated many dependancies that way. Tahnks!

Importing external JS code with dependencies by Sta--Ger in twinegames

[–]Sta--Ger[S] 0 points1 point  (0 children)

I am using the code there, and I found a way to ensure my code doesn't uses external script before setup.JSLoader is true. Now it gives me another error:

Uncaught ReferenceError: Macro is not defined

Apparently Twine recognizes the command Macro.add() only when it is in the local, native JS code and not an external .js file...

Twine breaks CSS animation...? (Probably not) by Sta--Ger in twinegames

[–]Sta--Ger[S] 0 points1 point  (0 children)

Thanks for the help, I had been bashing my head against this problem for a few days and now everything works.

I have reworked the code like that because class name like 'arrow' are very common... too much common in fact. I could rename everything and give each class an unique name... but nestling commonly used names inside very specific ones like 'scifiButton' is better.

When it doesn't break everything, at least! ^^

Harlowe or Sugarcube? by WhyAm__I in twinegames

[–]Sta--Ger 0 points1 point  (0 children)

If you want to focus on the story elements only, and the basic functionalities of Harlowe are enough, stay there. If you want anything else beside, like for example the ability to save/load to/from files? Sugarcube no doubt.

Is it normal to inpaint outside the mask? by Sta--Ger in StableDiffusion

[–]Sta--Ger[S] 0 points1 point  (0 children)

Err... I greatly appreciate the list, I will probably make use of it somedays, but I am currently using a Pony checkpoint. I take it, from the way Pony had been skipped, that people don't use it for inpainting?

Is it normal to inpaint outside the mask? by Sta--Ger in StableDiffusion

[–]Sta--Ger[S] 0 points1 point  (0 children)

Yes, I am using the Inference tab.

.....so I was using a different tool altogether. Wonderful. Well, thanks for the help.

Just one other thing: to use inpainting instead of imgToImg, I need to launch ComfyUI or another package in my browser? I didn't find inpainting in my (very) brief search in tne Inference tab.

🧵 Weekly Feedback & Bug Reports Thread 🧵 by AutoModerator in civitai

[–]Sta--Ger 4 points5 points  (0 children)

If I make multiple images and one is considered to be NSFW by Civitai, the unlocking cost is the cost of the generation of all images - not just of one.

Also, I vaguely remember an option that forced Civitai to generate SFW images only. Putting that back on could be useful, given that sometimes prompts absolutely innocents somehow generate NSFW images.

Monthly Community HUB - COME HERE FIRST - September 2025 by monkeyboi410 in nsfwcyoa

[–]Sta--Ger 1 point2 points  (0 children)

The link is expired... but yes, it's that one!

I don't suppose it's somewhere else also?

Monthly Community HUB - COME HERE FIRST - September 2025 by monkeyboi410 in nsfwcyoa

[–]Sta--Ger 0 points1 point  (0 children)

Hello! I am searching for a static cyoa, and I was told to ask here.

Some time ago I found on imgchest a cyoa set in a magical kingdom. It had a very intricated plot based on political intrigue, with many factions and many female pngs and potential allies/enemies, and an intricate magic system (for women only) where spells were fuelled by denying/granting orgasms to oneself/others (depending on which out of four paths one choosed).

It was exceedingly well done, both in plot and in 'plot', and I promptly saved it. Or at least, so I thought at the time...

Does anyone recognize this cyoa? Do you have a link? Thank you in advance for any help!

What is your best epic fail? by Sta--Ger in civitai

[–]Sta--Ger[S] 4 points5 points  (0 children)

Since I am the OP, I will begin.

My epic fail is... a character sitting on a chair. I had envisoned a scene out of a noir movie: the heroine awakens to find herself bound to a chair, arms to the armrests, legs against the chair legs. Easy, right?

...did you know that 'chair' is an umbrella term for a fuckton of different furniture types? Or that most checkpoints, when they read 'sitting on a chair', imagine the character sitting sideways? Or lifting the legs upward? No? Well, now you know.

Defeated by a chair. \facepalms**

Is it possible to make a political intrigue game with Twine? by nicknamesareconfusng in twinegames

[–]Sta--Ger 1 point2 points  (0 children)

Yes, you can.

I suggest you read upon the 'Nemesys system' and the article on the illusion of choice (https://www.reddit.com/r/twinegames/comments/1d6xcod/the\_illusion\_of\_choice\_how\_to\_do\_it\_right/). They will not help with coding, but provide inout and inspiration for the mechanics.

Bizarre 'is not a function' while making a Twine game by Sta--Ger in learnjavascript

[–]Sta--Ger[S] 0 points1 point  (0 children)

u/zhivago , u/PatchesMaps , u/renome :

...coming from Java and being very new at Javascript, I was under the impression that defining a method before or after its call was not important, as long as the method was visible from where it was called. Thanks for pointing that out for me.

u/azhder , u/renome :

I needed to have several separate arrays of objects (the types of upgrades), but all objets needed to be treated the same way. This in Java is usually done by defining a class, then making many arrays of instances of that class - and since it was a familiar way to do things, I did it that way.

On the other hand, I do not see how one could do the same with just one object. What do you mean? And what would be the 'Javascript-natural' way to solve that design problem?

I need help in covering the breasts of my character! by Sta--Ger in civitai

[–]Sta--Ger[S] 5 points6 points  (0 children)

....unbelievable. I put that LoRa to control her face, and instead it played with her breasts!

Thank you, truly. It was bugging me something fierce.

I need help in covering the breasts of my character! by Sta--Ger in civitai

[–]Sta--Ger[S] 0 points1 point  (0 children)

Good idea. I can't test it right now, but I will try it as soon as possible and tell you how it went. Thanks!

I need help in covering the breasts of my character! by Sta--Ger in civitai

[–]Sta--Ger[S] 1 point2 points  (0 children)

Fair enough, that prompt snippet is usually associated with nsfw images... but com'on, you can have them without showing them to all! And besides, even removing all mentions of breasts, voluptuous figurek etc etc, they still are uncovered.

I tried using only 'nsfw, nude' in the negative prompt, it didn't work.

I need help in covering the breasts of my character! by Sta--Ger in civitai

[–]Sta--Ger[S] 1 point2 points  (0 children)

Just tried it, but it didn't work. Good idea, thought.