This commit is contained in:
Mute 2022-11-10 22:22:12 +00:00
parent 247c908f46
commit a9c6e5fd35

View File

@ -27,7 +27,7 @@
if (window.MBCHC) throw "MBCHC found, aborting loading" if (window.MBCHC) throw "MBCHC found, aborting loading"
window.MBCHC = { window.MBCHC = {
VERSION: "trunk", VERSION: "trunk",
TARGET_VERSION: "R85", TARGET_VERSION: "R86Beta1",
NEXT_MESSAGE: 1, NEXT_MESSAGE: 1,
LOG_MESSAGES: false, LOG_MESSAGES: false,
RETHROW: false, RETHROW: false,
@ -351,14 +351,14 @@
//window.TitleList.push({Name: title, Requirement: () => true}) // check for existing first //window.TitleList.push({Name: title, Requirement: () => true}) // check for existing first
}, },
patch_handheld: function() { patch_handheld: function() {
let options = InventoryItemHandsSpankingToysOptions /* eslint-disable-line no-undef */ // window.InventoryItemHandsSpankingToysOptions is undefined // let options = InventoryItemHandsSpankingToysOptions /* eslint-disable-line no-undef */ // window.InventoryItemHandsSpankingToysOptions is undefined
for (let name of this.HAND_PENETRATORS) { // for (let name of this.HAND_PENETRATORS) {
let option = options.find(o => o.Name === name) // let option = options.find(o => o.Name === name)
if (option && option.Property) { // if (option && option.Property) {
if (!option.Property.AllowActivity) option.Property.AllowActivity = [] // if (!option.Property.AllowActivity) option.Property.AllowActivity = []
if (option.Property.AllowActivity.indexOf("PenetrateItem") < 0) option.Property.AllowActivity.push("PenetrateItem") // if (option.Property.AllowActivity.indexOf("PenetrateItem") < 0) option.Property.AllowActivity.push("PenetrateItem")
} // }
} // }
}, },
copy_fbc_trigger: function(trigger) { copy_fbc_trigger: function(trigger) {
let result = { let result = {