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
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #8
RE: Trying to make a "gift chest"
Why do you want the chest decaying? As it is now it is invisible. Players won't see the chest unless there is an item inside it, what only happens after X seconds.

To be honest I dont like worldgem bits. If you want you can just add the chest to the worldgem bit and change the script to this:

[ITEMDEF i_loot_chest]
ID=i_chest_metal_brass
NAME=Loot Chest
TYPE=t_container

ON=@CREATE
ATTR=attr_move_never|attr_decay
NEWITEM=i_bow_vanq
NEW.CONT=<UID>

ON=@PickUp_Self
IF (<COUNT>=0)
REMOVE
UPDATE
ENDIF
05-03-2017 06:58 AM
Find all posts by this user Like Post Quote this message in a reply
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" - pointhz - 05-03-2017 06:58 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: 2 Guest(s)