show dick girl content

DoctorPervic

Well-Known Member
Game Developer
Aug 13, 2019
1,071
4,419
So I am looking for a way to have the option in my game to allow dick-girl content or not.

So a menu Item, in the beginning, tells the player if they want to see Dick-Girl content they can choose Yes, otherwise choose No.

Then as the game progresses you will either view that content or not.

So it would be

menu:
"Yes Dick-Girl Content":

"No Dick-Girl Content":

Where would I put the variable stuff. I'm still green in this area and would love some help or Idea where to look for it.
Thank you all so much.
 

Icarus Media

F95 Comedian
Donor
Game Developer
Jun 19, 2019
8,187
30,869
Are you using Renpy?

If so you can define the variable at the beginning of all the code like so:

Dickgirls = False.

Then in your example:
menu:
"Yes Dick-Girl Content":
$ Dickgirls = True

"No Dick-Girl Content":
pass

P.S. Might I suggest a link to your f95 game thread in your signature? Free advertising and helps people to find your game.
 

DoctorPervic

Well-Known Member
Game Developer
Aug 13, 2019
1,071
4,419
Are you using Renpy?

If so you can define the variable at the beginning of all the code like so:

Dickgirls = False.

Then in your example:
menu:
"Yes Dick-Girl Content":
$ Dickgirls = True

"No Dick-Girl Content":
pass

P.S. Might I suggest a link to your f95 game thread in your signature? Free advertising and helps people to find your game.
Thank you so much. Will try it out.
One question, so before all dick girl content do I need to put a special code so that renpy knows what to look for?
 

Icarus Media

F95 Comedian
Donor
Game Developer
Jun 19, 2019
8,187
30,869
Thank you so much. Will try it out.
One question, so before all dick girl content do I need to put a special code so that renpy knows what to look for?
Yeah I define my variables at the very beginning of all the code, so at the top of the script I'll have:

init python:
Dickgirls = False
Potato = True
Gandalf = False

etc etc. Also saves me having to use the $ all the time. That's just me though, you might have your own style.
 

Icarus Media

F95 Comedian
Donor
Game Developer
Jun 19, 2019
8,187
30,869
for more on the init python thing.
 

DoctorPervic

Well-Known Member
Game Developer
Aug 13, 2019
1,071
4,419
Thank you. However I was asking about what I put in front of my dick girl content in the game.
 
Last edited:

rayminator

Engaged Member
Respected User
Sep 26, 2018
3,040
3,134
you can do it this way
Python:
if Dickgirls == True:
    Dickgirls content goes her
elif Dickgirls == False:
    None Dickgirls content goes her

or this way

Python:
if Dickgirls == True:
    Dickgirls content goes her
else:
    None Dickgirls content goes her