Non-threaded

Forums » Newbie Central » Read Thread

Introduce yourself and get to know the community.

Help please :')

4 hours ago

p.s. sorry if im doing this wrong, i joined just a few days ago

 

im making a story game and in this game you find a bag with random items, you have the option to leave or take the bag.

in this bag (depending on the path you take) is an object you need to enter an area. i want to make it where if you dont have this object (left the bag) you cant get in the area

how would i do this? i thought about using the items function but im not sure how to work it

Help please :')

4 hours ago
Hey Kai,
Welcome aboard! Don't worry, you're doing great! Don't stress out too much, or worry about being "cringe", it's part of the learning process!

Go to the main storygame page. In the advanced editor, right next to "Storygame properties", you'll see a tab on the top sidebar called "Items". It's right next to "Variables". Click on that. Then click on "Create New Item". Title it something like "Special Bag", or whatever title you have planned. Then you set it to a specific page so that the player, when clicking on the page, will see a little image of the item. They'll click on it and add it to their inventory. I'd recommend you allow them to drop it, because there are consequences to mistakes, and in an adventure, you ideally shouldn't drop items unless it's like a game that requires you to, like in Ogre's Emperor Zoo game(check it out for a great use case of items, and you can message the author Ogre11 for assistance. I promise he won't eat you!)

Change the number of uses of the item from "unlimited" to a more reasonable number. You can also set a picture to them. To do this, add a picture to "My Stuff" which is on the left, right under "Forums" and above "Help and Info". You can also mess with the "Item Effects" if you want.

From there, you can edit link restrictions on the page that you want to only be unlocked with the item in hand. Let's say the bag is required to enter a particular area, let's call it the "Forbidden Forest"(yes I know, it's pretty cliche)

So, you then go to the link at the bottom of the preceding page which is titled something like "Enter the Forbidden Forest"

On the left side of the links are a couple of symbols:

You'll see a red stop sign on the 3rd. I want you to click on that.

From there, you'll see on the top sidebar 3 options: link options, variable restrictions, and item restrictions. You click on item restriction, and then you can make it so that a player can only enter if they successfully got the item.

For extra pizazz, you can change the editor options to allow for more variety in your variables and scripting. Right now, your default is set at basic for variables and scripting disabled. Just put them both on advanced if you want to do even cooler stuff.

Let me know if this helps!

Help please :')

3 hours ago

thanks so much for helping!

how will i know if its working? and is there a way to make it say smth like "cannot enter, no bag"

Help please :')

3 hours ago
You test it out. You'll add the item using the picture, and you should see a picture of the item on the bottom.



This game is "Emperor's Zoo" by Ogre11. In this game, you have a coin bag, an item that continuously stays with you and allows you to make purchases of water and food.

You don't have to pick up the coin bag, but other items, you will have to specifically add to your inventory. You'll click on the item when you want to pick it up. Once you pick it up, try and enter the area to see if the link restriction worked. If the game only lets you enter when you have it in inventory, it works. Drop the item, and try to enter. It should not work. Then you're good.

Otherwise something went wrong with your item links and you'll need to troubleshoot and figure out where you went wrong.

Help please :')

2 hours ago

got it, thank you very much!!

Help please :')

3 hours ago

That could probably be achieved by making two links that look identical, but lead to different pages, then locking them based on whether or not you have the bag. So both would say "forbidden forest" on the link you click, but one would say smth like "you enter the forest and see a goblin" (this would only be available if you have the bag), and the other would say "no bag, no entry."

You'll also want to make sure that both links don't show when they aren't active.

Help please :')

3 hours ago

Oh, and welcome to the site, Kai! I hope you enjoy your stay here; you're already off to a good start if you're making a storygame. I suggest reading this article on accepting criticism, since this site requires tougher skin than most you might be familiar with, along with thisthisthisthisthisthis, and this.

(And FYI: If you don't want the possibility of people reading your storygame while you're still writing it, you'll want to turn off Sneak Preview.)

Help please :')

2 hours ago

tysm for your help and the resources!!!!

Help please :')

2 hours ago

Np, good luck with the storygame!

Help please :')

one hour ago

thx!!