Mod Ren'Py Onhold Universal Choice Descriptor [2024-01-24] [ZLZK]

5.00 star(s) 4 Votes

ZLZK

Member
Modder
Jul 2, 2017
293
761
Universal Choice Descriptor

Overview:

After doing some other universal mods,
I decided to give it a try with a WT mod.


Mod works in real-time.
Mod may not show every variable changes.
Mod may show not accurate variable changes.
Mod doesn't show up if there isn't at least two selectable choices.
And it doesn't show same variable changes present in all selectable choices.


Variable changes are dependent on previous choices.
Meaning: Choice variable changes may differ based on previous choices.
And highest points changes may not lead to best outcomes.

Modder: ZLZK
Mod Version: 2024-01-24
Ren'Py Version: any (untested below 6.99.13)

Features:
You don't have permission to view the spoiler content. Log in or register now.

Installation:
You don't have permission to view the spoiler content. Log in or register now.

Configuration:
You don't have permission to view the spoiler content. Log in or register now.

Change-Log:
You don't have permission to view the spoiler content. Log in or register now.

In the process of getting variable changes,
side effects may occur due to bad game design!


Download: F95ZONE

Inspired by Global WT Mod by fergz.
 
Last edited:

JenMistress

Engaged Member
Oct 1, 2019
2,808
3,243
Awesomeness, some of those that I've not continued on due to the mod being abandoned I can return to. Thank you so very much for this!!!
 

ZLZK

Member
Modder
Jul 2, 2017
293
761
Mod changed quite a bit, I recommend to download it again.

In the next update I will make in-game config screen.
(I don't know when it will be.)
But it's not must have since there is config file already.

Other than that I don't think there is anything else left to do.
 

Belzeebub$

Cheat Or Not
Game Developer
May 18, 2020
652
962
ZLZK sorry for tagging you but I encountered an error while using this mod in unknown prodigy. I would like to take this opportunity to thank you for your hard work and producing this marvellous mod. It works fine. Both this and URM helps us gamers a lot. So, thank you very much.
 
Last edited:

ZLZK

Member
Modder
Jul 2, 2017
293
761
I encountered an error while using this mod in unknown prodigy.
It's because my mod encountered error when it was getting value.
So it returned None as a value.
And then game expected: number + number
But received: number + None

I guess I will need to ignore any operations that resolves-
on value which my mod wasn't able to get.


And about that error I will look into it later.

EDIT:
I have checked that game script and it uses simple addition.
Remove my mod and check if you would get an error as well.
(Pick "Cum Inside" choice.)
Because I don't think it is my mod fault.


EDIT2:
Semicolon on the end of assignment is crashing eval.
I will fix it later.
 
Last edited:

ZLZK

Member
Modder
Jul 2, 2017
293
761
Thanks for this amaizing mod!, sorry for the trouble but i have this error.
It's because line of code from file has leading spaces which my mod wasn't expecting.

Quick fix is to replace:
i = (len(full) - len(line)) / 4
with:
i = (len(full) - len(line)) // 4
 
Last edited:

ZLZK

Member
Modder
Jul 2, 2017
293
761
Need some help
Literally post above yours have temporary solution.
I'm working on a proper one and I will make it soon.

EDIT:
Should be fixed now, but would be nice if you could check on your side.
 
Last edited:

terratest

Member
Aug 5, 2017
252
129
File "game/scenes/2.scene_movein.rpy", line 240, in script
menu:
File "game/_ZLZK/UCD/_ucd.rpy", line 810, in __call__
self.process_menu()
File "game/_ZLZK/UCD/_ucd.rpy", line 1361, in process_menu
data = FE(block)
File "game/_ZLZK/UCD/_ucd.rpy", line 548, in __call__
self.process_block(block)
File "game/_ZLZK/UCD/_ucd.rpy", line 757, in process_block
self.process_python(n )
File "game/_ZLZK/UCD/_ucd.rpy", line 685, in process_python
elif n:
TypeError: list indices must be integers or slices, not float

getting this error
 

ZLZK

Member
Modder
Jul 2, 2017
293
761
getting this error
The same error is posted 1 post before yours.
Mod got updated yesterday, try a new version.


EDIT: I will fix it later.

EDIT2: HaluS, Rakot321, terratest
Now I have certainly fixed mentioned issue.

It's because line of code from file has leading spaces which my mod wasn't expecting.
Wrong, it was because in new version of python-
integer division returns float instead of integer.

Quick fix is to replace:
i = (len(full) - len(line)) / 4
with:
i = (len(full) - len(line)) // 4
So, this was a solution all along.
 
Last edited:

ZLZK

Member
Modder
Jul 2, 2017
293
761
Thanks to the vast config options,
you can customize this mod to suit any game.
Let me know if this mod is lacking something,
and I will try to make it if it is reasonable.
 
  • Yay, new update!
Reactions: "CJ"

SrAnon

Newbie
Oct 15, 2021
25
18
Hello,
I just want to thank you for the tool. It's incredible how well it works.
I had an old version with "only" 400 lines and it's amazing how many lines it has now.
Fantastic job.
THANKS :love:
 

HaluPrime

Newbie
Aug 11, 2017
34
133
Hello, i have this error

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/main_loop.rpy", line 73, in script call
call rowans_chambers from _call_rowans_chambers
File "game/locations/portal_room.rpy", line 3, in script call
call screen portal_screen
File "game/mapExploration.rpy", line 148, in script call
call eventResourceTrigger (cur_map.hexes[world.cur_map.pos_id]) from _call_eventResourceTrigger
File "game/mapEventController.rpy", line 55, in script call
call run_events('map_res_{}'.format(eventHex[6])) from _event_resource_trigger
File "game/core/event_manager.rpy", line 374, in script call
call expression ev_to_run from call_expression_ev_to_run_1
File "game/events/village_encounter_2.rpy", line 55, in script
menu:
File "game/_ZLZK/UCD/_ucd.rpy", line 1101, in __call__
self._MenuProcessor(self._current_node())
File "game/_ZLZK/UCD/_ucd.rpy", line 832, in __call__
self.get_styled_flags()
File "game/_ZLZK/UCD/_ucd.rpy", line 1002, in get_styled_flags
val = "{}{:+}{}".format(val_pre, round(val, val_dec), val_suf)
TypeError: 'unicode' object cannot be interpreted as an index

THANKS for your help.
 
5.00 star(s) 4 Votes