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
pick and digg
Author Message
fabiohvp
Apprentice
*

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



Post: #6
RE: pick and digg
According to wiki you get that target (ground) by ARGN1
http://wiki.spherecommunity.net/index.ph...gOn_Ground

[ITEMDEF i_pickmagic]
ID=i_pickaxe
NAME=Magic Pickaxe

ON=@Create
MOREY=10

ON=@Targon_Ground
if (<serv.ITEMDEF.<ARGN1>.type>==t_terrain)
MOREY=(<eval <morey>>-1)
serv.log I can dig!
Return 0
else
serv.log Something wrong!
Return 1
endif
(This post was last modified: 07-31-2018 01:03 PM by fabiohvp.)
07-31-2018 01:03 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
pick and digg - PurpleHaze - 07-28-2018, 07:28 PM
RE: pick and digg - Darkyhood - 07-28-2018, 11:18 PM
RE: pick and digg - PurpleHaze - 07-29-2018, 06:55 AM
RE: pick and digg - Coruja - 07-29-2018, 04:24 PM
RE: pick and digg - PurpleHaze - 07-31-2018, 09:01 AM
RE: pick and digg - fabiohvp - 07-31-2018 01:03 PM
RE: pick and digg - PurpleHaze - 08-01-2018, 05:07 AM

Forum Jump:


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