Compare commits
12 Commits
683af5ae42
...
5d7c09a8a8
Author | SHA1 | Date | |
---|---|---|---|
5d7c09a8a8 | |||
083b8e4f3c | |||
43b1954263 | |||
027f237606 | |||
cd8b94e40c | |||
ac39490836 | |||
37ed32f50d | |||
18721850f5 | |||
105d60e61e | |||
dad333ffc8 | |||
c536626a0b | |||
5a0f55cc08 |
File diff suppressed because it is too large
Load Diff
5
game/mods/.gitignore
vendored
Normal file
5
game/mods/.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file and ExampleMod
|
||||
!.gitignore
|
||||
!ExampleMod/
|
@ -38,7 +38,7 @@ init python:
|
||||
emote=None, xpos=None, ypos=None, pos=None, flip=None, trans=None, animation=False, **kwargs):
|
||||
|
||||
def show():
|
||||
astoria.show()
|
||||
astoria.show(force=True)
|
||||
|
||||
if not renpy.in_rollback():
|
||||
renpy.with_statement(trans or d2)
|
||||
|
@ -36,7 +36,7 @@ init python in character:
|
||||
emote=None, face=None, xpos=None, ypos=None, pos=None, flip=None, trans=None, animation=False, **kwargs):
|
||||
|
||||
def show():
|
||||
renpy.store.cho.show()
|
||||
renpy.store.cho.show(force=True)
|
||||
|
||||
if not renpy.in_rollback():
|
||||
renpy.with_statement(trans or renpy.store.d2)
|
||||
|
@ -31,7 +31,7 @@ init python:
|
||||
emote=None, face=None, xpos=None, ypos=None, pos=None, flip=None, trans=None, animation=False, **kwargs):
|
||||
|
||||
def show():
|
||||
hermione.show()
|
||||
hermione.show(force=True)
|
||||
|
||||
if not renpy.in_rollback():
|
||||
renpy.with_statement(trans or d2)
|
||||
|
@ -22,7 +22,7 @@ init python:
|
||||
emote=None, face=None, xpos=None, ypos=None, pos=None, flip=None, trans=None, animation=False, **kwargs):
|
||||
|
||||
def show():
|
||||
hooch.show()
|
||||
hooch.show(force=True)
|
||||
|
||||
if not renpy.in_rollback():
|
||||
renpy.with_statement(trans or d2)
|
||||
|
@ -34,7 +34,7 @@ init python:
|
||||
emote=None, face=None, xpos=None, ypos=None, pos=None, flip=None, trans=None, animation=False, **kwargs):
|
||||
|
||||
def show():
|
||||
luna.show()
|
||||
luna.show(force=True)
|
||||
|
||||
if not renpy.in_rollback():
|
||||
renpy.with_statement(trans or d2)
|
||||
|
@ -33,7 +33,7 @@ init python:
|
||||
emote=None, face=None, xpos=None, ypos=None, pos=None, flip=None, trans=None, animation=False, **kwargs):
|
||||
|
||||
def show():
|
||||
susan.show()
|
||||
susan.show(force=True)
|
||||
|
||||
if not renpy.in_rollback():
|
||||
renpy.with_statement(trans or d2)
|
||||
|
@ -44,7 +44,7 @@ init python:
|
||||
emote=None, face=None, xpos=None, ypos=None, pos=None, flip=None, trans=None, animation=False, **kwargs):
|
||||
|
||||
def show():
|
||||
tonks.show()
|
||||
tonks.show(force=True)
|
||||
|
||||
if not renpy.in_rollback():
|
||||
renpy.with_statement(trans or d2)
|
||||
|
@ -126,7 +126,7 @@ label tonks_favor_menu:
|
||||
|
||||
$ result = show_events_menu(tonks_requests)
|
||||
|
||||
if result == "disabled":
|
||||
if result in ("disabled", "noncompliant"):
|
||||
"You haven't unlocked this request opportunity yet."
|
||||
jump .requests
|
||||
elif result == "exit":
|
||||
|
@ -383,7 +383,8 @@ init python:
|
||||
|
||||
def clone(self):
|
||||
"""Creates a clone of this cloth object. Since it requires a parent object it should be used internally only to avoid object depth issue."""
|
||||
return DollCloth(self.name, self.categories, self.type, self.id, [x for x in self.color] if self.color else None, self.zorder, self.unlocked, self.level, self.blacklist, self.modpath, self)
|
||||
modpath = self.modpath.lstrip("mods/")
|
||||
return DollCloth(self.name, self.categories, self.type, self.id, [x for x in self.color] if self.color else None, self.zorder, self.unlocked, self.level, self.blacklist, modpath, self)
|
||||
|
||||
def is_modded(self):
|
||||
"""Returns True if item comes from a mod."""
|
||||
|
@ -183,4 +183,5 @@ init python:
|
||||
|
||||
def clone(self):
|
||||
"""Creates a clone of this cloth object. Since it requires a parent object it should be used internally only to avoid object depth issue."""
|
||||
return DollClothDynamic(self.name, self.categories, self.type, self.id, [x for x in self.color] if self.color else None, self.zorder, self.unlocked, self.level, self.blacklist, self.modpath, self._tracking, self)
|
||||
modpath = self.modpath.lstrip("mods/")
|
||||
return DollClothDynamic(self.name, self.categories, self.type, self.id, [x for x in self.color] if self.color else None, self.zorder, self.unlocked, self.level, self.blacklist, modpath, self._tracking, self)
|
||||
|
@ -78,8 +78,11 @@ init -1 python:
|
||||
def DollRebuild():
|
||||
for i in states.dolls:
|
||||
doll = getattr(store, i)
|
||||
doll.build_image()
|
||||
|
||||
if doll.is_stale() and not settings.get("multithreading"):
|
||||
doll.show(ignore_skipping=True)
|
||||
|
||||
renpy.restart_interaction()
|
||||
|
||||
config.after_load_callbacks.append(DollRebuild)
|
||||
# end_skip_callbacks.append(DollRebuild)
|
||||
end_skip_callbacks.append(DollRebuild)
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -62,4 +62,5 @@ init python:
|
||||
|
||||
def clone(self):
|
||||
"""Creates a clone of this cloth object. Since it requires a parent object it should be used internally only to avoid object depth issue."""
|
||||
return DollMakeup(self.name, self.categories, self.type, self.id, [x for x in self.color] if self.color else None, self.zorder, self.unlocked, self.level, self.blacklist, self.modpath, self, self.tracking)
|
||||
modpath = self.modpath.lstrip("mods/")
|
||||
return DollMakeup(self.name, self.categories, self.type, self.id, [x for x in self.color] if self.color else None, self.zorder, self.unlocked, self.level, self.blacklist, modpath, self, self.tracking)
|
||||
|
@ -255,7 +255,7 @@ screen navigation(title=None):
|
||||
if not title:
|
||||
|
||||
if not renpy.mobile:
|
||||
if version_float(UPDATE_VER) < version_float():
|
||||
if version_float(UPDATE_VER) > version_float():
|
||||
textbutton "Install updates" action InstallUpdates() style_prefix "update_available" sensitive (not prerelease)
|
||||
else:
|
||||
textbutton "Check for updates" action CheckUpdates(300) sensitive (not prerelease)
|
||||
|
@ -63,7 +63,7 @@ screen mods():
|
||||
text "[name]":
|
||||
style "mods_text"
|
||||
size 16
|
||||
if not compat >= compatible_version:
|
||||
if not compat >= mods_compatible:
|
||||
color "#ff8000"
|
||||
|
||||
text "[version]":
|
||||
@ -101,7 +101,7 @@ screen mods():
|
||||
add logo xalign 0.5 size (320, 240)
|
||||
text "[name]\n[version]" offset (6, 6)
|
||||
|
||||
if not compat >= compatible_version:
|
||||
if not compat >= mods_compatible:
|
||||
text "{color=#ff8000}[compat]{/color}" align (1.0, 1.0) offset (-6, -3)
|
||||
else:
|
||||
text "{color=#228B22}[compat]{/color}" align (1.0, 1.0) offset (-6, -3)
|
||||
|
@ -63,6 +63,7 @@ screen preferences_general():
|
||||
textbutton _("Tooltips") action settings.Toggle("tooltip")
|
||||
textbutton _("System Cursor") action Preference("system cursor", "toggle")
|
||||
textbutton _("Automatic Updates") action settings.Toggle("updates")
|
||||
textbutton _("Autosave") action ToggleField(store, "_autosave")
|
||||
|
||||
default trans = config.intra_transition
|
||||
|
||||
|
@ -83,6 +83,9 @@ init python:
|
||||
return self.achievements.get(id)[3]
|
||||
|
||||
def unlock(self, id, silent=False):
|
||||
if _in_replay:
|
||||
return
|
||||
|
||||
if persistent.achievements[id][3] == False:
|
||||
self.achievements[id][3] = True
|
||||
persistent.achievements[id][3] = True
|
||||
|
@ -579,7 +579,7 @@ init python:
|
||||
|
||||
while min > get_deck_score(new_deck) or max < get_deck_score(new_deck):
|
||||
replace_index = 0
|
||||
if new_deck < min:
|
||||
if get_deck_score(new_deck) < min:
|
||||
replace_index = find_index_func(temp_pool, smalles_func)
|
||||
else:
|
||||
replace_index = find_index_func(temp_pool, gretest_func)
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user