Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

sequoiae

2
Posts
1
Followers
A member registered 70 days ago · View creator page →

Creator of

Recent community posts

Thanks for playing, and for your nice comment! Congrats for beating it as well!! And I'm really glad to hear you were able to pick some words up.

Yeah the battling is definitely a bit of a grind and too boring. I was intending on having a few more rooms and at least one more quest to make it easier but then the deadline neared and I got tired of making rooms lol. Hopefully I can slowly expand this to a full-fledged game as time goes on.

I've thought of exactly that idea of yours before, but I just haven't had the game-making experience to be able to put it into action! I can do the language side of things but not the coding. So hopefully after a few years I can also do the coding T_T Unless someone wants to pair up with me ;D

(4 edits)

Thank you, ayolland! I used this in my game to begin making a cooking system, and you don't need to edit the .html file of the game or anything, you can do it right in the normal dialogue editor. Here's what I did, for any other newbies who want to know:

1. Have two different possible food items (I have berries and fish).  Upon pickup, the dialogue says for the berry, and same for the fish (just replace "berry" with "fish"):

{berry = berry + 1}You have {print berry} berries

2. Have a fire as a sprite. Open the advanced dialogue section (little purple square to the top-right of the dialogue box) for the fire sprite:

The fire dialogue is a conditional with three "when" clauses. The first "when" is the nested conditional checking to see if both berries and fish are in the inventory; if untrue, the same "when" then checks to see if berries alone are in the inventory:

Cleaned up for easier viewing:

{
    - fish >= 1 ?
        You have {print fish} fish and {print berry} berries. Cook?
    - else ?
        You have {print berry} berries. Cook berries?
}

The remaining two options are written as normal (making sure the "default" option is the last one):

How the entire text looks like in the general (non-advanced) dialogue box, you can either copy-paste all this into the sprite dialogue box or do as I did above and write it into the "advanced" boxes separately, either way the program will automatically recognize it:

{
  - {item "berry"} >= 1 ?
    {
      - fish >= 1 ?
        You have {print fish} fish and {print berry} berries. Cook?
      - else ?
        You have {print berry} berries. Cook berries?
    }
  - {item "fish"} >= 1 ?
    You have {print fish} fish. Cook fish?
  - else ?
    You have no raw food.
}}

Then this is how it looks in the game!