There's two problems I've found. You cannot open owned doors without sneaking, and you cannot read owned books without sneaking. In the latter case, if you take a book you're reading it's hardly an accident, so there's no reason to prevent that action.
The fix is pretty easy. Replace the code in the mod with the following: ?event.register("activate", function (e) if (e.activator == tes3.player and tes3.mobilePlayer.isSneaking == false and e.target.baseObject.objectType ~= tes3.objectType.door and e.target.baseObject.objectType ~= tes3.objectType.book and e.target.object.script == nil) then if (tes3.hasOwnershipAccess({target = e.target}) == false) then tes3.messageBox("You stop yourself, realizing you do not want to interfere with someone else's property.") return false end end end, {priority = 1e+06})
Checking for combat in progress is also possible, of course, but it'd take a bunch more effort. The mod No Combat Menu serves as a demonstration of that.
Please change some things, for instance, once you are in combat, you should be able to steal whatever as it isn't an accident at that stage. Also, as cubanbface mentioned, i cannot read books when not sneaking
This mod doesn't auto-pickup books when you're crouched. Sounds like a mod conflict with another MWSE mod you have installed. This mod only allows you to activate the item, which will open the normal book menu.
Thank you, it is perfect for my wife. She likes to play from 3d person and sometimes when we try to engage a merchant into a dialogue a catastrophe happens
No, third party stuff will never be supported and thats good, but after 1.0 there will be a lua scripting possibility and then all the lua mods can be use in OpenMW too, or there will be rewrittings.
15 comments
The fix is pretty easy. Replace the code in the mod with the following:
?event.register("activate", function (e)
if (e.activator == tes3.player and tes3.mobilePlayer.isSneaking == false and e.target.baseObject.objectType ~= tes3.objectType.door and e.target.baseObject.objectType ~= tes3.objectType.book and e.target.object.script == nil) then
if (tes3.hasOwnershipAccess({target = e.target}) == false) then
tes3.messageBox("You stop yourself, realizing you do not want to interfere with someone else's property.")
return false
end
end
end, {priority = 1e+06})
Checking for combat in progress is also possible, of course, but it'd take a bunch more effort. The mod No Combat Menu serves as a demonstration of that.