SphereCommunity
Loot Chests - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Loot Chests (/Thread-Loot-Chests)



Loot Chests - Jozack - 04-29-2017 07:34 AM

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



RE: Loot Chests - pointhz - 04-29-2017 08:53 AM

What do you want to make work? .add i_loot_chest should add the container and the bow inside.


RE: Loot Chests - Jozack - 04-29-2017 09:10 AM

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?