Compare commits

...

7 Commits

Author SHA1 Message Date
Gouvernathor 47421d2a57 Scrap some prepended newlines 2023-11-11 21:04:20 +01:00
Gouvernathor 4e8d661165 init is ignored when early is used 2023-11-11 21:02:58 +01:00
Gouvernathor dbda53d19a Update the timeit function to use the timeit module
add the autorange function as a bonus (I like it better)
2023-11-11 21:02:36 +01:00
Gouvernathor b6d07aaa99 Hasten is_integer
the commented further improvement should be done too imo, but up to you
2023-11-11 20:58:07 +01:00
Gouvernathor 18f3ae4219 Avoid creating an unnecessary list (use an iterator instead) 2023-11-11 20:54:41 +01:00
Gouvernathor 20fcacf97b Hasten num_to_word
the return value when readable=False, but readable=False is never actually passed in the code
2023-11-11 20:54:11 +01:00
Gouvernathor f179095287 Simplify some transforms 2023-11-11 20:49:53 +01:00
8 changed files with 29 additions and 35 deletions

View File

@ -1,4 +1,3 @@
init -999 python:
# Remove style overrides
adv.who_args.pop("style", None)

View File

@ -1,4 +1,3 @@
# Preferences
# https://www.renpy.org/doc/html/preferences.html

View File

@ -1,4 +1,3 @@
label start:
python:
version = version_float()

View File

@ -1,4 +1,3 @@
# Legacy styles (still in use)
style yesno_button:

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
init -999 python early:
python early:
if renpy.version_tuple < (7,5,3,22090809):
raise RuntimeWarning("Your Ren'Py launcher is outdated, the current minimal requirement is 7.5.3.22090809+\nPlease perform an update and try launching the game again.")

View File

@ -1,4 +1,3 @@
# Custom text tags
# https://www.renpy.org/doc/html/custom_text_tags.html

View File

@ -1,4 +1,3 @@
image fade = "#00000080"
image fade_gradient = "interface/bld.webp"