SphereCommunity
Adding trash to the ocean - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Adding trash to the ocean (/Thread-Adding-trash-to-the-ocean)



Adding trash to the ocean - PePs1Man - 11-19-2017 09:05 AM

Hello everyone, I may need help for something simple, that I've succeded to do in the past but now, it won't work.

To be brief, I modified the sphere_region.scp to add/modify:
Code:
[REGIONRESOURCE mr_fish1]
AMOUNT=1,5        // This many...
REAP=i_fish_big_1  // ...of this item...
REAPAMOUNT=1,5
SKILL=10.0,100.0    // ...can be harvested if the player has this much skill.
REGEN=60*60

[REGIONRESOURCE mr_fish2]
AMOUNT=1,5
REAP=i_fish_big_2
REAPAMOUNT=1,5
SKILL=10.0,100.0
REGEN=60*60

[REGIONRESOURCE mr_fish3]
AMOUNT=1,5
REAP=i_fish_big_3
REAPAMOUNT=1,5
SKILL=10.0,100.0
REGEN=60*60

[REGIONRESOURCE mr_fish4]
AMOUNT=1,5
REAP=i_fish_big_4
REAPAMOUNT=1,5
SKILL=10.0,100.0
REGEN=60*60

[REGIONRESOURCE mr_trash1]
AMOUNT=1,1
REAP=i_boots_calf
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash2]
AMOUNT=1,1
REAP=i_boots_fur
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash3]
AMOUNT=1,1
REAP=i_sandals
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash4]
AMOUNT=1,1
REAP=i_boots_thigh
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash5]
AMOUNT=1,1
REAP=i_boots_tabi
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash6]
AMOUNT=1,1
REAP=i_bandana
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash7]
AMOUNT=1,1
REAP=i_bonnet
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash8]
AMOUNT=1,1
REAP=i_cap
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash9]
AMOUNT=1,1
REAP=i_hat_feather
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash10]
AMOUNT=1,1
REAP=i_hat_wide_brim
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash11]
AMOUNT=1,1
REAP=i_hat_wizards
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash12]
AMOUNT=1,1
REAP=i_mask_orc
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash13]
AMOUNT=1,1
REAP=i_mask_blue
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash14]
AMOUNT=1,1
REAP=i_mask_tribal_red
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

Code:
[REGIONTYPE r_default_water t_water]
RESOURCES=1.0 mr_nothing  // Most of the time fishing produces nothing.
RESOURCES=1.0 mr_fish1
RESOURCES=1.0 mr_fish2
RESOURCES=1.0 mr_fish3
RESOURCES=1.0 mr_fish4
RESOURCES=5.0 mr_trash1
RESOURCES=5.0 mr_trash2
RESOURCES=5.0 mr_trash3
RESOURCES=10.0 mr_trash4
RESOURCES=10.0 mr_trash5
RESOURCES=10.0 mr_trash6
RESOURCES=10.0 mr_trash7
RESOURCES=10.0 mr_trash8
RESOURCES=10.0 mr_trash9
RESOURCES=2.5 mr_trash10
RESOURCES=2.5 mr_trash11
RESOURCES=5.0 mr_trash12
RESOURCES=5.0 mr_trash13
RESOURCES=5.0 mr_trash14

[REGIONTYPE r_water t_water]
RESOURCES=1.0 mr_nothing  // Most of the time fishing produces nothing.
RESOURCES=1.0 mr_fish1
RESOURCES=1.0 mr_fish2
RESOURCES=1.0 mr_fish3
RESOURCES=1.0 mr_fish4
RESOURCES=5.0 mr_trash1
RESOURCES=5.0 mr_trash2
RESOURCES=5.0 mr_trash3
RESOURCES=10.0 mr_trash4
RESOURCES=10.0 mr_trash5
RESOURCES=10.0 mr_trash6
RESOURCES=10.0 mr_trash7
RESOURCES=10.0 mr_trash8
RESOURCES=10.0 mr_trash9
RESOURCES=2.5 mr_trash10
RESOURCES=2.5 mr_trash11
RESOURCES=5.0 mr_trash12
RESOURCES=5.0 mr_trash13
RESOURCES=5.0 mr_trash14

.show region.events -- gives me the correct events

Tried fishing at different skill level with/without GM mode. no luck, I still get the only 4 default fish.

Is it me? or is it an issue?

Sphere tables was modified to point out to my new version :
Code:
scripts/custums/c_sphere_region.scp

//scripts/sphere_region.scp

any clues?


RE: Adding trash to the ocean - darksun84 - 11-19-2017 08:17 PM

Probably you need to restart the server