Just offer it for sale normally, and when the player buys some immediately reverse the sale with double the credit. The only drawback is that it won't work if the player is flat broke: for a fraction of a second they do have to actually buy it. I altered McLane's "sell equipment" script like that, so it would display the actual amount I'd be paid for the equipment, rather than the 10 credit dummy value.SandJ wrote:- you were paid a couple of Credits for taking away 1 tonne of rubbish. You would the fly out to deep space and jettison it where nobody was looking. Being caught do so resulted in a fine. A very poor way of making money, but if there was nothing worth buying, it paid for the fuel for the next trip. (I can't see how to achieve this in Oolite.)
Rock-bottom price
Moderators: winston, another_commander
- Wildeblood
- ---- E L I T E ----
- Posts: 2453
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Western Australia
- Contact:
Re: Rock-bottom price
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Re: Rock-bottom price
The 10Cr is not a dummy value. It's a price. It's not what you receive, but what you pay for the privilege of being able to return an equipment item. Call it a removal fee if you want.Wildeblood wrote:I altered McLane's "sell equipment" script like that, so it would display the actual amount I'd be paid for the equipment, rather than the 10 credit dummy value.
In other words: You don't get the amount you'd be paid, but the amount you'd be paid minus 10Cr. Also, the removal fee may be higher (or lower) than 10Cr in secondary stations.
Last edited by Commander McLane on Mon Apr 23, 2012 3:21 pm, edited 1 time in total.
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Re: Rock-bottom price
Oops! I missed the last part. I even missed the zeroes in the commodities.plist that indicate that there will never be any furs available.El Viejo wrote:Tonight though, I pulled into a hermit and the fur price was 0.0c/t. None available of course,
So Disembodied is right: the price doesn't matter, because you'll never get any furs for 0Cr. Actually, setting the prices to 0 is very common in stations which don't offer the commodity in question anyway.
So no need to do anything to the rock hermit commodities.plist. Mauiby's and SandJ's experiences with actually buying something for 0Cr in a Seedy Space Bar or a Wasp's nest are clearly bugs in the respective OXPs, however.
This is plainly impossible. All prices are multiples of 0.4Cr, so 0.4Cr is the lowest price you can come across.Alex wrote:Zero Cr.. MMM
I've came across 0.1 for some.
- Wildeblood
- ---- E L I T E ----
- Posts: 2453
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Western Australia
- Contact:
Re: Rock-bottom price
Y'know, I knew all that, but it didn't seem pertinent to the actual discussion at hand.Commander McLane wrote:The 10Cr is not a dummy value. It's a price. It is what you pay for the privilege of being able to return an equipment item. Call it a removal fee if you want.Wildeblood wrote:I altered McLane's "sell equipment" script like that, so it would display the actual amount I'd be paid for the equipment, rather than the 10 credit dummy value.
In other words: You don't get the amount you'd be paid, but the amount you'd be paid minus 10Cr. Also, the removal fee may be higher (or lower) than 10Cr in secondary stations.
Re: Rock-bottom price
Anyhoo, would it be possible to have the Frontier situation (i.e. being paid to remove sth?)
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Rock-bottom price
You could do another tweak to that script. As it is possible to advance the time, I think also removal should take a bit of time. Not as much as installing, but its scriptable so why not do it.Commander McLane wrote:The 10Cr is not a dummy value. It's a price. It's not what you receive, but what you pay for the privilege of being able to return an equipment item. Call it a removal fee if you want.Wildeblood wrote:I altered McLane's "sell equipment" script like that, so it would display the actual amount I'd be paid for the equipment, rather than the 10 credit dummy value.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- Alex
- ---- E L I T E ----
- Posts: 770
- Joined: Mon Oct 06, 2008 10:49 pm
- Location: Oz. The land of some gold but mostly rust
Re: Rock-bottom price
Thinking about being payed to take stuff away;SandJ wrote:In Frontier there was one planet (Cemiess) where previous metals and gems were illegal, and you were paid to remove them.Alex wrote:Zero Cr.. MMM
I've came across 0.1 for some. But never an actual 0.0
Maybe for spice there could be a seller that pays to take the goods away?
Also:
- fuel could be sold, so you could scrape together credits by sun-skimming, docking and selling the fuel. That ought to be possible in Oolite.
- you were paid a couple of Credits for taking away 1 tonne of rubbish. You would the fly out to deep space and jettison it where nobody was looking. Being caught do so resulted in a fine. A very poor way of making money, but if there was nothing worth buying, it paid for the fuel for the next trip. (I can't see how to achieve this in Oolite.)
Trummbles came to mind, wonder how much it would be worth to station to rid them of a trummble infestation, not worrying about who's ship infested them in the first place.
Could be a new career path.
LOOK OUT!!!
OOPS..
"Press Space" Commander
If you do not see "Press Space" more often than you want.. Your not trying!
OOPS..
"Press Space" Commander
If you do not see "Press Space" more often than you want.. Your not trying!
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Re: Rock-bottom price
That's an interesting idea. I'll look into it. It should of course depend on the item in question, because some will certainly take more time to remove than others.Eric Walch wrote:You could do another tweak to that script. As it is possible to advance the time, I think also removal should take a bit of time. Not as much as installing, but its scriptable so why not do it.Commander McLane wrote:The 10Cr is not a dummy value. It's a price. It's not what you receive, but what you pay for the privilege of being able to return an equipment item. Call it a removal fee if you want.Wildeblood wrote:I altered McLane's "sell equipment" script like that, so it would display the actual amount I'd be paid for the equipment, rather than the 10 credit dummy value.
By the way, and while we're at it: I don't like the way the time is currently calculated in Oolite, especially, I don't like how it quickly becomes ridiculously long for expensive items. I'm not sure off the top of my head if it increases linearly or with some exponent, but I'd suggest a much flatter curve, possibly even with a cap somewhere. If it's currently linear, changing it to the square root of price could be a good start.
- SandJ
- ---- E L I T E ----
- Posts: 1048
- Joined: Fri Nov 26, 2010 9:08 pm
- Location: Help! I'm stranded down here on Earth!
Re: Rock-bottom price
Woah, doesn't changing something like this in Oolite require discussion as it has quite an effect on the difficulty of fulfilling missions and other effects? Isn't it opening a can of worms - people might want to suggest the TL of the system in question, whether main station or not, size of the ship, existing equipment (value) of the ship, and all manner of other variables? And impacts on mission OXPs, too.Commander McLane wrote:It should of course depend on the item in question, because some will certainly take more time to remove than others.
By the way, and while we're at it: I don't like the way the time is currently calculated in Oolite, especially, I don't like how it quickly becomes ridiculously long for expensive items. I'm not sure off the top of my head if it increases linearly or with some exponent, but I'd suggest a much flatter curve, possibly even with a cap somewhere. If it's currently linear, changing it to the square root of price could be a good start.
Flying a Cobra Mk I Cobbie 3 with nothing but Explorers Club.OXP and a beam laser 4 proper lasers for company
Dropbox referral link 2GB of free space online + 500 Mb for the referral: good for securing work-in-progress.
Dropbox referral link 2GB of free space online + 500 Mb for the referral: good for securing work-in-progress.
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Re: Rock-bottom price
Yes, of course. That's why I just tried to start a discussion. And now there has already been one reaction.SandJ wrote:Woah, doesn't changing something like this in Oolite require discussion as it has quite an effect on the difficulty of fulfilling missions and other effects?Commander McLane wrote:By the way, and while we're at it: I don't like the way the time is currently calculated in Oolite, especially, I don't like how it quickly becomes ridiculously long for expensive items. I'm not sure off the top of my head if it increases linearly or with some exponent, but I'd suggest a much flatter curve, possibly even with a cap somewhere. If it's currently linear, changing it to the square root of price could be a good start.
(Or did you think I'd go and actually change something? I'm not a developer. And Eric's not going to make radical changes just because I made an offhand remark.)
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Rock-bottom price
No, I have no intention to change something that was in Oolite without ever have been an issue. But it is good for oxp developers that they know how Oolite handles it internally so they can make consistent behaviour in their work. Currently the formula for adjusting the seconds is:Commander McLane wrote:(Or did you think I'd go and actually change something? I'm not a developer. And Eric's not going to make radical changes just because I made an offhand remark.)
Code: Select all
ship_clock_adjust += deci_credits + 600.0;
UPS-Courier & DeepSpacePirates & others at the box and some older versions
Re: Rock-bottom price
For quick reference, the results of the formula to a range of equipment are:
Naval Energy Unit (50,000 Cr.): about 5.75 days
Military Shield Enhancement (47,550 Cr.): about 5.5 days
Shield Boosters (14,750 Cr.): about 1.75 days
Military Laser (6,000 Cr.): about 17 hours
Q-Mine (2,500 Cr.): about 7 hours
Beam Laser (1,000 Cr.): about 3 hours
ECM System (400 Cr.): about 75 minutes
Missile (30 Cr.): 15 minutes
Naval Energy Unit (50,000 Cr.): about 5.75 days
Military Shield Enhancement (47,550 Cr.): about 5.5 days
Shield Boosters (14,750 Cr.): about 1.75 days
Military Laser (6,000 Cr.): about 17 hours
Q-Mine (2,500 Cr.): about 7 hours
Beam Laser (1,000 Cr.): about 3 hours
ECM System (400 Cr.): about 75 minutes
Missile (30 Cr.): 15 minutes
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Rock-bottom price
Actually is this one given by a mission and you should never have to buy it. Reparing cost only 50% of that. Still a long time.cim wrote:Naval Energy Unit (50,000 Cr.): about 5.75 days
Thinking of it, The thargoid plans mission just awards it. When the mission was first written we could not adjust time, but I think the mission should do now.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Rock-bottom price
Hmmm, so how does it take five times longer to fit a military laser than a beam laser? And over twice as long to hang a Q-bomb on a pylon? That doesn't seem right.cim wrote:For quick reference, the results of the formula to a range of equipment are:
Naval Energy Unit (50,000 Cr.): about 5.75 days
Military Shield Enhancement (47,550 Cr.): about 5.5 days
Shield Boosters (14,750 Cr.): about 1.75 days
Military Laser (6,000 Cr.): about 17 hours
Q-Mine (2,500 Cr.): about 7 hours
Beam Laser (1,000 Cr.): about 3 hours
ECM System (400 Cr.): about 75 minutes
Missile (30 Cr.): 15 minutes
And when I finally get round to releasing Battle Damage, your hull can be patched for 75Cr in about 25 minutes!
Could this be something to look at in the future?
Commander Smivs, the friendliest Gourd this side of Riedquat.
Re: Rock-bottom price
Well, the cooling system for both the military laser and the Q-bomb is much more advanced, so it should take longer to fit. How much longer is debatable. Patching the hull in 25 minutes sounds a bit strange though. Maybe the default value could remain in place, but an OXP author can explicitly set the time in the OXP and override the default value.Smivs wrote:Hmmm, so how does it take five times longer to fit a military laser than a beam laser? And over twice as long to hang a Q-bomb on a pylon? That doesn't seem right.
And when I finally get round to releasing Battle Damage, your hull can be patched for 75Cr in about 25 minutes!
Could this be something to look at in the future?
I know this probably opens a few cans of worms, and Thargoid will probably have to update his ooCheat.oxp with time cheats. But the current setup does result in some inconsistencies.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
(Gold Medal Award, Zzap!64 May 1985).