GUYS a guy made this but it doesnt work why? (idk anything about coding)
try:
init python:
# Unlock gallery and perks, no notify here
if not hasattr(persistent, "unlocked_gallery_items") or persistent.unlocked_gallery_items is None:
persistent.unlocked_gallery_items = set()
try:
for item in gallery_items:
persistent.unlocked_gallery_items.add(item.display_name)
except Exception:
pass
if not hasattr(persistent, "unlocked_replay_items") or persistent.unlocked_replay_items is
None:
persistent.unlocked_replay_items = set()
try:
for item in Replay_items:
persistent.unlocked_replay_items.add(item.replay)
except Exception:
pass
# Enable perks (same for all tiers)
persistent.perk_double_gold = True
persistent.perk_special_outfit = True
persistent.perk_access_gallery = True
persistent.perk_replay_feature = True
# Activate ANBU/Kage tier persistent.patreon_active = True
persistent.patreon_email = "
[email protected]"
persistent.patreon_tier = "Kage"
persistent.donor_status = "ANBU"
persistent.has_highest_tier = True
persistent.is_patreon_supporter = True
persistent.full_access =True
try:
persistent.game_version_for_languages = config.version
except Exception:
persistent.game_version_for_languages = "unknown"
persistent.current_activation = "Kage"
if not hasattr(persistent, "translationstring"):
persistent.translationstring = 0
persistent.translationstring += 1
persistent.activated = True
persistent.activation_tier = "Kage"
persistent.subscription_script = "FAKE_SCRIPT_OK"
try:
renpy.save_persistent()
except Exception:
pass
label before_main_menu:
python:
# Redo unlocks to ensure activation
if not hasattr(persistent, "unlocked_gallery_items") or persistent.unlocked_gallery_items is None:
persistent.unlocked_gallery_items = set()
try:
for item in gallery_items:
persistent.unlocked_gallery_items.add(item.display_name)
except Exception:
pass
if not hasattr(persistent, "unlocked_replay_items") or persistent.unlocked_replay_items
is None:
persistent.unlocked_replay_items = set()
try:
for item in Replay_items:
persistent.unlocked_replay_items.add(item.replay)
except Exception:
pass
persistent.perk_double_gold = True
persistent.perk_special_outfit = True
persistent.perk_access_gallery = True
persistent.perk_replay_feature = True
persistent.subscribed_platform = "ultimate_unlock"
$ renpy.notify("ANBU/Kage Membership manually activated!")
return