Search found 96 matches

by Stapper
Fri Aug 21, 2015 10:51 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Time forward function - how to call
Replies: 2
Views: 396

Re: Time forward function - how to call

Argh so simple, just didn't know it :(

Thank you :D (and sorry for newb question!)
by Stapper
Fri Aug 21, 2015 10:41 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Time forward function - how to call
Replies: 2
Views: 396

[Solved]Time forward function - how to call

I made a function to skip the time of day: init python: def time_forward(): global day global daytime if daytime == "Morning": daytime = "Mid Day" elif daytime == "Mid Day": daytime = "Afternoon" elif daytime == "Afternoon": daytime = "Late Day&...
by Stapper
Fri Aug 21, 2015 9:22 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] 1 of 2 identical functions crashes
Replies: 2
Views: 474

Re: 1 of 2 identical functions crashes

Nope, I still don't know what the problem was but I did find a workaround. I combined both food and drink in the same action and now it works fine... def consume(item): if (item.desc) == "Food": global food food += 5 message = "You eat the %s." % (item.name) if (item.desc) == &qu...
by Stapper
Thu Aug 20, 2015 9:05 pm
Forum: Ren'Py Questions and Announcements
Topic: End of line expected error
Replies: 3
Views: 560

Re: End of line expected error

Are these lines 331 and 364 ? hotspot (407,125,70,40) action Return() activate_sound "FILE NAME HERE" hover_sound "FILE NAME HERE" ~ hotspot (407,125,70,40) action Return() activate_sound "FILE NAME HERE" hover_sound "FILE NAME HERE" You don't have the colon b...
by Stapper
Thu Aug 20, 2015 8:42 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] 1 of 2 identical functions crashes
Replies: 2
Views: 474

[Solved] 1 of 2 identical functions crashes

I'm using this inventory system: http://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=25579 Created 2 new functions both for eating and drinking. The eating works but the drinking crashes my game, eventhough the code for them is identical. I've reversed the two functions, reversed the items, ch...
by Stapper
Sat Aug 15, 2015 1:12 pm
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py 6.99 Released
Replies: 169
Views: 28865

Re: Ren'Py 6.99 Released

Sorry, I didn't want to unnecessarily flood the thread with the entire script :) It worked like a charm in renpy-6.17.3 , but I've been on a break and just updated to this version earlier this week to encounter this problem. Here are the entire screens: screen inventory_screen(inventory): tag menu #...
by Stapper
Sat Aug 15, 2015 10:04 am
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py 6.99 Released
Replies: 169
Views: 28865

Re: Ren'Py 6.99 Released

With this newer version I can't seem to open my inventory anymore and my game crashes with this error: While running game code: File "renpy/common/00gamemenu.rpy", line 163, in script $ ui.interact() File "renpy/common/00gamemenu.rpy", line 163, in <module> $ ui.interact() File &...
by Stapper
Sat Aug 15, 2015 9:50 am
Forum: Ren'Py Cookbook
Topic: Infinite, Stackable Inventory/Crafting/Vendor - UPDATED v1.5
Replies: 75
Views: 53072

Re: Infinite, Stackable Inventory, Crafting, and Vendor Scre

I ran into the same problem as xanzero with this system and the latest Renpy version and can confirm that those default settings aren't registered anymore. I booted up my game after updating to renpy-6.99.5 and suddenly I cannot use my inventory anymore. Is there someone that does have the solution ...
by Stapper
Mon Jun 30, 2014 9:22 am
Forum: Ren'Py Questions and Announcements
Topic: [Answered] Pop-up message box
Replies: 3
Views: 491

Re: Pop-up message box

You can just call a screen, with "action Return" on the button
by Stapper
Sun Jun 29, 2014 10:45 am
Forum: Ren'Py Questions and Announcements
Topic: Tooltips on drag
Replies: 1
Views: 602

Tooltips on drag

I'm trying to add tooltips to my drag and drop mini-game, but I can't seem to be able to figure out how to manage this properly even with the info here: http://www.renpy.org/doc/html/drag_drop.html I can get a tooltip to appear when using either the hovered or clicked properties, but I cannot get th...
by Stapper
Sun Jun 01, 2014 8:57 am
Forum: Ren'Py Questions and Announcements
Topic: How to change the background of the main menu ?
Replies: 4
Views: 629

Re: How to change the background of the main menu ?

Open screens.rpy
Scroll down to "screen main_menu:"
You can alter the entire menu there according to your preferences.
by Stapper
Sun Jun 01, 2014 2:17 am
Forum: Ren'Py Questions and Announcements
Topic: yes_action and no_action aren't returning my screen [Solved]
Replies: 7
Views: 941

Re: yes_action and no_action aren't returning my screen

Yep that is it! Good call man :)

I'm going to remove the tag menu from all my screens, I thought they would help but are nothing but trouble it seems!

Thanks a lot!
by Stapper
Sun Jun 01, 2014 12:30 am
Forum: Ren'Py Questions and Announcements
Topic: yes_action and no_action aren't returning my screen [Solved]
Replies: 7
Views: 941

Re: yes_action and no_action aren't returning my screen

First of all, thanks for the replies. I'm using the default Yes/No Prompt screen, I didn't make any changes except styling the textbuttons. Here is my basic setup (I left all the rest out since it's just text and more buttons) label hub_level1: call screen hub_level1 $ result = _return if result == ...
by Stapper
Sat May 31, 2014 11:09 pm
Forum: Ren'Py Questions and Announcements
Topic: yes_action and no_action aren't returning my screen [Solved]
Replies: 7
Views: 941

yes_action and no_action aren't returning my screen [Solved]

Whenever I return from a Yes/No Prompt the game doesn't bring up the screen again from which the prompt was called. I think it doesn't have a normal Return() function. This breaks my game because I cannot continue playing when this happens. Two examples: 1. I'm on a screen and call a save game scree...
by Stapper
Sat May 17, 2014 6:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Specifying item in own definition? [Solved]
Replies: 4
Views: 611

Re: Specifying item in own definition?

That's exactly what I needed to make the whole system work!! :D

Thanks a lot Asceai! It works perfectly like this :)