Jump to content

Clay Mining


Strokend

Recommended Posts

So, clay deposits are fairly easy to find, but is it possible, without a mod to change their script, to get gemstones while mining them? I'm asking because I'm working on adding something to any mineable ore and need to know if it's a script I just need to change or if I need to make a new one.

Link to comment
Share on other sites

Yes it is possible. They use the same script as the regular ore veins. The property value for the gems was left empty. If I'm not mistaken they applied the script individually to each reference rather than on the base forms so you'll have a lot of work ahead of you to ensure that each clay pit is properly adjusted.

 

But it will be a mod as the change will require the use of an ESP. Not just one ESP but one for each DLC and/or mod that adds new veins.

 

FYI - quarry stone is setup the same as the clay

Link to comment
Share on other sites

  On 8/2/2013 at 3:27 AM, IsharaMeradin said:

Yes it is possible. They use the same script as the regular ore veins. The property value for the gems was left empty.

Okay, now you're speaking in contradictions. If it's empty, doesn't that mean that without a mod, you get NO gems from them?

 

If there IS a default script that it refers to when the field is left on default, then all I need to know is which list that is. (It's clearly not 75, gems aren't that common)

 

I'm not saying I'll add gems to them, that would be way too overpowered, even at a nothing weight of 99. I added an item to LItemGems10 to get it while mining normal ores (none of them seem to use LItemGems75, I actually checked), and I want it to be possible while mining clay, too, but not by adding other things to it. I know how to make a new leveled items list if that's what it takes.

Link to comment
Share on other sites

Quoted from your first post....

 

 

  Quote
without a mod to change their script

What I suggested does not change the script. Property values are stored on the object's form not on the script. So no contradiction on my part. However, you are correct without a mod you get no gems from clay pits or stone quarries.

 

You can make a new leveled list with what you want to receive and assign it to the LItemGems10 property variable on each clay pit and/or stone quarry that you want to be able to give out those items.

 

There is no default script referred to when LItemGems10 property variable is empty. There is simply a check for that variable to have a valid value. Since it is a leveled list the player's level and other internal workings decide if a value will be present when that leveled list is checked by the script. When empty there is no list to check and an automatic value of NONE is assigned thereby causing nothing to happen. See the script snippet to see what I'm referring to

if lItemGems10
	(game.getPlayer()).addItem(lItemGems10)
endif
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...