Default Resource Trading fixed script
Modified version of[url=https://steamcommunity.com/sharedfiles/filedetails/?id=3585492349] Default Resource Trading fixed [/url] for When you want to use something like Industrial DLC Improved Resource Trading with something that needs this
technical explanation
This version is for those who have their own add-on that replaces the Default Resource Trading add-on and need Default Resource Trading fixed
If it throws an error when you load the world, it should be fine.
how to use
1 go to the world creation screen
2 click on the button "Enabled Addons"
3 deselect the mission "Default Resource Trading"
4 go to the workshop tab
5 select "Default Resource Trading fixed script"
6 go back and create your world
How to make your own seller
diesel
sell type=trade,transaction=buy,business=manufacturer,resource=diesel
buy type=trade,transaction=sell,business=manufacturer,resource=diesel
jet fuel
sell type=trade,transaction=buy,business=manufacturer,resource=jet
buy type=trade,transaction=sell,business=manufacturer,resource=jet
oil
sell type=trade,transaction=buy,business=manufacturer,resource=oil
buy type=trade,transaction=sell,business=manufacturer,resource=oil
fish
buy type=trade,transaction=sell,business=consumer,resource=fish
sell type=trade,transaction=sell,business=consumer,resource=coal,coal_type=
ore
sell type=trade,transaction=buy,business=consumer,resource=coal,coal_type=
buy type=trade,transaction=sell,business=consumer,resource=coal,coal_type=
For ore or fish seller simply add one of these numbers at the end.
0 = Coal $2
6 = Iron $100
7 = Steel $150.0
8 = Aluminium $85.0
9 = Impure Gold $150.0
10 = Gold $2000.0
12= Propellant $80
No other ores or ingots have a price in the base game, so it will break if their numbers are entered.
If you put this in the vehicle tag space in the add-on editor, it should create a seller.
The seller will also need a liquid tank or hopper, depending on what you are selling, because that is where the items will appear, and it must also be named Tank. You will also need a small keypad with the name Price, where the price of what you are selling will appear.
If you use this add-on, you can create sellers for all of this.
Most of it for now has a price set at 2. If you want to make a seller for something that has a temporary price, let me know and I'll fix it.
If you want normal sale locations to appear use this version. [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3585492349] Default Resource Trading fixed [/url]
ore
0 = coal, $2
1 = iron, $100
2 = aluminium, $200
3 = gold, $50
4 = gold_dirt, $30
5 = uranium, $200
ingot
6 = ingot_iron, $70
7 = ingot_steel, $150.0
8 = ingot_aluminium, $85.0
9 = ingot_gold_impure, $150.0
10 = ingot_gold, $2000.0
11 = ingot_uranium, $300
12 = solid_propellant, $80
fish
13 = anchovie,
14 = anglerfish,
15 = arctic_char,
16 = ballan_lizardfish,
17 = ballan_wrasse,
18 = barreleye_fish,
19 = black_bream,
20 = black_dragonfish,
21 = clown_fish,
22 = cod,
23 = dolphinfish,
24 = gulper_eel,
25 = haddock,
26 = hake,
27 = herring,
28 = john_dory,
29 = labrus,
30 = lanternfish,
31 = mackerel,
32 = midshipman,
33 = perch,
34 = pike,
35 = pinecone_fish,
36 = pollock,
37 = red_mullet,
38 = rockfish,
39 = sablefish,
40 = salmon,
41 = sardine,
42 = scad,
43 = sea_bream,
44 = sea_halibut,
45 = sea_piranha,
46 = seabass,
47 = slimehead,
48 = snapper,
49 = snapper_gold,
50 = snook,
51 = spadefish,
52 = trout,
53 = tubeshoulders_fish,
54 = viperfish,
55 = yellowfin_tuna,
56 = blue crab,
57 = brown_box_crab,
58 = coconut_crab,
59 = dungeness_crab,
60 = furry_lobster,
61 = homarus_americanus, (Atlantic Lobster)
62 = homarus_gammarus, (Common Lobster)
63 = horseshoe_crab,
64 = jasus_edwardsii, (Red Rock Lobster)
65 = jasus_lalandii, (Cape Rock Lobster)
66 = jonah_crab,
67 = king_crab,
68 = mud_crab,
69 = munida_lobster,
70 = ornate_rock_lobster,
71 = panulirus_interruptus,
72 = red_king_crab,
73 = reef_lobster,
74 = slipper_lobster,
75 = snow_crab,
76 = southern_rock_lobster,
77 = spider_crab,
78 = spiny_lobster,
79 = stone_crab