• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

How to modd store in COAS

maybe u can look in the initStore.txt (\Age of Pirates 2\Program\STORE)

For mine, i changed it like this:-

case TRADE_TYPE_NORMAL:
pRef.Goods.(goodName).Quantity = 40000 + Rand(2500) + rand(500); // boal

case TRADE_TYPE_EXPORT:
pRef.Goods.(goodName).Quantity = 100000 + Rand(4000)+ rand(6000); // boal

case TRADE_TYPE_IMPORT:
pRef.Goods.(goodName).Quantity = 12000 + Rand(500) + rand(500); // boal

case TRADE_TYPE_CONTRABAND:
pRef.Goods.(goodName).Quantity = 1+Rand(50)*sti(goods.Units);// boal

case TRADE_TYPE_AMMUNITION:
pRef.Goods.(goodName).Quantity = 2000 + Rand(2500) + rand(500); // boal

case TRADE_TYPE_CANNONS:
pRef.Goods.(goodName).Quantity = 200 + Rand(50) + rand(50); // boal

Basically adding one or two zero on the line (Quantity = ). I guess adding 1 zero multiplied everything by 10.
I start a new game and i have abundance of foods.
 
Back
Top