[RELEASE] Planner OXP

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

Post Reply
User avatar
Ramen
Deadly
Deadly
Posts: 138
Joined: Sat Apr 18, 2015 5:36 pm
Location: Mountain View, CA, USA
Contact:

[RELEASE] Planner OXP

Post by Ramen »

Hi all,
I have created a (barebones, wip) planner oxp. (For people who play Oolite so much that it's the only way they will remember :))
The subject and details entries are unfortunately limited to 30 characters right now, due to the way they are recorded by Oolite.
Available from http://wiki.alioth.net/img_auth.php/d/d ... _1.0.0.oxz or the expansion manager.

Features:
-Use interfaces screen to access planner
-Add entries to planner
-Delete entries from planner
-View planner
That is not my desk.
I find this lack of milk... disturbing.
Zireael
---- E L I T E ----
---- E L I T E ----
Posts: 1396
Joined: Tue Nov 09, 2010 1:44 pm

Re: [RELEASE] Planner OXP

Post by Zireael »

Cool!
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: [RELEASE] Planner OXP

Post by Norby »

To overcome the 30 char. limit you can ask max. 20 lines into a plan and store in an array.
In this.$subject() you can initialize the array:

Code: Select all

this._plans[choice]=[];
Then in this.$details() do this:

Code: Select all

this._plans[this._tempVal].push(choice);
Repeat line input until an empty line entered or the 20. line reached.

You should use the 20 limit in the number of subjects also to prevent step over the vertical size of the screen when list subjects. Lines are limited due to the same reason, thinking to the possible future when all lines will be listed in a menu to change one.

To step over the 20 limits later, you must add a "more" menu item and list only 20 items at once.

For autodating you can store clock.clockString.
User avatar
Cholmondely
Archivist
Archivist
Posts: 4977
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: [RELEASE] Planner OXP

Post by Cholmondely »

Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Cholmondely
Archivist
Archivist
Posts: 4977
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: [RELEASE] Planner OXP

Post by Cholmondely »

Ramen wrote: Mon Jun 08, 2015 5:55 pm
Hi all,
I have created a (barebones, wip) planner oxp. (For people who play Oolite so much that it's the only way they will remember :))
The subject and details entries are unfortunately limited to 30 characters right now, due to the way they are recorded by Oolite.

Features:
-Use interfaces screen to access planner
-Add entries to planner
-Delete entries from planner
-View planner
Ramen, I've seen one or two hints that you had hoped to do more with this. What had you hoped for?

PS: Wishing you and yours a "Happy & Healthy 2022"
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
Post Reply