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
lumberjack problem
Author Message
Abuelox
Journeyman
*

Posts: 64
Likes Given: 0
Likes Received: 7 in 7 posts
Joined: Apr 2010
Reputation: 0

Alteria Games

Post: #2
RE: lumberjack problem
use
Code:
if !(<act.UsesMax> == 0)
ACT.MESSAGE @66,0,1 [Uses <act.UsesCur> / <act.UsesMax>]
endif

You need too make UsesMax on @create in any tool.

Example:

Code:
[ITEMDEF 0e85]
DEFNAME=i_pickaxe
TYPE=t_weapon_mace_pick
DAM=13,15
FLIP=1
SKILL=Swordsmanship
SPEED=44
//TAG.OVERRIDE.SPEED=30
VALUE=24
WEIGHT=5.0
TWOHANDS=N
RESOURCES=4 i_ingot_iron,1 i_log
SKILLMAKE=Tinkering 40.0,t_tinker_tools
CATEGORY=Provisions - Weapons
SUBSECTION=Swordsmanship
DESCRIPTION=PickAxe
ReqStr=30
TEVENTS=t_equipitem
DUPELIST=0e86
ON=@Create
   HITPOINTS={36 48}
   UsesMax=50
(This post was last modified: 03-12-2018 04:06 AM by Abuelox.)
03-12-2018 04:05 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Abuelox's post
Post Reply 


Messages In This Thread
lumberjack problem - jexnico - 03-12-2018, 02:38 AM
RE: lumberjack problem - Abuelox - 03-12-2018 04:05 AM
RE: lumberjack problem - jexnico - 03-12-2018, 04:14 AM
RE: lumberjack problem - Abuelox - 03-12-2018, 10:40 AM
RE: lumberjack problem - jexnico - 03-13-2018, 06:54 AM

Forum Jump:


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