Size: 17985
Comment:
|
Size: 19793
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
== buyPrice(0) == ||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start; " tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">city.buyPrice(0) || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">city.buyPrice(0) || Refers to the current price of food. Script echo "food costs"city.buyPrice(2) Output 19:03:29 food costs 15.62 Example of usage label start 1: ifgoto city.buyPrice(2) >= 1 sellfood 2: sleep 50 3: loop start label sellfood 4: sell food 1000 1 5: goto start |
|
Line 9: | Line 47: |
Description goes here. | Refers to the current price of wood. Script echo "wood costs"city.buyPrice(2) Output 19:03:29 wood costs 15.62 Example of usage label start 1: ifgoto city.buyPrice(2) >= 1 sellwood 2: sleep 50 3: loop start label sellwood 4: sell wood 1000 1 5: goto start |
Line 16: | Line 83: |
Description goes here. | Refers to the current price of stone. Script echo "stone costs"city.buyPrice(2) Output 19:03:29 stone costs 15.62 Example of usage label start 1: ifgoto city.buyPrice(2) >= 1 sellstone 2: sleep 50 3: loop start label sellstone 4: sell stone 1000 1 5: goto start |
Line 30: | Line 126: |
Description goes here. | Refers to the current price of iron. Script echo "iron costs"city.buyPrice(2) Output 19:03:29 iron costs 15.62 Example of usage label start 1: ifgoto city.buyPrice(2) >= 1 selliron 2: sleep 50 3: loop start label selliron 4: sell iron 1000 1 5: goto start |
Contents
- buyPrice(0)
- buyPrice(1)
- buyPrice(2)
- buyPrice(3)
- sellPrice(food)
- tradesArray.length
- tradesArray[0].amount
- tradesArray[1].amount
- tradesArray[2].amount
- tradesArray[6].amount
- tradesArray[0].resType
- tradesArray[0].tradeType
- tradesArray[0].resourceName
- tradesArray[0].price
- tradesArray[0].id
- tradesArray[0].tradeTypeName
- tradesArray[0].dealedAmount
- tradesArray[0].dealedTotal
- transingTradesArray.length
- transingTradesArray[0].amount
- transingTradesArray[0].endTime
- transingTradesArray[0].resourceName
- transingTradesArray[0].price
- transingTradesArray[0].total
- transingTradesArray[0].id
- transingTradesArray[0].resType
buyPrice(0)
Usage: |
city.buyPrice(0) |
Example: |
city.buyPrice(0) |
Refers to the current price of food.
Script
echo "food costs"city.buyPrice(2)
Output
19:03:29 food costs 15.62
Example of usage
label start
1: ifgoto city.buyPrice(2) >= 1 sellfood
2: sleep 50
3: loop start
label sellfood
4: sell food 1000 1
5: goto start
buyPrice(1)
Usage: |
city.buyPrice(1) |
Example: |
city.buyPrice(1) |
Refers to the current price of wood.
Script
echo "wood costs"city.buyPrice(2)
Output
19:03:29 wood costs 15.62
Example of usage
label start
1: ifgoto city.buyPrice(2) >= 1 sellwood
2: sleep 50
3: loop start
label sellwood
4: sell wood 1000 1
5: goto start
buyPrice(2)
Usage: |
city.buyPrice(2) |
Example: |
city.buyPrice(2) |
Refers to the current price of stone.
Script
echo "stone costs"city.buyPrice(2)
Output
19:03:29 stone costs 15.62
Example of usage
label start
1: ifgoto city.buyPrice(2) >= 1 sellstone
2: sleep 50
3: loop start
label sellstone
4: sell stone 1000 1
5: goto start
buyPrice(3)
Usage: |
city.buyPrice(3) |
Example: |
city.buyPrice(3) |
Description goes here.
sellPrice(food)
Usage: |
city.sellPrice(food) |
Example: |
city.sellPrice(food) |
Refers to the current price of iron.
Script
echo "iron costs"city.buyPrice(2)
Output
19:03:29 iron costs 15.62
Example of usage
label start
1: ifgoto city.buyPrice(2) >= 1 selliron
2: sleep 50
3: loop start
label selliron
4: sell iron 1000 1
5: goto start
tradesArray.length
Usage: |
city.tradesArray.length |
Example: |
city.tradesArray.length |
Description goes here.
tradesArray[0].amount
Usage: |
city.tradesArray[0].amount |
Example: |
city.tradesArray[0].amount |
Description goes here.
tradesArray[1].amount
Usage: |
city.tradesArray[1].amount |
Example: |
city.tradesArray[1].amount |
Description goes here.
tradesArray[2].amount
Usage: |
city.tradesArray[2].amount |
Example: |
city.tradesArray[2].amount |
Description goes here.
tradesArray[6].amount
Usage: |
city.tradesArray[6].amount |
Example: |
city.tradesArray[6].amount |
Description goes here.
tradesArray[0].resType
Usage: |
city.tradesArray[0].resType |
Example: |
city.tradesArray[0].resType |
Description goes here.
tradesArray[0].tradeType
Usage: |
city.tradesArray[0].tradeType |
Example: |
city.tradesArray[0].tradeType |
Description goes here.
tradesArray[0].resourceName
Usage: |
city.tradesArray[0].resourceName |
Example: |
city.tradesArray[0].resourceName |
Description goes here.
tradesArray[0].price
Usage: |
city.tradesArray[0].price |
Example: |
city.tradesArray[0].price |
Description goes here.
tradesArray[0].id
Usage: |
city.tradesArray[0].id |
Example: |
city.tradesArray[0].id |
Description goes here.
tradesArray[0].tradeTypeName
Usage: |
city.tradesArray[0].tradeTypeName |
Example: |
city.tradesArray[0].tradeTypeName |
Description goes here.
tradesArray[0].dealedAmount
Usage: |
city.tradesArray[0].dealedAmount |
Example: |
city.tradesArray[0].dealedAmount |
Description goes here.
tradesArray[0].dealedTotal
Usage: |
city.tradesArray[0].dealedTotal |
Example: |
city.tradesArray[0].dealedTotal |
Description goes here.
transingTradesArray.length
Usage: |
city.transingTradesArray.length |
Example: |
city.transingTradesArray.length |
Description goes here.
transingTradesArray[0].amount
Usage: |
city.transingTradesArray[0].amount |
Example: |
city.transingTradesArray[0].amount |
Description goes here.
transingTradesArray[0].endTime
Usage: |
city.transingTradesArray[0].endTime |
Example: |
city.transingTradesArray[0].endTime |
Description goes here.
transingTradesArray[0].resourceName
Usage: |
city.transingTradesArray[0].resourceName |
Example: |
city.transingTradesArray[0].resourceName |
Description goes here.
transingTradesArray[0].price
Usage: |
city.transingTradesArray[0].price |
Example: |
city.transingTradesArray[0].price |
Description goes here.
transingTradesArray[0].total
Usage: |
city.transingTradesArray[0].total |
Example: |
city.transingTradesArray[0].total |
Description goes here.
transingTradesArray[0].id
Usage: |
city.transingTradesArray[0].id |
Example: |
city.transingTradesArray[0].id |
Description goes here.
transingTradesArray[0].resType
Usage: |
city.transingTradesArray[0].resType |
Example: |
city.transingTradesArray[0].resType |
Description goes here.
m_context.sellPrice(0)
m_context.buyPrice(0)
m_context.sellPrice(1)
m_context.buyPrice(1)
m_context.sellPrice(2)
m_context.buyPrice(2)
m_context.sellPrice(3)
m_context.buyPrice(3)