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: #2
RE: Trying to make a "gift chest"
add this and see if it works. forget the worldgem bit. didnt test

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

ON=@CREATE
ATTR=08010
COLOR=07a1
NEWITEM=random_loot_test
NEW.CONT=<UID>

ON=@PickUp_Self
IF (<COUNT>==0)
ATTR=08090
UPDATE
TIMER=300 // Respawn time, in seconds
ENDIF

ON=@TIMER
ATTR=08010
NEWITEM=random_loot_test
NEW.CONT=<UID>
TIMER=-1
(This post was last modified: 05-01-2017 03:50 AM by pointhz.)
05-01-2017 03:42 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 2 users Like pointhz'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" - pointhz - 05-01-2017 03:42 AM
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: 2 Guest(s)