MincePie.oxp
Moderators: another_commander, winston
MincePie.oxp
I made this as an add-on for santa.oxp - see https://bb.oolite.space/viewtopic.php?t=2671 for first announcement. Rather than totally hi-jack that thread, here's the first beta version. It does all seem to work, but this is my first attempt at an OXP, so I've probably missed something - will go to release if I don't get any major problem reports (have some minor enhancements I can roll in to that). Also only tested on a Windows (Vista) PC - do I need to do anything funny with line endings etc. to make it work on other platforms?
Doesn't really do anything important - if anything is even more pointlessly trivial than santa.oxp, but a little enhancement to that, which I hope some might like.
Here's the link: http://www.box.net/shared/8hek3kak8b
Doesn't really do anything important - if anything is even more pointlessly trivial than santa.oxp, but a little enhancement to that, which I hope some might like.
Here's the link: http://www.box.net/shared/8hek3kak8b
- Norby
- ---- E L I T E ----

- Posts: 2577
- Joined: Mon May 20, 2013 9:53 pm
- Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
- Contact:
Re: MincePie.oxp
This mini mission pack now also available in oxz form in the magager.


- Cholmondely
- Archivist

- Posts: 6601
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: MincePie.oxp
This has been defined as a Mission.
Might it be better classified as an Activity (feeding Santa Mince Pies) or as Miscellaneous?
Might it be better classified as an Activity (feeding Santa Mince Pies) or as Miscellaneous?
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?
•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?
Re: MincePie.oxp
Noticed these in the Latest.log
Here's from line 26.
Code: Select all
[script.javaScript.exception.notFunction]: ***** JavaScript exception (mincePieStartup 1.0 beta): TypeError: player.ship.hasEquipment is not a function
[script.javaScript.exception.notFunction]: /home/flibble/Oolite/GameData/.ManagedAddOns/oolite.oxp.Chris.MincePie.oxz/Scripts/mincePieStartup.js, line 26.
Code: Select all
while (player.ship.hasEquipment("EQ_MINCE_PIE_MINE")) {
player.ship.removeEquipment("EQ_MINCE_PIE_MINE");
mincePiesRemoved++;
}
- Wildeblood
- ---- E L I T E ----

- Posts: 2959
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Nova Hollandia
- Contact:
Re: MincePie.oxp
Try:MrFlibble wrote: ↑Tue Mar 24, 2026 4:00 pmNoticed these in the Latest.logHere's from line 26.Code: Select all
[script.javaScript.exception.notFunction]: ***** JavaScript exception (mincePieStartup 1.0 beta): TypeError: player.ship.hasEquipment is not a function [script.javaScript.exception.notFunction]: /home/flibble/Oolite/GameData/.ManagedAddOns/oolite.oxp.Chris.MincePie.oxz/Scripts/mincePieStartup.js, line 26.Code: Select all
while (player.ship.hasEquipment("EQ_MINCE_PIE_MINE")) { player.ship.removeEquipment("EQ_MINCE_PIE_MINE"); mincePiesRemoved++; }
while (player.ship.equipmentStatus("EQ_MINCE_PIE_MINE") === "EQUIPMENT_OK") {R.I.P. John Lodge, 1943-2025.
Re: MincePie.oxp
That gets it.
I've tarted up the oxz a bit. Bumped to 1.2 in manifest. pngcrushed the texture, and waved the dos2unix wand. Should I upload it somehow/somewhere?
Edit: No rush. It's seasonal
I've tarted up the oxz a bit. Bumped to 1.2 in manifest. pngcrushed the texture, and waved the dos2unix wand. Should I upload it somehow/somewhere?
Edit: No rush. It's seasonal
- Wildeblood
- ---- E L I T E ----

- Posts: 2959
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Nova Hollandia
- Contact:
Re: MincePie.oxp
That comment/question makes me wonder if you have a login on the wiki, OR NOT?
R.I.P. John Lodge, 1943-2025.
Re: MincePie.oxp
I do, and I think I grok how to get an oxz on there, and expect I'll be able to suss how to do same for an upgrade, but I feel I should iron out a few other bits I just found first:
Code: Select all
$ grep -i mince Latest.log
~/Oolite/GameData/AddOns/oolite.oxp.Chris.MincePie-1.2.oxz
17:21:28.922 [oxp-standards.deprecated]: Script /home/flibble/Oolite/GameData/AddOns/oolite.oxp.Chris.MincePie-1.2.oxz/Scripts/mincePieStartup.js does not "use strict";
mincePieStartup 1.0 beta
17:22:25.052 [oxp-standards.deprecated]: TL99 is deprecated for EQ_MINCE_PIE_MINE
17:22:26.295 [oxp-standards.deprecated]: TL99 is deprecated for EQ_MINCE_PIE_MINE
# last line repeats a lot
