The workbench uses a vendor, a misc item and a script to enable it to be placed (or rather enabled) in the suite, it does this by placing the misc item into a vendor called VendorChestL38Upgrade, Ive had no issues creating a new misc item and adding the script to it (with the correct reference(L38UpgradeReloadingBench01REF) and script name(L38UpgradeReloadingBench01SCRIPT) and ive also placed a reloading bench in the suite with initially disabled and persistant reference ticked which is exactly the same as the workbench, aswell as adding the REF from the script to the reloading bench. However when I purchase the upgrade through the terminal the reloading bench does not enable/appear, I cant figure it out as all ive done is basically used everything the workbench upgrade uses to recreate the reloading bench upgrade.
This is the script:
scn L38UpgradeReloadingBenchSCRIPTbegin onadd L38UpgradeReloadingBench01REF.enable 1 removemeend
If anyone is able to have a look at this for me I would be very greatful
EDIT: checking more into this, the item im buying isnt being removed from my inventory so for some reason the script isnt starting when its added to the players inventory even tho the onadd function should trigger when its added to any inventory.
