"0" means "use the default value calculated from the price", at the moment. "1" will work...Smivs wrote:Back to the point, havingin the equipment.pist doesn't do anything. Is there not a zero-option or have I mis-understood something?Code: Select all
"installation_time" = 0;
various equipment questions
Moderators: winston, another_commander
Re: various equipment questions
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: various equipment questions
Ah, yes. I wouldn't have guessed that!
1 works fine, thanks. Perhaps I'll make it one minute though as 1 second also seems a bit silly.
1 works fine, thanks. Perhaps I'll make it one minute though as 1 second also seems a bit silly.
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: various equipment questions
...and another one.
Is it possible to 'de-activate' (un-prime?) primed equipment via script - if possible I would like the Tea Maker to turn itself off after it has made your cuppa
Is it possible to 'de-activate' (un-prime?) primed equipment via script - if possible I would like the Tea Maker to turn itself off after it has made your cuppa
Commander Smivs, the friendliest Gourd this side of Riedquat.
- fronclynne
- Deadly
- Posts: 149
- Joined: Sun Mar 01, 2009 5:36 am
- Location: ::1
Re: various equipment questions
I think it's more important to have a case where every once in a while, the tea maker starts talking to your ship's computer & all your controls lock up for 20 minutes or so.
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: various equipment questions
On the other hand, if you don't like surprises, you'd best keep the tea maker well away from your finite improbability generator!fronclynne wrote:I think it's more important to have a case where every once in a while, the tea maker starts talking to your ship's computer & all your controls lock up for 20 minutes or so.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: various equipment questions
Can you imagine the 'internet of things' on your ship becoming self-aware? Can you imagine how much fun it wouldn't be if it had a sense of humour?
Commander Smivs, the friendliest Gourd this side of Riedquat.
- fronclynne
- Deadly
- Posts: 149
- Joined: Sun Mar 01, 2009 5:36 am
- Location: ::1
Re: various equipment questions
Micropayments.Smivs wrote:Can you imagine the 'internet of things' on your ship becoming self-aware? Can you imagine how much fun it wouldn't be if it had a sense of humour? :?
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: various equipment questions
Haha, that was one of the better outcomes I'd considered.
BTW did my question (above) get overlooked....
BTW did my question (above) get overlooked....
Commander Smivs, the friendliest Gourd this side of Riedquat.
Re: various equipment questions
Not really - it might be the only primable equipment on the ship, for example. Removing it and reawarding it will sometimes do the job.Smivs wrote:...and another one.
Is it possible to 'de-activate' (un-prime?) primed equipment via script - if possible I would like the Tea Maker to turn itself off after it has made your cuppa
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: various equipment questions
OK, thanks, it's not really that important - it's power consumption on stand-by is minimal
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: various equipment questions
Hah! For some reason, when I read this, the first thing that popped into my mind was Mike, the AI in Heinlein's The Moon is a Harsh Mistress, of whom Mannie says "His idea of thigh-slapper would be to ... put itch powder in pressure suit."Smivs wrote:Can you imagine how much fun it wouldn't be if it had a sense of humour?
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
-
- Competent
- Posts: 58
- Joined: Mon Mar 02, 2015 2:08 pm
- Location: drifting in remLock mask near Vezadi Station
Re: various equipment questions
I hope you won't mind me adding a question of my own here:
What exactly determines the order equipment appears in 'player.ship.equipment'? I've worked out that the equipment list shown on F5 is basically the reverse order of player.ship.equipment, except passenger berths are last and weapons are added after them. What I can't see is what determines where in the list an item gets inserted; the same item always seems to get the same place regardless of whether it's bought or awarded by script and regardless of what order the items are added in. The order doesn't seem to be alphabetical by equipment key or name, either.
I'm asking because I'm trying to implement the 'equipment space' concept discussed here and I want to have my script put a couple of special equipment items at the top of the F5 list to display text like:
Equipment:
5 Racks Occupied
Of 32 Maximum
What exactly determines the order equipment appears in 'player.ship.equipment'? I've worked out that the equipment list shown on F5 is basically the reverse order of player.ship.equipment, except passenger berths are last and weapons are added after them. What I can't see is what determines where in the list an item gets inserted; the same item always seems to get the same place regardless of whether it's bought or awarded by script and regardless of what order the items are added in. The order doesn't seem to be alphabetical by equipment key or name, either.
I'm asking because I'm trying to implement the 'equipment space' concept discussed here and I want to have my script put a couple of special equipment items at the top of the F5 list to display text like:
Equipment:
5 Racks Occupied
Of 32 Maximum
- I can get the items in question to be awarded correctly, they just won't show up in the right place (or the right order)!
Incidentally, I've already found the 'sort_order' key doesn't seem to affect the F5 equipment list.
Equal Rights for NPCs!
Re: various equipment questions
It should (bear in mind once I've fixed it that F5 is sorted descending and F3 is sorted ascending). I'll try to get a fix for this in this weekend.Ngalo wrote:Incidentally, I've already found the 'sort_order' key doesn't seem to affect the F5 equipment list.
Re: various equipment questions
Looking at it, this seems to be working for me.
The default sort order value if not specified is 1000, not zero. If you set
The ordering is:
sort_order, then tech level, then price, then OXP loading order (uncontrollable), then position in equipment.plist file.
The default sort order value if not specified is 1000, not zero. If you set
sort_order = 10000;
on the equipment it should put it to the top of the F5 list (and the end of player.ship.equipment
and the F3 purchase screen).The ordering is:
sort_order, then tech level, then price, then OXP loading order (uncontrollable), then position in equipment.plist file.
-
- Competent
- Posts: 58
- Joined: Mon Mar 02, 2015 2:08 pm
- Location: drifting in remLock mask near Vezadi Station
Re: various equipment questions
Thanks cim, I'll give that a go.
I did eventually start to suspect I'd simply gotten the sort_order wrong, but only long after posting the above and logging off.
The combination of reverse order and default of 1000 would perfectly explain why my equipment data didn't work as expected.
Edit: Sorry for wasting your time with a mistaken bug hunt.
Equipment Space OXP is more or less working now and if I can figure out where best to host it you might get a beta release some time in the next few weeks.
Once again, thanks for your help.
I did eventually start to suspect I'd simply gotten the sort_order wrong, but only long after posting the above and logging off.
The combination of reverse order and default of 1000 would perfectly explain why my equipment data didn't work as expected.
Edit: Sorry for wasting your time with a mistaken bug hunt.
Equipment Space OXP is more or less working now and if I can figure out where best to host it you might get a beta release some time in the next few weeks.
Once again, thanks for your help.