• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Change Trader Open and Close Time - A19

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Guest
This is a 'quality of life' mod that allows you to decrease, increase, or simply shift the period of time a trader remains open.

Download: https://github.com/arramus/Change-Trader-Open-And-Close-Time-A19

A19 saw the traders receive their own specialisations and with this came unique IDs for each. You can set the trading time of each Trader on an individual basis as per your own specifications. This can make your server trading experience easier, more challenging, or more varied.

The current settings allow traders to open at 04:05 and close at 21:55.

For server hosts using the Compo Pack, please note that the 4 in 1 and 5 in 1 traders will restrict variation of individual traders and setting common trading hours is advisable.

Credits: Based on 'BloodiestCODY's: Always Open Traders Mod'

traders.xml

Code:
<config>
	<!--Set your own opening time-->
		<set xpath="/traders/trader_info[@id='1']/@open_time">04:05</set> <!--Trader Joel-->
		<set xpath="/traders/trader_info[@id='2']/@open_time">04:05</set> <!--Trader Jen-->
		<set xpath="/traders/trader_info[@id='6']/@open_time">04:05</set> <!--Trader Bob-->
		<set xpath="/traders/trader_info[@id='7']/@open_time">04:05</set> <!--Trader Hugh-->
		<set xpath="/traders/trader_info[@id='8']/@open_time">04:05</set> <!--Trader Rekt-->		
	<!--Set your own closing time-->
		<set xpath="/traders/trader_info[@id='1']/@close_time">21:55</set> <!--Trader Joel-->
		<set xpath="/traders/trader_info[@id='2']/@close_time">21:55</set> <!--Trader Jen-->
		<set xpath="/traders/trader_info[@id='6']/@close_time">21:55</set> <!--Trader Bob-->
		<set xpath="/traders/trader_info[@id='7']/@close_time">21:55</set> <!--Trader Hugh-->
		<set xpath="/traders/trader_info[@id='8']/@close_time">21:55</set> <!--Trader Rekt-->					
</config>
 
Last edited:
Back
Top