Small addon to bvcx's SEMI-RADIANT AI addon which allows the player to access a mechanics vice when he is asleep. Bonus: Change Regular Vice Access Time Limit directly from MCM.
This little addon is intended to be used with SEMI-RADIANT AI from bvcx which I highly recommend. The vice access time modification which I added as Bonus will work without it.
If you move too far away from a vice you have gained access to normally you will get the "Time is up" message early. This is intentional as the mechanic will just assume you don't need it anymore.
When using it I just felt: why can't I just use the mechanics vice while he is asleep? So I started tinkering. When enabled in MCM you can approach the vice during the mechanic's sleep time. The vice will still read "You do not have permission to use this" BUT you can actually use it. However: If you get caught by any nearby NPC you will lose a bit of goodwill with their respective faction. This feature can be fully modified or disabled in MCM as well:
Compatibility Notes:
This addon has to be loaded after Semi-Radiant AI and if you use "Craft from Stashes" it has to be loaded after that as well!
Change Log:
v1.1: Fixed Crash when using Fast Travel. Increased distance allowed to move away from vice.
-- dEmergence
My other addons:
DYNAMIC FACTION RELATIONS CUSTOMIZER [DFRC]
SHOW ALL FACTION RELATIONS IN PDA
Release Notes v1.0:
Although this was originally planned to be just a small tweak I just got carried away and decided to find a way to DLTXify the Vice Access Time as well. Ah well, I hope someone will find it useful. Known issues so far: With the current implementation it can only keep track of a single vice really so I had to use a workaround to disable the old one before the player might get to the next. However, this does not account for Fast Travel so you might run into unexpected behaviour there...
Awesome mod brother.
Thanks!
me waiting for the machanic to fall asleep to craft my 5 7.62x39 rounds (Cool idea Bro!)
Haha yes I guess that's gonna be a thing now for many ^^ Thanks!
Hmmmm, why I never thought about this feature..... a yes, I don't use that workbench. But still nice addon!
Haha thanks
bro wth this is such a good addon 10/10
thanks!
It would be better if paying the mechanic for the vice would give something more that getting access to the tools kits, Like redued materials requirement
Still good mod gives me something to do after I load all my bullets
True that, Thanks!
Genius mod Idea.
Thank you!
FATAL ERROR
[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_pcall_failed
[error]File : D:\a\xray-monolith\xray-monolith\src\xrServerEntities\script_engine.cpp
[error]Line : 257
[error]Description : fatal error
[error]Arguments :
1 : [Lua] ...aly/bin/..\gamedata\scripts\z_dmg_vice_access_mod.script(197) : reset_vice_time
LUA error: ...aly/bin/..\gamedata\scripts\z_dmg_vice_access_mod.script:197: attempt to compare number with userdata
Check log for details
stack trace:
dEmergence fast travel crashes when vice access granted to player
Hi Cheers1, I was kind of expecting something like this. I'm currently working on an update and see to it that this will be fixed!
okay
Cheers1 It should be fixed now!
thanks man!!