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-nmm6 (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-nmm6 (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-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Locked Containers with Loot
Author Message
Hustensaft
Apprentice
*

Posts: 24
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2013
Reputation: 0



Post: #1
Locked Containers with Loot
Hi all,

i'm planning to add some locked Containers with a little Gold for some thieving in Dungeons. Now i face some problems and i have no idea how to solve them.

Code:
[ITEMDEF i_loot_barrel]
ID=i_barrel
NAME=Ancient Barrel
TYPE=T_CONTAINER_LOCKED

1. Problem with this line, if i spawn this Container, it is not locked and is t_container, not t_container_locked

Code:
CATEGORY=Staff
SUBSECTION=Dungeons
DESCRIPTION=Loot Barrel

ON=@Create
    ATTR=attr_decay|attr_move_never

2. Problem with this line, Server gives an error, Decay Flag without timer. I have to use a timer to set the decay time?

Code:
    color=0349    
    MORE1=01
    MORE2=0350

Sphere Wiki says, the last line is the difficulty to unlock the container. Does this mean, e.g. 0350 stands for at least 35,0% in lockpicking needed?

Code:
    NEWITEM=i_gold,{100 200}
        ...?

Here i am totally stuck. How do i get some Gold inside this container?
04-28-2013 11:30 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Locked Containers with Loot - Hustensaft - 04-28-2013 11:30 AM
RE: Locked Containers with Loot - RanXerox - 04-28-2013, 12:32 PM

Forum Jump:


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