Inventory help!

I want to make a inventory in my story, but i have no idea how to make things you have appear and things you don’t have not appear… Could anybody help me?

1 Like

I don’t know how to make items you have appear and items you don’t have don’t appear.

Like you got a flower, a ring and letter. But when you don’t have an item or two items, i dont know how you can make only them not appear when you have you inventory out

1 Like

Do you need to work with gains or something? or with points? I’m new to stuff with overlays…

1 Like

ooohhh… Is it possible to like click on them and then something happens?

1 Like

How can you do that?

1 Like

Alright, I’ve kinda skipped through it and looked at the script. I kinda get it now. But can you have like when you made one choice, other overlays and reactions happen then that you have made the other choice?

1 Like

How?

1 Like

Yes?

okay. Can you then also click on the overlays and then you also have a reaction on that?

1 Like

Like you first make a choice if you order a donut or a cupcake. then you are hungry and you either click on the flower you already had or the donut when you are hungry.

1 Like

How? Can you like make a choice in a choice that way?

1 Like

Okay, I’ve made a small script to clear things up.
This is it:

@YOU walks to screen center
&YOU is rear
WORKER (talk_think)
What would you like?
choice
“A donut, please!”{

    YOU (talk_rear)
A donut, please.
    WORKER (talk_happy_agree)
Of course!

    NARR
The worker gives you a donut.

#gain here?

}“A cupcake, please!”{

    YOU (talk_rear)
A cupcake, please.
    WORKER (talk_happy_agree)
Of course!

    NARR
The worker gives you a cupcake.

#gain here?

}

#A couple moments later

    NARR
As you walk your way home you come across a little boy with a sign that says; Food please. poorly writen

choice
“Give him my food”{

    NARR
You walk to the boy.

}“Just walk away”{

    NARR
You ignore the boy and walk home.

goto Your_Home1

}

    YOU (think)
What should I give him?

Now I want the flower with the cupcake or the donut appear how can you make the cupcake or the donut?

1 Like

You will have to use gains and then if/elif/else.

1 Like

@YOU walks to screen center
&YOU is rear
WORKER (talk_think)
What would you like?
choice
“A donut, please!”{

    YOU (talk_rear)
A donut, please.
    WORKER (talk_happy_agree)
Of course!

    NARR
The worker gives you a donut.

gain Donut

}“A cupcake, please!”{

    YOU (talk_rear)
A cupcake, please.
    WORKER (talk_happy_agree)
Of course!

    NARR
The worker gives you a cupcake.

gain Cupcake

}

#A couple moments later

    NARR
As you walk your way home you come across a little boy with a sign that says; Food please. poorly writen

choice
“Give him my food”{

    NARR
You walk to the boy.

}“Just walk away”{

    NARR
You ignore the boy and walk home.

goto Your_Home1

}

    YOU (think)
What should I give him?

Then when you want to remember:

if (Donut){
#Donut scene goes here
}else{
#Cupcake scene goes here
}

2 Likes

Yes! i think I got it! thank you!

1 Like