Page 3 of 8
Posted: Wed Dec 27, 2006 11:24 pm
by Dr. Nil
And that was exactly the simple thing which was wrong
Thanks for your help.
Well at least it was a fertile error, which bred a lot of good ideas.
Ore Processor v.1.0
It works now.
Posted: Wed Dec 27, 2006 11:39 pm
by Dr. Nil
The game gives the message "name of entity"+"scooped" when scooping something.
Atm it just says splinter scooped.
What would be good names for the different kinds of splinters?
Would:
Mixed ore (alloys), Radioactive ore, Gold ore, Platinum ore and Gem ore do it, or what would be fitting English terms?
Posted: Wed Dec 27, 2006 11:56 pm
by LittleBear
Think a pilot entry for each entry would do that!
Somthing like in shipdata (different one for each entry):-
Code: Select all
<key>unpiloted</key>
<false/>
<key>pilot</key>
<string>DRrock_1</string>
Then in charcters:-
Code: Select all
<key>DRrock1</key>
<dict>
<key>name</key>
<string>a highly radioactive rock</string>
<key>bounty</key>
<integer>1</integer>
</dict>
Should make Oolite give the message "You have captured a highly radioactive rock", "a gem-studded rock" etc when the item is scooped
Posted: Thu Dec 28, 2006 1:00 am
by Cmdr Wyvern
Dr.-SPACE-Nil wrote:
(@Cmdr Wyvern: What's that ship on your profile?)
The craft in question would be the Paladin, one of the two ships in PTI.oxp.
(Which has been submitted to oosat2, but for some reason hasn't shown up there yet.)
Posted: Thu Dec 28, 2006 3:26 am
by Cmdr Wyvern
There's still a bug in it, Doc.
If you don't have the ore proccessor device on your ship, some scooped splinters give a 'Splinter scooped' HUD message, but nothing is added to the cargo bay.
Posted: Thu Dec 28, 2006 4:28 am
by Cmdr Wyvern
I think I figured it out. Now if the proccessor isn't on the ship, one ton of minerals is loaded. I tweaked the code thusly:
Code: Select all
<key>op_alloys</key>
<dict>
<key>like_ship</key>
<string>op_splinter</string>
<key>cargo_type</key>
<string>CARGO_SCRIPTED_ITEM</string>
<key>script_actions</key>
<array>
<string>debugOn</string>
<string>testForEquipment: EQ_ORE_PROCESSOR</string>
<dict>
<key>conditions</key>
<array>
<string>foundEquipment_bool equal YES</string>
</array>
<key>do</key>
<array>
<string>awardCargo: 1 Alloys</string>
</array>
</dict>
<dict>
<key>conditions</key>
<array>
<string>foundEquipment_bool equal NO</string>
</array>
<key>do</key>
<array>
<string>awardCargo: 1 Minerals</string>
</array>
</dict>
<string>debugOff</string>
</array>
<key>roles</key>
<string>splinter(15.0)</string>
</dict>
Posted: Thu Dec 28, 2006 12:02 pm
by Dr. Nil
Cmdr Wyvern wrote:There's still a bug in it, Doc.
If you don't have the ore proccessor device on your ship, some scooped splinters give a 'Splinter scooped' HUD message, but nothing is added to the cargo bay.
Thanks for spotting and correcting it. I forgot that commanders would get those splinters no matter what, now that the cargo award is moved to the script entry.
I lowered the price to 1500 Cr. IMO 5000 was too pricey, but perhaps 1500 is too cheap? I haven't looked at this seriously, but my guess is that it will take about 40-50 splinters at this price on average before the processor has paid for itself..
Ore Processor 1.01
Your Paladin looks great. Hope to see it appear on the Sat soon.
Posted: Thu Dec 28, 2006 4:33 pm
by Dr. Nil
@DaddyHoggy:

Sorry that I forgot to credit you for input in the first readme. It has been corrected.
Posted: Thu Dec 28, 2006 4:37 pm
by Cmdr Wyvern
I found another bug while messing with it last night. Some splinters load food into the cargo bay. So far, I havn't figured out why.
"This system is mildly notable for it's killer edible asteroids..."

Posted: Thu Dec 28, 2006 6:53 pm
by DaddyHoggy
@Cmdr W
@Doc -

No worries - happy to have helped inspire a small portion what should be an excellent addition and alternative career path to the Oolite Ooniverse.
Posted: Fri Dec 29, 2006 12:08 pm
by Dr. Nil
Cmdr Wyvern wrote:I found another bug while messing with it last night. Some splinters load food into the cargo bay. So far, I havn't figured out why.
"This system is mildly notable for it's killer edible asteroids..."

I did a quick search on

But it's hard to guess what it could be, without knowing where it happened. Did you remember to look in the hold and check what kind of food we're talking here?
It could just have been some edible minerals like
this edible clay or an industrial size fridge buried in the remains from a planet which has fallen apart for whatever reason. Which galaxy did this happen in? There are places, where they'll eat things us non diamond teethed earthlings couldn't chew. Could it be rock salt?
What I fear the most is that you've actually made yourself the mortal enemy of every scavenger and space hobo in the Ooniverse by cutting the mythical
Big Rock Candy Asteroid to pieces with your lasers. Hopefully not!
At least these are some of the possible explanations until we find one related to code or plists.

Posted: Fri Dec 29, 2006 4:22 pm
by Cmdr Wyvern
The proccessor seems to load food instead of gemstones, from what I can tell. All the metals, ie gold, platinium, radioactives and alloys load fine from the proccessor.
After scooping a couple of 'roids worth of splinters, a quick look at my manifest screen wouls show radioactives, minerals, alloys, gold, platinium, and food. All this without scooping loose cargo canisters along the way.
Galaxy 3, the same in any system I visit for mining.
Posted: Fri Dec 29, 2006 5:07 pm
by DaddyHoggy

It would appear the Ore processor's were built from salvaged food processors - something has been left behind in their programming and they're converting some rock splinters into 'little gem iced cake decorations' and hence the manifest computer is a little confused and so is the station trader who has pressed charges over the supply of "unusual rubies" turned out to be a ¼oz of 'Cola Cubes'.
I hear there's a Snoopes reporter on his way to the scene now....
Posted: Fri Dec 29, 2006 5:47 pm
by Dr. Nil
@Cmdr Wyvern
Thanks for testing and reporting. I think that you pointed me straight to the problem here (I have now replaced 'Gem-stones' with 'Gemstones' in the shipdata).
I haven't looked at the stats yet, but looking at the Paladin on the startup screen makes me wanna buy it.
Ore Processor v1.02
@DaddyHoggy
Turning stone to bread. A well known CGC hyperarchbishop was quick to claim it to be an act by The Creator in a press release (which has since been withdrawn and denied).
Posted: Fri Dec 29, 2006 6:39 pm
by Cmdr Wyvern
A quick test with version 1.02. Results: The edible gemstones bug persists, sad to say.
Unless someone smarter than us - aka Giles or Winston - can offer some insight, the only workaround to getting rock candy instead of gems I can think of is removing the gemstone splinters.
Paladin quick-stats:
Speed 0.365
Roll 2.4
Pitch 1.4
Missiles 6
Energy 5
Cargo 20 + 20 upgrade
Nominal crew 3
Price 290000cr
Comes with scoop, heat shield, and Ingram beam laser standard.