SphereCommunity
Ores, Ingots, Skill Requirements? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Ores, Ingots, Skill Requirements? (/Thread-Ores-Ingots-Skill-Requirements)

Pages: 1 2


Ores, Ingots, Skill Requirements? - Reflex - 05-11-2012 12:33 PM

I'm confused how the skill requirements work here. What im confused about is why there are so many skillmakes what is used for what exactly?

Also, how do you specify the chances of mining it? All I seen was in the sphere_items_ores.scp ?

skill=0.1,50.0 - Sphere_Region_Resource.scp whats this used for?
SKILLMAKE=20.0 MINING sphere_item_Ingots.scp - Whats this used for?
SKILLMAKE=MINING 20.0 - sphere_item_ore.scp - whats this used for?
Code:
sphere_region_resource.scp
[REGIONRESOURCE mr_iron]
// t_rock
skill=0.1,50.0
amount=5,15
REAP=i_ore_iron
REGEN=60*60

//End of scp

//start of sphere_item_resources_ingots.scp
[ITEMDEF 01bef]
//DEFNAME2=INGOTS
//DEFNAME2=IRON_INGOT
DEFNAME=i_ingot_iron
TYPE=T_INGOT
RESOURCES=i_ore_iron
SKILLMAKE=20.0 MINING
TDATA1=20.0
TDATA2=50.0
WEIGHT=1
DUPELIST=01bf0,01bf1,01bf2,01bf3,01bf4
CATEGORY=Resources - Mining
SUBSECTION=Ingots
DESCRIPTION=Iron Ingot

//end of scp

//start of sphere_item_ores

[ITEMDEF 019b7]
// DEFNAME2=METAL_ORE_1
DEFNAME=i_ore_iron
NAME=Iron Ore
TYPE=t_ore
SKILLMAKE=MINING 20.0
TDATA1=i_ingot_iron
WEIGHT=1
VALUE=4
DUPELIST=019b8,019b9,019ba
CATEGORY=Resources - Mining
SUBSECTION=Ores
DESCRIPTION=Iron Ore

//end of scp



RE: Ores, Ingots, Skill Requirements? - Barnabus - 05-11-2012 12:47 PM

Ye thats a point really, in REGIONRESOURCE.

[REGIONRESOURCE mr_Iron]
SKILL= 30,120 // This means If my gathering skill is between 30 and 120 I can get it.
SKILL= 30,50 // Here if my skill is over 50 Im not getting any.

In the ITEMDEF
SKILLMAKE=MINING 20.0 // I need at least 20.0 to smelt, but if regionresource says the maximum is 50 (.i.e SKILL= 30,50) with 20.0 i can smelt but unless my gathering skill is not between 30 and 50 im not extracting this resource.

Then of course in the case of studded armor or something similiar ...
SKILLMAKE= BLACKSMITHING 30.0 TAILORING 30.0 , I need a minimal in both skills...

I wonder if that was SKILLMAKE= BLACKSMITHING 30.0,50.0 TAILORING 30.0,50.0 then with a skill over 50 I couldnt make it....

Thats how I always thought of it, but I wonder if Ive got it right now too !

Anyway --- Helllo Dude !!! Good to see ya again Big Grin


RE: Ores, Ingots, Skill Requirements? - Reflex - 05-11-2012 12:55 PM

Yea ... I'm still confused as hell lol so you're saying 1 depends on the other? Nice to see you too man Smile


RE: Ores, Ingots, Skill Requirements? - Barnabus - 05-11-2012 01:05 PM

I think **** Tongue

In RegionResources the Skill sets the MIN and MAX range for the associated resource skill.
Outside that range you aint chopping that wood or mining that ore.

In the ITEMDEF for resources...
SKILLMAKE provides the skill level needed to work with that material, not gather it.

And in the ITEMDEF for the ITEMS such as ARMOR
The SKILLMAKE, includes the Skill Type and Skill Level to craft that Item..

I hope thats a wee bit clearer Big Grin

Example rusty ore, its for noobs really to help them gain at low skill levels, and if you dont want your GM Miners to mine Rusty just reduce the maximum on the SKILL in Resources. SKILL=10.0,40.00 then as soon as the miner passes 40.0 he will never dig up rusty again, though he can use it because on the skillmake in the ITEMDEF there is only a MIN value and as long as the Miner or Blacksmiths skill is above that value, then they can smelt and craft with the ore.


RE: Ores, Ingots, Skill Requirements? - Reflex - 05-11-2012 03:23 PM

Yea, I dont think thats how it works =\ heheh
For example
in region resources
[REGIONRESOURCE mr_iron]
// t_rock
skill=0.1,50.0
amount=5,15
REAP=i_ore_iron
REGEN=60*60

So I'm assuming thats the smelt range ?
What exactly do you edit to modify your chance of smelting the ore?


RE: Ores, Ingots, Skill Requirements? - darksun84 - 05-11-2012 03:45 PM

As written in the wiki :

[REGIONRESOURCE mr_tree]
// lumberjacking default
// t_tree
SKILL=1.0,80.0
AMOUNT=9,30
REAP=i_log
REGEN=60*60*10


Basically this section defines a resource, something that you can gather from the landscape. It compares skill and amount. This particular one says that you may gather a maximum of 9 logs at 1.0 skill and a maximum of 30 logs at 80.0 skill. Anything after that simply increases your chances of getting 30 logs.

So even at 100 you can get iron ore!


RE: Ores, Ingots, Skill Requirements? - Reflex - 05-11-2012 04:06 PM

I love how people sarcastically say "WiKI" no shit like anyone who devs a sphere shard doesnt use the wiki.. I mean come on ..

Thank you for at least explaining that much, However my final question was how do you specify smelt chance of your ore?


RE: Ores, Ingots, Skill Requirements? - darksun84 - 05-11-2012 04:12 PM

i wasn't sarcastic Shock


RE: Ores, Ingots, Skill Requirements? - Reflex - 05-11-2012 04:19 PM

Oh, sorry for the assumption. I'm just getting really angry at all of this between fixing armors and ores and fucking with the crafting menus. I've just seen people say RTFM to many people including myself and it gets old ;p Sorry I apologize.
I no joke have been working on blacksmithing for 2 days or so just staring at scripts replicating and modifying the same bullshit and now come to the end and not able to figure out these damn crafting dialogs and smelt chance just got me really pissed ;p


RE: Ores, Ingots, Skill Requirements? - Barnabus - 05-11-2012 08:39 PM

Aye 9 at 1 and 30 at 80.0 LOL, that sounds about rite, TA darksun84. LOL @ Wiki vs my imagination. Big GrinBig GrinBig Grin
LOL I wonder then if ....
SKILL=0.1,50.0
AMOUNT=9,0
Does what I imagined :>
Reflex your not supposed to eat the pickaxe! Tongue