hiran,
There is a thread about the OXP.
Release: Harder Hermits
Moderators: winston, another_commander
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Release: Harder Hermits
station.hasRole(“hermitage”)
- Cholmondely
- Archivist
- Posts: 5368
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: Release: Harder Hermits
Why fly a ship when you can fly a rock instead?
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?
-
- ---- E L I T E ----
- Posts: 1248
- Joined: Sat Sep 12, 2009 11:58 pm
- Location: Essex (mainly industrial and occasionally anarchic)
Re: Release: Harder Hermits
phkb:
Thanks. But: hmm. Does anything that has the
- rockhermit
- rockhermit-chaotic
- rockhermit-pirate
If not, then I think my OXP will touch no hermitages. For, I use the following functions to determine which hermits I consider modifying. (The comments within these functions are somewhat new. The actual code is in the published version of my OXP.)
Apologies if I overlook anything or make a mistake.
Thanks. But: hmm. Does anything that has the
role
'hermitage' ever have a primaryRole
that is one of the following? - rockhermit
- rockhermit-chaotic
- rockhermit-pirate
If not, then I think my OXP will touch no hermitages. For, I use the following functions to determine which hermits I consider modifying. (The comments within these functions are somewhat new. The actual code is in the published version of my OXP.)
Code: Select all
/*
================
ENTITY PICKER(S)
================
The following roles are from Oolite itself:
rockhermit
rockhermit-chaotic
rock-hermit-pirate
The following role is from SpicyHermits:
spicy_hermits_abandoned
*/
this.$isHermit = function ( e )
{
return e.isShip && ( e.primaryRole === "rockhermit" || e.primaryRole === "rockhermit-chaotic" || e.primaryRole === "rockhermit-pirate" );
};
this.$isHermit_abandoned = function ( e )
{
return e.isShip && e.primaryRole === "asteroid" && e.name === "Abandoned Rock Hermit";
// SpicyHermits makes a hermit abandoned by changing its role to 'asteroid' and its name to 'Abandoned Rock Hermit'.
};
this.$isHermit_abandonedQuasi = function ( e )
{
return e.isShip && e.primaryRole === "spicy_hermits_abandoned" && e.hasRole ( "harderHermits_abandonedQuasi" );
};
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Release: Harder Hermits
Yes. A hermitage will still have the same primary role. It will just have this additional role.
- hiran
- Theorethicist
- Posts: 2403
- Joined: Fri Mar 26, 2021 1:39 pm
- Location: a parallel world I created for myself. Some call it a singularity...
Re: Release: Harder Hermits
Does that mean the rock is operated just like a ship?
Hmmm. How do you dock? How do you refuel? Or is the solution just the same as with the Imperial Star Destroyer I started with?
Where, per design a shuttle should take care of station contact but took ages to get in. And finally I just took advantage of the star destroyer's shape and carefully pushed it into the docking bay - it would reach far enough to initiate the docking sequence...
And of course I'd be interested in the planetfall as well.
Sunshine - Moonlight - Good Times - Oolite
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Release: Harder Hermits
The Hermitage is stationary. The Hermitage OXP is about managing and running said hermitage.
- hiran
- Theorethicist
- Posts: 2403
- Joined: Fri Mar 26, 2021 1:39 pm
- Location: a parallel world I created for myself. Some call it a singularity...
Re: Release: Harder Hermits
Just seeing this post. It answers a lot of questions. Thank you.
Sunshine - Moonlight - Good Times - Oolite