Search found 17 matches
- Sat Mar 31, 2018 7:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Adding items to the inventory issue
- Replies: 11
- Views: 999
Re: Adding items to the inventory issue
I've been learning for quite a while now and do believe me, I don't ask question I haven't tried to answer by myself or the help of my friends. I can surely understand how my posts might seem silly or even stupid at times, but I can't say they are the worst here. And isn't this part of the forum for...
- Thu Mar 29, 2018 7:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Adding items to the inventory issue
- Replies: 11
- Views: 999
Re: Adding items to the inventory issue
Trooper6, sir, you are such a bless. Your thread is by far the most helpful in the matter and helped me understand things a lil' better.
I have one more question, though.
And how to create a pop-up screen to keep my inventory neatly hid when it's not needed?
I have one more question, though.
And how to create a pop-up screen to keep my inventory neatly hid when it's not needed?
- Wed Mar 28, 2018 8:23 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Adding items to the inventory issue
- Replies: 11
- Views: 999
Re: Adding items to the inventory issue
Aaaaand I'm back. Even though putting $ in front of add_item stopped one error, another occurs, because, obviously enough, 'add_item' has not been defined. Then, I went a little back into the code and tried backpack.add_item(waterbottle) but then it turned out I don't have backpack (tried with inven...
- Wed Mar 28, 2018 4:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Adding items to the inventory issue
- Replies: 11
- Views: 999
Re: Adding items to the inventory issue
I did go through them when learning how to create an inventory, actually. But! You inspired me to read these once again and I came up with an idea- I added $ before add_item() and no error is detected. I hope it won't be either when I substract an item
- Wed Mar 28, 2018 11:53 am
- Forum: Ren'Py Questions and Announcements
- Topic: Adding items to the inventory issue
- Replies: 11
- Views: 999
Re: Adding items to the inventory issue
Ok, so I've tried the first two I came up with myself and those two you suggested, but neither worked, I still need some sort of statement.
- Tue Mar 27, 2018 7:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Adding items to the inventory issue
- Replies: 11
- Views: 999
Adding items to the inventory issue
I'm kinda lost here. I used the recipe for inventory from here: https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=44730 and now I wanted to create a sort of shop menu with adding items, doing that: "Go shopping!": menu shopping_menu: "Drinks": menu drinks_menu: "Bot...
- Sun Mar 18, 2018 5:13 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Yet another "Expected Statement" error
- Replies: 4
- Views: 627
Re: Yet another "Expected Statement" error
Lord Hisu, you're the best!
Thank you for the help and sory for not putting the error traceback in the post, I only noticed that now.
Thank you for the help and sory for not putting the error traceback in the post, I only noticed that now.
- Thu Mar 15, 2018 6:23 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Yet another "Expected Statement" error
- Replies: 4
- Views: 627
Yet another "Expected Statement" error
No idea what might be wrong here, honestly. Sorry, if it's obvious, for me it isn't :( menu rei_interact_menu: "What do you want?" "Talk": "I still need to come up with something here.": jump rei_interact_menu "I still need to come up with something here.": ju...
- Wed Mar 07, 2018 11:22 am
- Forum: Ren'Py Questions and Announcements
- Topic: Unable to raise stats or substract energy
- Replies: 17
- Views: 1792
Re: Unable to raise stats or substract energy
Everything works perfectly, thanks again!
- Tue Mar 06, 2018 8:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Unable to raise stats or substract energy
- Replies: 17
- Views: 1792
Re: Unable to raise stats or substract energy
You saved the day, mister! Thank you so very much!
- Tue Mar 06, 2018 8:08 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Unable to raise stats or substract energy
- Replies: 17
- Views: 1792
Re: Unable to raise stats or substract energy
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/park.rpy", line 8, in script
if player_energy =>25:
SyntaxError: invalid syntax (game/park.rpy, line 8)
- Tue Mar 06, 2018 7:27 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Unable to raise stats or substract energy
- Replies: 17
- Views: 1792
Re: Unable to raise stats or substract energy
Ok, so I've done that: "What would you like to do here?" "Go jogging! (-25 energy)": if player_energy =>25: # may be >= $ player_energy -= 25 "That was some intense jogging session! Your strenght has increased by 5!" $stat_3 += 5 $player_energy -= 25 jump park else: &qu...
- Tue Mar 06, 2018 7:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Unable to raise stats or substract energy
- Replies: 17
- Views: 1792
Re: Unable to raise stats or substract energy
I now know how to raise them stats, hurray. But the energy thingy remains a mystery to me.
- Tue Mar 06, 2018 6:49 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Unable to raise stats or substract energy
- Replies: 17
- Views: 1792
Re: Unable to raise stats or substract energy
I gave the player a 100 energy points and each activity was supposed to take 25 energy points away, so after choosing any four times I should see an information that I've ran out of energy. And about the stats- I found a thread on the cookbook part of the forum about displaying stats in the easiest ...
- Tue Mar 06, 2018 6:36 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Unable to raise stats or substract energy
- Replies: 17
- Views: 1792
Re: Unable to raise stats or substract energy
Ok, so I don't get the error screen anymore, which is good. ( ^∇^)
But.
The energy level is supposed to get lower with the activities and it does not, neither do the stat raise.
But.
The energy level is supposed to get lower with the activities and it does not, neither do the stat raise.