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
Loot Chests
Author Message
Jozack
Apprentice
*

Posts: 34
Likes Given: 15
Likes Received: 0 in 0 posts
Joined: Apr 2017
Reputation: 0



Post: #1
Loot Chests
My eyes are bleeding....I can't make this work. I'm sure it's something simple, but it's making me crazy. Someone help!

Code:
[DEFNAME i_loot_chest]
random_loot_test { i_bow_vanq }

[TEMPLATE i_loot_chest]
CATEGORY=Item Templates
SUBSECTION= New Loot Templates
DESCRIPTION=Test Template
container = i_chest_metal
ITEM = i_bow_vanq
04-29-2017 07:34 AM
Find all posts by this user Like Post Quote this message in a reply
pointhz
Journeyman
*

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



Post: #2
RE: Loot Chests
What do you want to make work? .add i_loot_chest should add the container and the bow inside.
04-29-2017 08:53 AM
Find all posts by this user Like Post Quote this message in a reply
Jozack
Apprentice
*

Posts: 34
Likes Given: 15
Likes Received: 0 in 0 posts
Joined: Apr 2017
Reputation: 0



Post: #3
RE: Loot Chests
Well I thought it would.....but it does not. I'm missing something....just don't know what. It's making me crazy.

Correction....it DOES do that. But what I want to do is make a worldgem bit and have the chest be a spawn item.

Okay, another correction....I got it to work as a worldgem bit.....BUT.....the entire chest is able to be picked up by a normal player. I only want the item inside to be taken. When said item has been removed, I want THAT chest to disappear before another one spawns....at whatever interval I give it. Is that something that can be accomplished?
(This post was last modified: 04-29-2017 09:41 AM by Jozack.)
04-29-2017 09:10 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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