Project Zomboid

Project Zomboid

435 ratings
Advanced Trading Post
   
Award
Favorite
Favorited
Unfavorite
Tags: Mod
File Size
Posted
Updated
470.801 KB
May 9, 2017 @ 8:05pm
Sep 5, 2018 @ 4:49am
19 Change Notes ( view )

Subscribe to download
Advanced Trading Post

Description
This Mod Spawns an Advanced Tradning Post in some locations on the map
The Trading Post can be admin Spawned and placed, but see screenshot for default spawn locations.

admin character can type
/additem "ATP.AdvancedTradingPost"
to spawn a trading post in their inventory. then right click on it from inventory menu and choose "Set Up"

A Trading Post will spawn with some random loot in it already. Inventory is properly tracked after spawning and there is no creating / buying items out of thin air. If someone sells, the stock of sold items increase, and bought items stock decreases. More stock of a perticular item means lower sell and buy price, while lower stock means higher than normal price. There is no $ or cash involved, you can't eat money or kill zombies with it, just goods for goods.

How to use the Advanced Trading Post:

Drop Items you wish to offer as trade in the Trading Post and the right click on it from the inventory menu for Options. From inventory menu, You will be able to see all the inventory of the trade post group by categories. Anything you cannot afford based on the appraised value of your offering will be shown in red and disabled.

In general, sell value is 10% less than buy value

Once you select an item and quanitity you can afford. The trade post man will remove items from the offering container until the required value for the desired items is met, then he will put your purchased items into the publicly accessable side of the container of the trading post

Dontate Contents Option will put anything in the Trade post container into the locked inventory (Admin can stock the trade post with this)

Show Inventory Option will bring up a window displaying the Trade posts full inventory

NOTES:

Tested and working in MP

This trading post does not use any recipies or cash. It works by simply exchanging items that have defined values (Not all items have defined values yet. I could use some help with this)

Unless a value has been set for an item, its asummed to be worthless
Most Base game items have values set, and a small amount of Hydrocraft items.
More to come in time.

Can easily be compatible with items from any Mod. When this mod is enabled a global table variable called "ItemValueTable" will be available for you to add item values to any items in your own mods via lua like this:

ItemValueTable["ORGM.BBs"] = 10.00;
ItemValueTable["ORGM.BBCan"] = 20.00;
ItemValueTable["ORGM.22Box"] = 0.50;
ItemValueTable["ORGM.22Can"] = 3.00;

Enjoy!
~Nolan

Workshop ID: 922781416
Mod ID: ATP
128 Comments
thesimphany Dec 28, 2024 @ 4:13pm 
Please consider to keep a build 41 Version for those of us That will be remaining on Build 41 And the servers and files we have used for Years
Alce Dec 11, 2024 @ 6:13pm 
Actually i think its working here!! Thanks
Alce Dec 11, 2024 @ 5:18pm 
I love the idea? Does it work? Please update for b41 <3
soulwalker214 Nov 15, 2023 @ 1:46am 
doesn't work tried multiple times to spawn it in my inventory and it says its not an item. even went as far to not only double check but triple check it was on and enabled
Camoblast Oct 16, 2023 @ 12:30am 
does this work in Sp.i have it in and i found the TP at Muldraugh gas Station.so how do i get the trader up...i can see the trading post but have no way of accessing?
BrainBusta Apr 18, 2023 @ 3:43am 
Item able to spawn in inventory, unable to "set up" trading post :Kenny:
WhiskeyNights Mar 11, 2023 @ 7:26am 
I can spawn the item, but not set it up in 41
Large Sep 9, 2022 @ 10:18am 
cant even find the trading posts that are already in the map lol
Large Sep 9, 2022 @ 10:15am 
Item does not exist when i try to spawn a new trading post
ROTCTH SPECIAL Apr 1, 2022 @ 12:13pm 
it work for Build 41?