The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
lumber (skill make)
Author Message
Crusader
Master
**

Posts: 254
Likes Given: 7
Likes Received: 19 in 12 posts
Joined: Apr 2012
Reputation: 6

Erehwon New Hera

Post: #2
RE: lumber (skill make)
well....u have to do several things:

first in sphere_region.scp u have to add the following:
[REGIONTYPE r_default_tree t_tree]
// All tress produce wood by default.
RESOURCES=1.0 mr_tree
RESOURCES=50.0 ur_test // the number 50.0 means only the % of how many u find in a forest
RESOURCES=50.0 another_test


then u have to add the following items:

[ITEMDEF i_test_log]
NAME=test log
TYPE=t_log
ID=i_log
WEIGHT=1

ON=@CREATE
COLOR=012

[ITEMDEF i_another_log]
NAME=Another test log
TYPE=t_log
ID=i_log
WEIGHT=1

ON=@CREATE
COLOR=020


and finally the regionsource:

[REGIONRESOURCE ur_test]
// lumberjacking default
// t_tree
SKILL=1.0,70.0 // i can take this from 1 of skill, at 70.0 i will more likely take the highest amount (14)
AMOUNT=7,14
REAP=i_test_log
REGEN=60*60*10

[REGIONRESOURCE another_test]
// t_tree
SKILL=60.0,80.0 // i can take this from 60.0 of skill
AMOUNT=4,8
REAP=i_another_log
REGEN=60*60*10


Try Smile
(This post was last modified: 01-30-2013 09:28 AM by Crusader.)
01-27-2013 10:40 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
lumber (skill make) - mrkarlo - 01-27-2013, 09:25 AM
RE: lumber (skill make) - Crusader - 01-27-2013 10:40 PM
RE: lumber (skill make) - mrkarlo - 01-28-2013, 08:21 AM
RE: lumber (skill make) - Crusader - 01-28-2013, 09:44 AM
RE: lumber (skill make) - Skul - 01-29-2013, 02:09 PM
RE: lumber (skill make) - mrkarlo - 01-30-2013, 08:23 AM
RE: lumber (skill make) - Ultima One - 01-31-2013, 12:53 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)