Yeah I saw it was about the webmFinder but as it was an archive with many files, I didn't had time to compare them as my code base had already been modified.
Do you use any VCS (version control system) like GIT for instance? It could definitely help you with tracking changes.
Anyway, there hasn't been a change in the Webmfinder, but I have some more ideas I'd like to incorporate into it, so I might give you a better version later. But even now it works better and not repeating the same video over and over if there is a choice.
Other three files contained just a small fixes, nothing major as the webmfinder. So here they are:
mother.rpy:
- Matching the mId from girlConfig
In case _tag.isdigit() you delete the id from tags, so after the # ignore number, you cannot find it to match it with configured value, so it is always random.
Python:
for _tag in _fileSplitted:
if '/' in _tag or _tag.isdigit():
_toDelete.append(_tag)
continue
if "eyes" in _tag or "hair" in _tag:
_imgTraits.append(Trait(_lastTag + "_" + _tag))
_toDelete.append(_lastTag)
_toDelete.append(_tag)
_lastTag = _tag
for _tag in _toDelete: _fileSplitted.remove(_tag)
# remove index 0
_fileSplitted = _fileSplitted[1:]
for _tag in _fileSplitted:
# ignore number
if "#" in _tag:
if _tag == _daughter.mId: # manually set parent id
_possiblePortraitsList = [[_file,_imgTraits]]
_stop = True
else:
_imgTraits.append(Trait(_tag))
if _stop: break
use this instead:
Python:
for _tag in _fileSplitted:
if '/' in _tag or _tag.isdigit():
_toDelete.append(_tag)
if _tag == _daughter.mId: # manually set parent id
_possiblePortraitsList = [[_file,_imgTraits]]
_stop = True
continue
if "eyes" in _tag or "hair" in _tag:
_imgTraits.append(Trait(_lastTag + "_" + _tag))
_toDelete.append(_lastTag)
_toDelete.append(_tag)
_lastTag = _tag
for _tag in _toDelete: _fileSplitted.remove(_tag)
# remove index 0
_fileSplitted = _fileSplitted[1:]
for _tag in _fileSplitted:
_imgTraits.append(Trait(_tag))
if _stop: break
Events:
You used girl's mother object instead of the selectedGirl as a parameter, so change it to
lb_evening_visit_freeUseLawTalk.rpy:123:
$ renpy.movie_start_displayable(webmFinder.get("masturbation",_girl = selectedGirl),loops=-1)
lb_evening_visit_daughterRuleBreak_daughterPunishment_choice.rpy:15:
$ renpy.movie_start_displayable(webmFinder.get("remove_bra",_girl = selectedGirl),loops=-1)