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
spawning plants and vegtables
Author Message
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #1
spawning plants and vegtables
whats the right way to spawn plants and vegtables so they regrow?

what does "max amount" and "spawn rate" actually do?

Dragons of Time 2000-2020
http://dragonsoftime.com
11-20-2016 08:04 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #2
RE: spawning plants and vegtables
I never paid too much attention to growing plants because I never had used this

but usually I would recommend use spawns with t_spawn_item, it works exactly like char spawns (t_spawn_char) but of course t_spawn_item will spawn items instead chars

MOREX = min time (in minutes)
MOREY = max time (in minutes)
MOREZ = max distance
MORE1 = itemdef to create
MORE2 = item amount
AMOUNT = qty of items/piles to create
11-20-2016 01:26 PM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #3
RE: spawning plants and vegtables
im talking regrowing plants...

for farms

Dragons of Time 2000-2020
http://dragonsoftime.com
11-20-2016 10:18 PM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #4
RE: spawning plants and vegtables
you just need to spawn an item that have typedef t_crops and set the timer on @Create, the plant will grow automatically when the timer reach 0

TDATA1 = reset item id when the crop die / get eaten / etc
TDATA2 = next item id to evolve into
TDATA3 = item id of the final resource / fruit / etc
11-21-2016 05:05 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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