Snakeman 160 Posted March 15, 2019 Posted March 15, 2019 (edited) Map: Military Complex Hey Devs i have to report something about stashes in custom maps, the addContainer function seems not work. require "StashDescriptions/StashUtil"; -- guns local stashMap1 = StashUtil.newStash("McStashMap1", "Map", "Base.MilitaryComplexMap", "Stash_AnnotedMap"); stashMap1.buildingX = 5439; stashMap1.buildingY = 9213; stashMap1.spawnTable = "GunCache1"; stashMap1:addContainer("GunBox",nil,"Base.Duffelbag",nil,5440,9214,0); stashMap1:addStamp("media/ui/LootableMaps/map_x.png",nil,241,588,0,0,0); stashMap1:addStamp(nil,"Stash_McMap1_Text1",221,630,0,0,0); Stamps works good Another Test: I modify the construction coords and the container spawn coords to a vanilla construction and works. Now i know the code works only in vanilla construction and coords. It's a Bug!!! (Please Fix that to make awesome things with this system in custom maps) Edited March 15, 2019 by Snakeman Quote Share this post Link to post Share on other sites