vinfamy / LifePlay

Free, Open-Source and Moddable Lifesim RPG (Link NSFW). I had to change my dev PC and couldn't set up Git correctly on the new PC so the full source code for the game will be available here: https://mega.nz/folder/1XYSXbRb#nFHZ1wdwTbL6rS1oUdMe0g
https://mega.nz/folder/1XYSXbRb#nFHZ1wdwTbL6rS1oUdMe0g
GNU Affero General Public License v3.0
71 stars 36 forks source link

TIMEOUT_MINUTES doesn't work? #185

Closed Rizean closed 3 years ago

Rizean commented 3 years ago

ACTION_UNIQUEID: ri_test ACTION_NAME: Test WHERE: PC WHEN: 0 - 24 MINUTES: 1 - 2 TIMEOUT_MINUTES: 500 ALSO_TIMEOUT: EFFECTS: energy +5 CONDITIONS: MOVE_FIRST: false SCENE_ALWAYS: ri_test_scene ANIMATION:

I assume I'm doing something wrong?

What I really wanted to do was timeout(500, ri_test) in the scene but did not feel like that would work so was going to settle for action timeout but that doesn't seem to work either. I assume I'm doing something wrong as looking at other actions their timeouts seem to work.

Rizean commented 3 years ago

Can confirm TIMEOUT_MINUTES does not work. Tested with Collaborate with another YouTube creator and Support LifePlay on Patreon :P

vinfamy commented 3 years ago

It's the Esc > Settings > No Action Timeout that's enabled by default that disables this feature. Some users complained about action timeout back in 2018 I think. For hard-coded timeout, use scene timeout instead, then use isTimingOut like LifePlay\Content\Modules\vin_Base\Scenes\misc\propose_sex_dating_home.lpscene or LifePlay\Content\Modules\vin_Base\Scenes\work\ask_for_raise.lpscene