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-nmm8 (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-nmm8 (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-nmm8 (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
Parameter
Author Message
fabiohvp
Apprentice
*

Posts: 23
Likes Given: 11
Likes Received: 5 in 4 posts
Joined: Jul 2018
Reputation: 0



Post: #2
RE: Parameter
If I understood your question right, it is in sphere_region, you can assign the chance of getting each resource:
[REGIONRESOURCE mr_tree]
AMOUNT=9,30
REAP=i_log
REAPAMOUNT=1,3
SKILL=1.0,80.0
REGEN=60*60*10

this says the skill needed to chop this kind of log, the amount and time it takes to respawn

[REGIONTYPE r_default_tree t_tree]
// All trees produce wood by default.
RESOURCES=60.0 mr_nothing
RESOURCES=40.0 mr_tree

this says you have 40.0% of chance when you hack a tree to spawn a mr_tree instance and 60.0% of chance to spawn a mr_nothing (which will get you the message "fail to produce any useable wood")
08-07-2018 12:19 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Parameter - PurpleHaze - 08-07-2018, 02:50 AM
RE: Parameter - fabiohvp - 08-07-2018 12:19 PM
RE: Parameter - PurpleHaze - 08-08-2018, 06:08 AM
RE: Parameter - azmanomer - 08-09-2018, 03:01 AM

Forum Jump:


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