Home
last modified time | relevance | path

Searched refs:trade_potential (Results 1 – 3 of 3) sorted by relevance

/dports/games/augustus/augustus-3.1.0/src/empire/
H A Dcity.c252 int trade_potential = 0; in generate_trader() local
255 trade_potential += trade_route_limit(city->route_id, r); in generate_trader()
258 if (trade_potential <= 0) { in generate_trader()
261 int max_traders = calc_bound(trade_potential / RESOURCES_TO_TRADER_RATIO + 1, 1, 3); in generate_trader()
/dports/games/wyrmsun/Wyrmsun-3.5.4/scripts/
H A Dui.lua2847 …local trade_potential = GetPlayerData(GetThisPlayer(), "TradePotentialWith", GetUnitVariable(-2, "…
2849 if (trade_potential < 100) then
2851 elseif (trade_potential < 800) then
2853 elseif (trade_potential < 4000) then
2858 trade_potential_description = trade_potential_description .. " (" .. trade_potential .. ")"
2870 …local trade_potential = GetPlayerData(GetThisPlayer(), "TradePotentialWith", GetUnitVariable(-2, "…
2872 if (trade_potential < 100) then
2874 elseif (trade_potential < 800) then
2876 elseif (trade_potential < 4000) then
2881 trade_potential_description = trade_potential_description .. " (" .. trade_potential .. ")"
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/stratagus/
H A Dplayer.cpp3443 int trade_potential = 0; in GetTradePotentialWith() local
3449 trade_potential += price_difference * 100; in GetTradePotentialWith()
3452 trade_potential = std::max(trade_potential, 10); in GetTradePotentialWith()
3454 return trade_potential; in GetTradePotentialWith()