Search found 31 matches
- Wed Jul 19, 2023 5:51 pm
- Forum: Ren'Py Questions and Announcements
- Topic: displaying tooltips in inventory
- Replies: 2
- Views: 265
Re: displaying tooltips in inventory
Unfortunately I don't think I understand the inventory code well enough to remove the existing tool tips code to replace it without breaking everything...
- Sat Jul 15, 2023 6:53 pm
- Forum: Ren'Py Questions and Announcements
- Topic: displaying tooltips in inventory
- Replies: 2
- Views: 265
displaying tooltips in inventory
I'm using some code for an inventory system that I found in the cookbook I think and I don't understand the section on tooltips and it isn't working the way I'd expect it to. here's the relevant sections ######################################Inventory Stuff################################# init -1 p...
- Sat Jul 15, 2023 5:07 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to hide imagebuttons depending on whats in inventory [solved]
- Replies: 2
- Views: 133
Re: How to hide imagebuttons depending on whats in inventory
I tried something very similar to that and it didn't work because I guess I was phrasing it wrong. Sorry, I'm an idiot. Thank you for the help.m_from_space wrote: ↑Sat Jul 15, 2023 4:02 pm What is the big deal then? Maybe I don't get it.
Code: Select all
if piecea not in inventory.items and partial_panel not in inventory.items:
- Sat Jul 15, 2023 3:05 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to hide imagebuttons depending on whats in inventory [solved]
- Replies: 2
- Views: 133
How to hide imagebuttons depending on whats in inventory [solved]
I'm working on a click and point adventure game using imagebuttons and an inventory system. I need a certain imagebutton to show up if a certain item is not in the inventory, and I've got that working already: label explore2b: scene explore2lit call screen explore2b screen explore2b(): modal True ad...
- Tue Jul 13, 2021 4:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Saves loading in the wrong place?
- Replies: 3
- Views: 730
Re: Saves loading in the wrong place?
I'll try clearing persistent data and forcing recompile and see if that helps, but strayerror may have figured it out. I don't know anything about contexts tbh but part of the inventory code I'm using uses "call in new context" when you use an item. I only have one item that's usable at th...
- Mon Jul 12, 2021 11:05 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Saves loading in the wrong place?
- Replies: 3
- Views: 730
[SOLVED] Saves loading in the wrong place?
I have no idea how to track the cause of this problem down or even how to google it. No matter where I am in the game when I save, when I load it I will always be at the beginning of scene 2, the second label in the script file. Any time I use the rollback or reload function, it also puts me back at...
- Mon Jul 12, 2021 10:54 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to display message when player combines items in inventory?
- Replies: 5
- Views: 1090
Re: How to display message when player combines items in inventory?
Unfortunately got a "Recipe object does not support indexing" error when I tried that. I might have just put it in the wrong place though. I ended up changing that section of code and restructuring how the recipes are defined to fix a different issue. init -1 python: import copy from opera...
- Sun Jul 11, 2021 1:26 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to display message when player combines items in inventory?
- Replies: 5
- Views: 1090
Re: How to display message when player combines items in inventory?
I'll try the notify thing tomorrow, but so far using call and return isn't returning me to the right places. It's not even returning me to the same place every time I use it? It's very frustrating lol.
- Fri Jul 09, 2021 6:57 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to display message when player combines items in inventory?
- Replies: 5
- Views: 1090
How to display message when player combines items in inventory?
So I'm using this inventory system and it's working great, but I would like it to display a message whenever the user combines two items (ie: "you glue the spoon to the fork and create a spork!") but I can't figure out a way to do that. I could make the new item appearing in the inventory ...
- Thu Sep 26, 2019 11:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Couldn't Find File Error only in distributed version?
- Replies: 3
- Views: 626
Couldn't Find File Error only in distributed version?
I made a small dress up game, and it's working for most people. But I've had two people report the same IOError on startup: https://puu.sh/ElSZO/096772906b.png The game plays normally for me when launched through renpy, but if I unzip the packaged files and run the exe I get the exact same error. An...
- Mon Dec 03, 2018 11:54 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to hyperlink to footnotes
- Replies: 1
- Views: 386
How to hyperlink to footnotes
Hi! I'm trying to get a very specific effect. If you've played Hiveswap Friendsim Volume 12, I'm trying to replicate the way they did Galekh's footnotes. Essentially, the dialogue should include a hyperlink which opens a small box centered on the screen which contains text. The text should be able t...
- Tue Jul 04, 2017 9:30 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Best way to code branching paths based on changing variables
- Replies: 1
- Views: 379
Best way to code branching paths based on changing variables
I have a vague idea of how to code this but I'm a little stuck. I have three major paths and two minor ones. The player has several chances to increase three variables (A, B, and C) from a minimum 0 to a maximum of 6. I want to code it where if Variable A is greater than B or C, jump to label A. If ...
- Sun Jul 10, 2016 10:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: End of line expected error [Solved]
- Replies: 3
- Views: 1522
Re: End of line expected error
Oh, duh! Thank you. I can't believe I didn't notice that. I was very tired last night.
- Sun Jul 10, 2016 2:28 am
- Forum: Ren'Py Questions and Announcements
- Topic: End of line expected error [Solved]
- Replies: 3
- Views: 1522
End of line expected error [Solved]
http://puu.sh/pWxah/86334c0880.png menu: z "Sure, darts sounds fun!": $ bastian += 2 "Bastian beamed with delight at Zane's enthusiastic response and pulled him away towards the dart board." jump Bastian_event_1 I can't figure out what's causing this error. As far as I can tell ...
- Thu Jul 10, 2014 5:44 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved]Condition Switch not working, variable not defined?
- Replies: 5
- Views: 840
Re: Condition Switch not working, variable not defined?
That fixed it so I can play through the whole thing, thank you very much! Though the live composite still doesn't show at the end, but I guess I'll either figure that out or post another question, lol. Thank you again!