49ers OXP - The Oolite Gold Rush (was: Ore processor)
Posted: Mon Dec 25, 2006 3:24 pm
edit:
Download the Ore Processor v.1.03
It works.
Thanks to those who helped and tested.
-----
I've been thinking about an ore processor to make mining more profitable. Here are some of my latest ideas on the subject.
...\Oolite\AddOns\Ore_processor.oxp\Config\equipment.plist
...\Oolite\AddOns\Ore_processor.oxp\Config\shipdata.plist
Do I have to make a script which tests for the presence of the equipment and then passes the result to the condition check in the shipdata, or can this be done without a script?
Any suggestions on the shipdata or a script? I might have overlooked something, which prevents this idea from working.
Does anybody know, if it's possible to have equipment take up space, like the passenger cabins do?
Download the Ore Processor v.1.03
It works.
Thanks to those who helped and tested.
-----
I've been thinking about an ore processor to make mining more profitable. Here are some of my latest ideas on the subject.
...\Oolite\AddOns\Ore_processor.oxp\Config\equipment.plist
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<array>
<integer>11</integer>
<integer>50000</integer>
<string>Ore Processor</string>
<string>EQ_ORE_PROCESSOR</string>
<string>Connects to the fuel scoops for instant extraction of higher valued materials from mined ore.</string>
</array>
</array>
</plist>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>op_splinter</key>
<dict>
<key>conditions</key>
<array>
<string>***the player is equipped with the ore processor***</string>
</array>
<key>ai_type</key>
<string>dumbAI.plist</string>
<key>bounty</key>
<integer>1</integer>
<key>cargo_type</key>
<string>CARGO_MINERALS</string>
<key>energy_recharge_rate</key>
<real>0.0</real>
<key>forward_weapon_type</key>
<string>WEAPON_NONE</string>
<key>has_ecm</key>
<false/>
<key>has_escape_pod</key>
<false/>
<key>has_scoop</key>
<false/>
<key>likely_cargo</key>
<integer>0</integer>
<key>max_cargo</key>
<integer>0</integer>
<key>max_energy</key>
<real>5</real>
<key>max_flight_pitch</key>
<real>1</real>
<key>max_flight_roll</key>
<real>1</real>
<key>max_flight_speed</key>
<real>10</real>
<key>missiles</key>
<integer>0</integer>
<key>model</key>
<string>splinter.dat</string>
<key>name</key>
<string>Splinter</string>
<key>roles</key>
<string>baseforopsplinter</string>
<key>smooth</key>
<true/>
<key>thrust</key>
<real>0.0</real>
<key>unpiloted</key>
<true/>
<key>weapon_energy</key>
<real>0.0</real>
<key>weapon_offset_x</key>
<real>0.0</real>
</dict>
<key>op_splinter2</key>
<dict>
<key>conditions</key>
<array>
<string>***the player is equipped with the ore processor***</string>
</array>
<key>ai_type</key>
<string>dumbAI.plist</string>
<key>bounty</key>
<integer>1</integer>
<key>cargo_type</key>
<string>CARGO_MINERALS</string>
<key>energy_recharge_rate</key>
<real>0.0</real>
<key>forward_weapon_type</key>
<string>WEAPON_NONE</string>
<key>has_ecm</key>
<false/>
<key>has_escape_pod</key>
<false/>
<key>has_scoop</key>
<false/>
<key>likely_cargo</key>
<integer>0</integer>
<key>max_cargo</key>
<integer>0</integer>
<key>max_energy</key>
<real>5</real>
<key>max_flight_pitch</key>
<real>1</real>
<key>max_flight_roll</key>
<real>1</real>
<key>max_flight_speed</key>
<real>10</real>
<key>missiles</key>
<integer>0</integer>
<key>model</key>
<string>splinter1.dat</string>
<key>name</key>
<string>Splinter</string>
<key>roles</key>
<string>baseforopsplinter2</string>
<key>smooth</key>
<true/>
<key>thrust</key>
<real>0.0</real>
<key>unpiloted</key>
<true/>
<key>weapon_energy</key>
<real>0.0</real>
<key>weapon_offset_x</key>
<real>0.0</real>
</dict>
<key>op_alloys</key>
<dict>
<key>like_ship</key>
<string>baseforopsplinter</string>
<key>cargo_type</key>
<string>CARGO_ALLOYS</string>
<key>roles</key>
<string>splinter(15.0)</string>
</dict>
<key>op_radioactives</key>
<dict>
<key>like_ship</key>
<string>baseforopsplinter</string>
<key>cargo_type</key>
<string>CARGO_RADIOACTIVES</string>
<key>roles</key>
<string>splinter(7.0)</string>
</dict>
<key>op_gold</key>
<dict>
<key>like_ship</key>
<string>baseforopsplinter</string>
<key>cargo_type</key>
<string>CARGO_GOLD</string>
<key>roles</key>
<string>splinter(4.0)</string>
</dict>
<key>op_platinum</key>
<dict>
<key>like_ship</key>
<string>baseforopsplinter</string>
<key>cargo_type</key>
<string>CARGO_PLATINUM</string>
<key>roles</key>
<string>splinter(3.3)</string>
</dict>
<key>op_gem-stones</key>
<dict>
<key>like_ship</key>
<string>baseforopsplinter</string>
<key>cargo_type</key>
<string>CARGO_GEM-STONES</string>
<key>roles</key>
<string>splinter(6.0)</string>
</dict>
<key>op_alloys2</key>
<dict>
<key>like_ship</key>
<string>baseforopsplinter2</string>
<key>cargo_type</key>
<string>CARGO_ALLOYS</string>
<key>roles</key>
<string>splinter(15.0)</string>
</dict>
<key>op_radioactives2</key>
<dict>
<key>like_ship</key>
<string>baseforopsplinter2</string>
<key>cargo_type</key>
<string>CARGO_RADIOACTIVES</string>
<key>roles</key>
<string>splinter(7.0)</string>
</dict>
<key>op_gold2</key>
<dict>
<key>like_ship</key>
<string>baseforopsplinter2</string>
<key>cargo_type</key>
<string>CARGO_GOLD</string>
<key>roles</key>
<string>splinter(4.0)</string>
</dict>
<key>op_platinum2</key>
<dict>
<key>like_ship</key>
<string>baseforopsplinter2</string>
<key>cargo_type</key>
<string>CARGO_PLATINUM</string>
<key>roles</key>
<string>splinter(3.3)</string>
</dict>
<key>op_gem-stones2</key>
<dict>
<key>like_ship</key>
<string>baseforopsplinter2</string>
<key>cargo_type</key>
<string>CARGO_GEM-STONES</string>
<key>roles</key>
<string>splinter(6.0)</string>
</dict>
</dict>
</plist>
Any suggestions on the shipdata or a script? I might have overlooked something, which prevents this idea from working.
Does anybody know, if it's possible to have equipment take up space, like the passenger cabins do?