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
Trying to make a "gift chest"
Author Message
Coruja
Sphere Developer
*****

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

Dimension Shard

Post: #6
RE: Trying to make a "gift chest"
ATTR 08010 is the same of 08000 (attr_static) + 010 (attr_move_never). Probably you're trying to make it decay using an timer, so you also must use 02 (attr_decay). Anyway, attr_static is useless in this case so if you use only 012 (attr_move_never + attr_decay) will be enough

PS¹: to make things "more readable" you can write ATTR=attr_move_never|attr_decay instead ATTR=012
PS²: on sphere_defs.scp you can find all these attr_* values and on sphere_template.scp you can find the templates to create random items (eg: random_weapon_vanq, random_bowtype_vanq, etc)
05-03-2017 03:10 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Coruja's post
Post Reply 


Messages In This Thread
Trying to make a "gift chest" - Jozack - 04-30-2017, 02:50 PM
RE: Trying to make a "gift chest" - Jozack - 05-01-2017, 10:45 AM
RE: Trying to make a "gift chest" - Coruja - 05-01-2017, 04:20 PM
RE: Trying to make a "gift chest" - Jozack - 05-02-2017, 01:03 PM
RE: Trying to make a "gift chest" - Coruja - 05-03-2017 03:10 AM
RE: Trying to make a "gift chest" - Jozack - 05-03-2017, 04:16 AM
RE: Trying to make a "gift chest" - Jozack - 05-03-2017, 08:54 AM
RE: Trying to make a "gift chest" - Jozack - 05-03-2017, 09:39 AM
RE: Trying to make a "gift chest" - Coruja - 05-03-2017, 10:48 AM

Forum Jump:


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