Fix for DialogItemPermissionMode next button

Fix for DialogItemPermissionMode next button
This commit is contained in:
Ben987 2019-11-04 18:27:05 -05:00
parent b10daf19db
commit dc3ee00b72
3 changed files with 2 additions and 2 deletions
BondageClub/Scripts
C000_Intro/ChapterSelect

View file

@ -200,7 +200,7 @@ function DialogMenuButtonBuild(C) {
// Main buttons
if (DialogProgress < 0) {
if ((DialogInventory.length > 12) && Player.CanInteract() && !InventoryGroupIsBlocked(C)) DialogMenuButton.push("Next");
if ((DialogInventory.length > 12) && ((Player.CanInteract() && !InventoryGroupIsBlocked(C)) || DialogItemPermissionMode)) DialogMenuButton.push("Next");
if (InventoryItemHasEffect(Item, "Lock", true) && DialogCanUnlock(C, Item) && InventoryAllow(C, Item.Asset.Prerequisite) && !InventoryGroupIsBlocked(C) && (Player.CanInteract() || ((C.ID == 0) && InventoryItemHasEffect(Item, "Block", true)))) DialogMenuButton.push("Unlock");
if ((Item != null) && (C.ID == 0) && (!Player.CanInteract() || (InventoryItemHasEffect(Item, "Lock", true) && !DialogCanUnlock(C, Item))) && (DialogMenuButton.indexOf("Unlock") < 0) && InventoryAllow(C, Item.Asset.Prerequisite) && !InventoryGroupIsBlocked(C)) DialogMenuButton.push("Struggle");
if (InventoryItemHasEffect(Item, "Lock", true) && !Player.IsBlind() && (Item.Property != null) && (Item.Property.LockedBy != null) && (Item.Property.LockedBy != "")) DialogMenuButton.push("InspectLock");

View file

@ -5,7 +5,7 @@ var C000_Intro_ChapterSelect_Credits = [];
var C000_Intro_ChapterSelect_CreditActors = ["Player", "Amanda", "Sarah", "Sidney", "Jennifer", "Julia", "Yuki"];
var C000_Intro_ChapterSelect_ThankYouCount = 999999;
var C000_Intro_ChapterSelect_ThankYouList = ["Alvin", "Bryce", "Christian", "Designated", "Dick", "Escurse", "EugeneTooms", "James", "Jenni", "Jyeoh", "Karel", "Kitten", "Laioken", "Michal", "Mindtie",
"MunchyCat", "Nick", "Overlord", "Rashiash", "Ryner", "Setsu95", "Shadow", "Shaun", "Simeon", "Sky", "Terry", "William", "Winterisbest", "Xepherio"];
"MunchyCat", "Nick", "Overlord", "Rashiash", "Ryner", "Setsu95", "Shadow", "Shaun", "Simeon", "Sky", "Terry", "Victor", "William", "Winterisbest", "Xepherio"];
var C000_Intro_ChapterSelect_ThankYouCurrent = -1;
var C000_Intro_ChapterSelect_CreditTextColor = "black";

Binary file not shown.

After

(image error) Size: 88 KiB