Skyrim Special Edition

The original Skyrim version of Random Mining has a few variations available which are also mentioned on the SSE version's description page.  For SSE, however, I only ported over one variation. I used a modification of the Random Mining MCM script instead of the original Random Mining script(s).  If you enjoyed customizing the options in Random Mining MCM, you can do so with the script supplied in the SSE version of the mod.

Following are brief instructions on what would need to be changed to perform each specific option change that was available in the Random Mining MCM mod.  This does require that you edit and re-compile the script on your end. Instructions for one method of editing and re-compiling will be listed for those who have not done this type of thing before.

Please keep in mind that these instructions are only intended to be of use until SKSE and SkyUI's MCM or similar menu system is release for SSE. Unless something unforeseen should happen, I have every intention of converting to MCM or other similar menu system released for SSE.

Feel free to ask for assistance with specific changes and/or problems with compiling after making your edits. However, I cannot guarantee an always speedy reply. Patience may be required.

If all else fails, the script options in the original Skyrim version of Random Mining will also work as-is within SSE. Any SKSE related code had been designed to fail and fallback on stock code if SKSE was not present. There will be no harm in using them if need be.

Brief walkthrough on one method of compiling the script.

  • Edit the script in Notepad++, SublimeText, even Notepad will work
  • Save the file 
  • Load the SSE CK
  • Go to Gameplay menu 
  • Select Papyrus Script Manager 
  • Locate MineOreScript
  • Right click and choose Compile
  • Exit CK
  • Test changes in game.

To activate the 'Lazy Man' version:

  • Locate RandomizeOreAndStrikes(false,false) within the OnActivate and OnHit events.
  • First parameter should be false, second parameter should be true
  • Example RandomizeOreAndStrikes(false,true)
  • Locate GiveOreAndSkill(true,false) within the GiveOre() function. <-- 2 entries to edit
  • First parameter can be true or false, second parameter should be true
  • Example GiveOreAndSkill(true,true)
  • 'Lazy Man' is now active.

To activate the 'Hardworker' version:
  • Locate RandomizeOreAndStrikes within the OnActivate and OnHit events.
  • First parameter should be true, second parameter should be false
  • Example RandomizeOreAndStrikes(true,false)
  • 'Hardworker' is now active.


To disable/enable Mining Makes Noise
  • Locate CreateDetectionEvent(Game.GetPlayer(),250) <-- 2 entries to edit
  • Place a ; in front to disable, remove the ; to re-enable


To deactivate Skill Gain:
  • Locate GiveOreAndSkill(true,false) within the GiveOre() function. <-- 2 entries to edit
  • First parameter should be false, second parameter is for 'Lazy Man'


To change the minimum quantity to receive:
  • Locate Int RIMin = 3
  • Change the 3 to whatever value
  • Example Int RIMin = 5


To change the maximum quantity to receive:
  • Locate IntRIMax = 9
  • Change the 9 to whatever value
  • Example Int RIMin = 15


To change 'Hardworker' settings:
  • Look for a long list of Int assignments inside the RandomizeOreAndStrikes Function at the bottom of the script.
  • The SL#s are the maximum skill level values that the entries immediately following will be valid
  • The RCT#Min and RCT#Max entries are the min/max ResourceCountTotal random value boundries.
  • The SBC#Min and SBC#Max entries are the min/max strikes before collection random value boundries.


To change magic skill receiving experience from magic mining mods:
  • Locate String MS = "Alteration" <-- 2 entries to edit
  • Change as desired
  • Example String MS = "Conjuration"


To change skill experience gained per ore:
  • Locate Int EV = 1 <-- 1 entry to edit
  • Change to desired value
  • Example Int EV = 2

Article information

Added on

Written by

IsharaMeradin

0 comments