Flavour OXP – Named Stations – Would need help with a Script.

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
phkb
Impressively Grand Sub-Admiral
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: Flavour OXP – Named Stations – Would need help with a Script.

Post by phkb »

Is there a particular reason for favouring a plist string array over a purely JS array? With a JS array you can make it as deterministic as you want, with system-level pseudo-randomness, without needing to bother the core code with it.
User avatar
Milo
---- E L I T E ----
---- E L I T E ----
Posts: 462
Joined: Mon Sep 17, 2018 5:01 pm

Re: Flavour OXP – Named Stations – Would need help with a Script.

Post by Milo »

I didn't consider that option. I'm not sure how to go about it with a pure JS array. Do we have access to a seedable random number generator? Or we'd have to write our own, using for example one of the algorithms suggested here?

I imagine that if we provided OXPs with a deterministic string expansion feature, they would find other use cases for it besides the one currently being discussed. It feels like a feature that "should" be in the core considering that Oolite has system-specific determinism in other ways (e.g. deterministic station locations).
User avatar
phkb
Impressively Grand Sub-Admiral
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: Flavour OXP – Named Stations – Would need help with a Script.

Post by phkb »

Milo wrote: Fri Jul 24, 2020 7:15 am
Do we have access to a seedable random number generator?
Like this one? scrambledPseudoRandomNumber
User avatar
Milo
---- E L I T E ----
---- E L I T E ----
Posts: 462
Joined: Mon Sep 17, 2018 5:01 pm

Re: Flavour OXP – Named Stations – Would need help with a Script.

Post by Milo »

Yes, exactly like that one! This still would leave us needing to implement our own nested string expansion if we want to do something complex with random strings, but so far for this OXP it doesn't seem like the strings will be nested much.
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2882
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.

Re: Flavour OXP – Named Stations – Would need help with a Script.

Post by LittleBear »

Bit of a long post warning!

Milo & phkb I've also sent this by PM as I've a favour to ask.

Long story short. As I set up a new buisness 10 years ago I just had no time anymore for gaming and hadn't had Oolite installed since about 2009! Covid-19 hit us but we have been very lucky as its only reduced our trading to about 80% of normal. So unlike a lot of others we've been okay. But it has freed up time for gaming again, so I bought a playstion got resident evil 7 and decided to fire up Oolite again. I was totally blown away by how much had changed. There wasn't even a Manger last time I played. So like a kid in a sweet shop I grabbed every flavour, planet, station and mission OXP and fired up a new Jameson. I'm itching to get out there and explore. It really feels like being a 12 year old again running Elite on my BBC Micro. I know as an old hand though in terms of Real Life time the quickest way to Iron Ass your ship is to do the computer / furs run and avoid the space lanes or injector past. So I'm parked up at the top of chart 1 doing the optimum run with a nearby Tech 15. So I have a mere 4 kills but I have every piece of all the new equipment installed and I just need the military shield and this fancy new equilizer thing (loved the Capaciters by the way and all the new senors). So my gameplay style has just been half an hour or so a day just pootling back and forth and enjoying all the wonderful ships planets and flavour. Random Ship names adds so much it really got me back into the idea of doing some procedural generation again. Hope peeps enjoyed the missions from Random Hits, but as you'll of gathered if you looked through the code) the missions were really an excuse for me to do the adversts.

So favour:-

If i've understood this right, it would be faily easy with a few lines of script to:-

1) Set the name of the main station in each system to add ": [named_stations_master_list_of_templates_types_for_naming_stations]" and do the same for all the OXP stations not on the exclude list. Off the top of my I head I can only think of my own stations from assassins that would need excluding. If I'm wrong then could any OXPers post here. But I'll be a good playtester for this as once I'm Iron Assed I'm heading out there to explore and I'll be checking out every new station and mission (grabbed em all).

2) Set the name of my Black Monk Stations to add ": [named_stations_black_monk_station_names}"

The trouble with this would be however the station names would change everytime. So first time I launch from Lave the station might be called "Arc of Infinity" and next time I go there it will be "Griff's Point" or whatever. Whilst this isn't what we want in the final version, a quick oxp that did that would not affect gameplay in anyway and whilst I pootle avout the Oniverse It would give me a chuckle at least and would let me test my random generator out. To be honest, even if we never got this oxp to work as intended, I'd probley finish the word lists and run it on my own install just for the fun of seing all the wired and wonderful names procdural generation throws up.

I've put my personal email in a PM to you both. I'm afraid I'm so out of date that the best I'm gonna be able to do is write the decription and then drop it into an old school OXP folder! If I'm right, could either of you email me an ,oxp folder that just has the script to do the above and a Config folder for me to drop my descriptions plist in?

If anyone following this thread is interested in how the procedural generation works, I've C&Ped my current descriptions file below. For the final version I'm going for 20 templates with a simiar number to the ones I've done (with nesting), but I've only do 2 so far (which I'm itching to test). So as currently written all the probablities in the notes will be 10 times more comman than I've said (cos I've only got 10% of the templates in at present).

Really nice to be back. I can see I'm going to be putting a lot of time into Oolite again, but really as a player rather than an OXPer.

Code: Select all


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>

// Call Lists for the Black Monk Stations. If a particular type of Station is linked to a call list then it will be named using its own call list rather than the standard one.

	<key>named_stations_black_monk_station_names</key>
	<array>
	<string>[named_stations_monk_random_name_generater_template]</string>
	</array>

	<key>named_stations_monk_random_name_generater_template</key>
	<array>
	<string>[named_stations_monk_random_name_generator_template_type1_first_word] of [named_stations_monk_random_name_generator_template_type1_second_word]</string>
	</array>

	<key>named_stations_monk_random_name_generater_template_type_1_first_word</key>
	<array>
	<string>Hammer</string>
	<string>Mace</string>
	<string>Scythe</string>
	<string>Temple</string>
	<string>Chapel</string>
	<string>Church</string>
	<string>House</string>
	<string>Nave</string>
	<string>Robe</string>
	<string>Tabard</string>
	<string>Prayer</string>
	<string>Missionary</string>
	<string>Hall</string>
	<string>Disciple</string>
	<string>Cleric</string>
	<string>Saviour</string>
	<string>Messiah</string>
	<string>Lord</string>
	<string>Shepherd</string>
	<string>Vestments</string>
	<string>Lash</string>
	<string>Stocks</string>
	<string>Saint</string>
	<string>City</string>
	<string>Song</string>
	<string>Chant</string>
	<string>Tome</string>
	<string>Gospel</string>
	<string>Bishop</string>
	<string>Path</string>
	<string>Revelation</string>
	<string>Servant</string>
	</array>

	<key>named_stations_monk_random_name_generater_template_type_1_second_word</key>
	<array>
	<string>Mammon</string>
	<string>Gold</string>
	<string>Compound Interest</string>
	<string>Lamentation</string>
	<string>Repentance</string>
	<string>Retribution</string>
	<string>Debt</string>
	<string>the Bankrupt</string>
	<string>Credit</string>
	<string>Piety</string>
	<string>Banking</string>
	<string>Borrowing</string>
	<string>Economics</string>
	<string>the Righteous</string>
	<string>Virtue</string>
	<string>the Crusader</string>
	<string>Currency</string>
	<string>Capitalism</string>
	<string>the Poor</string>
	<string>the Destitute</string>
	<string>the Blessed</string>
	<string>Servitude</string>
	<string>Poverty</string>
	<string>Atonement</string>
	<string>Suffering</string>
	<string>the Meek</string>
	<string>Negative Equity</string>
	<string>the Overdrawn</string>
	<string>the Miser</string>
	<string>the Wanderer</string>
	<string>Iron</string>
	<string>Pain</string>
	</array>

// Call Lists for all stations. If a station is not specified as having it's own call list then it will be named using the key below. When this key is called it will randomly select one of the templates as a naming style and then generate a name in that style.
// For this test I have only added 2 naming templates (the final with have 20 styles) so you should still see a nice variety, but each template will be 10 times more common than in the final OXP.

	<key>named_stations_master_list_of_templates_types_for_naming_stations</key>
	<array>
	<string>[named_stations_random_name_generater_template_type_1]</string>
	<string>[named_stations_random_name_generater_template_type_2]</string>
	</array>

// Templete Type 1 - This Template generates protective sounding names eg Ark of Hope and poetic names eg Shadow of Infinity. This template has enough variety to generate 1,024 different names but will only be used to name about 100 of the 2056 stations in the game. As the idea of this OXP is to create massive variety but without the faff of hand coding every station, most words typed in will never be used. But by doing it this way I as the author have no idea what station names I'll encounter either and it leaves plenty of unused names that can be used to name OXP stations.

	<key>named_stations_random_name_generater_template_type_1</key>
	<array>
	<string>[named_stations_random_name_generater_template_type_1_first_word] of [named_stations_random_name_generater_template_type_1_second_word]</string>
	</array>
	
	<key>named_stations_random_name_generater_template_type_1_first_word</key>
	<array>
	<string>Ark</string>
	<string>Sanctuary</string>
	<string>Well</string>
	<string>River</string>
	<string>Dome</string>
	<string>Aspect</string>
	<string>Nature</string>
	<string>Fortress</string>
	<string>Castle</string>
	<string>Guardian</string>
	<string>Mirror</string>
	<string>Keeper</string>
	<string>Circle</string>
	<string>Pillar</string>
	<string>Spire</string>
	<string>Tower</string>
	<string>Bridge</string>
	<string>Bastion</string>
	<string>Shield</string>
	<string>Ring</string>
	<string>Hand</string>
	<string>Cup</string>
	<string>Reflection</string>
	<string>Contemplation</string>
	<string>Protector</string>
	<string>Shadow</string>
	<string>Messenger</string>
	<string>Vison</string>
	<string>Breath</string>
	<string>Quantum</string>
	<string>Storm</string>
	<string>Manifestation</string>
	</array>
	
	<key>named_stations_random_name_generater_template_type_1_second_word</key>
	<array>
	<string>Infinity</string>
	<string>Light</string>
	<string>Heaven</string>
	<string>Rapture</string>
	<string>Solitude</string>
	<string>Peace</string>
	<string>Delight</string>
	<string>Perfection</string>
	<string>Reality</string>
	<string>Life</string>
	<string>Time</string>
	<string>Consciousness</string>
	<string>Hope</string>
	<string>Joy</string>
	<string>Serenity</string>
	<string>Justice</string>
	<string>Silence</string>
	<string>Destiny</string>
	<string>Eternity</string>
	<string>Fate</string>
	<string>Oblivion</string>
	<string>Sentience</string>
	<string>Enlightenment</string>
	<string>Radiance</string>
	<string>Endurance</string>
	<string>Empathy</string>
	<string>Might</string>
	<string>Honour</string>
	<string>Chivalry</string>
	<string>Purity</string>
	<string>Conscience</string>
	<string>Wisdom</string>
	</array>

// Templete Type 2 - For this template I have added more nesting as the theam of the 2nd naming style is stations named after people. Each sub-template of of Type 2 names about 25 stations across the 8 galaxies. But to generate a good mix of name styles the way each does so is different.

// The first sub-template names about 10 stations in a very plain style such as Jameson's Base, Griff's Point and so on. It also names about 20 stations in a slightly more poetic style such as Bell's Gambit, Griff's Lost Love, Aegidian's Cunning and so on.   

// The Second sub-template is a 16 x 16 grid (so generates 256 possible combinations) but is only used to name about 25 Stations. This generates more poetic names such as Doyle's Fist of Iron, Milo's Mind of Magnificance and so on.
// Both the first two sub-templates draw on the list of 180 surnames, but only actually name 50 stations between them. Most surnames will be unused, but as lists of surnames are very quick to do (and I had lots of lists of names from Random Hits to base them on with a C&P and then check they work as station names) this is nested to increase the variety further.

// The third sub-template names after Kings, Queens and other nobility. As 25 stations all called "Queen [female name] would get a bit old, this subtemplate is divided into 5 subtemplates to mix up the naming structure a lot.
// Due to the subdivision of the third template into 5 slightly different formats and calling a list of 96 female names and the 180 gender-neutral surnames a lot of variety is achived as each sub-template only names about 5 stations throughout the eight charts.

// The first subdivision of the third sub-template names 5 stations in the Style Female Title, Female Name and a 50% chance of a number: eg: Queen Elizabeth, Lady Emma the Second etc.
// The second subivsion of the third sub-template alternates the style to name 5 stations in the format The Queen Elizabth, The Duchess Tracey with a 50% chance of adding a roman numeral eg The Lady Helen II. Due to there being currently 7 titles and 93 names (651 combinations) and this template only names 5 stations they will all be unique.
// The third subbivsion of the third sub-template flips the style and calls the name of the current system. It names about 5 stations in the 8 galaxies from the title list but then calls the system name, which means each is unique. Eg: The Queen of Lave.
// The fourth subdivision of the third sub-template goes back to the style of the first sub-template but flips the naming style again. It also names 5 Stations but as the List of Names is reused each will be unique. This generates names such as Camp Jameson, Griff Landing, Selezen Base.
// The Fifth & Final subdivision of the third sub-template uses male royal titles in the same style as the female ones but includes all the varietions used for female versions and re-uses the gender-neutral list of surnames (IE: if the dice land on the name after royality template the OXP is twice as likley to chose a female name as a male name to reflect the naval tradition of giving ships female names).
// Although the fifth subdivision only names about 5 stations it uses the same nesting as the female titles so generates the same varients in structure eg: The King Griff, Duke Milo (with the same 50% chance of adding a number after the name) and also a system call generating eg: The Baron of Lave.

// The fourth (and final) sub-template also names about 25 stations in total, but is broken down into 5 subdivisions as before, so each sub-division only names about 5 stations each.
// For the forth template all the gender neutral surnames and the female first names are called by using a all names list. I will copy over a similar list of male names from Random Hits at some point as for this template male, female and neutral names all work. But for this test there are 276 names on the call list so it should still give a very good variety.
// The first subdvision of the fourth template only names about 5 stations and uses two naming styles so each sytle only names a couple of stations. The first style uses a poetic first word and then alternates with a name or the system name as an ending. This is a simple copy & paste from earlier templates but generates very different names such as: Echo of Lave, Vision of Sarh, Griff's Contemplation, Jane's Reflection and so on.
// TO DO sub-templates 2 to 5. Its really a C&P exercise, but I kinda need to test my generator in the wild at this point before adding more.
	
	<key>named_stations_random_name_generater_template_type_2</key>
	<array>
	<string>[named_stations_random_name_generater_famous_names_list]'s [named_stations_random_name_generater_template_type_2_second_word]</string>
	<string>[named_stations_random_name_generater_famous_names_list]'s [named_stations_random_name_generater_template_type_2_second_word_subtable1] of [named_stations_random_name_generater_template_type_2_second_word_subtable2]</string>
	<string>[named_stations_random_name_generater_template_type_2_subtemplate_type_3]</string>
	<string>[named_stations_random_name_generater_template_type_2_subtemplate_type_4]</string>
	</array>

	<key>named_stations_random_name_generater_famous_names_list</key>
	<array>
	<string>[named_stations_random_name_generater_famous_names_list_subtable_1]</string>
	<string>[named_stations_random_name_generater_famous_names_list_subtable_2]</string>
	<string>[named_stations_random_name_generater_famous_names_list_subtable_3]</string>
	<string>[named_stations_random_name_generater_famous_names_list_subtable_4]</string>
	<string>[named_stations_random_name_generater_famous_names_list_subtable_5]</string>
	</array>

	<key>named_stations_random_name_generater_famous_names_list_subtable_1</key>
	<array>
	<string>Bell</string>
	<string>Braben</string>
	<string>Ahruman</string>
	<string>Aegidian</string>
	<string>Griff</string>
	<string>Walch</string>
	<string>Spara</string>
	<string>Selezen</string>
	<string>McLane</string>
	<string>Drew</string>
	<string>Duval</string>
	<string>Argent</string>
	<string>Mosser</string>
	<string>Clarke</string>
	<string>Reynolds</string>
	<string>Milo</string>
	<string>Ryder</string>
	<string>Holdstock</string>
	<string>Zetter</string>
	<string>Jameson</string>
	<string>Rxke</string>
	<string>Ramon</string>
	<string>Pagroove</string>
	<string>Reno</string>
	<string>Arexack</string>
	<string>Ramirez</string>
	<string>McDouglas</string>
	<string>Hoggy</string>
	<string>Asimov</string>
	<string>De Havilland</string>
	<string>McJamefire</string>
	<string>Bowman</string>
	</array>

	<key>named_stations_random_name_generater_famous_names_list_subtable_2</key>
	<array>
	<string>Morgan</string>
	<string>Asher</string>
	<string>Livingstone</string>
	<string>Wise</string>
	<string>Hickman</string>
	<string>Slartibartfast</string>
	<string>Dent</string>
	<string>Blacksand</string>
	<string>Zeep</string>
	<string>Zorath</string>
	<string>Goldberg</string>
	<string>Loki</string>
	<string>Weston</string>
	<string>Blake</string>
	<string>Avon</string>
	<string>Rimmer</string>
	<string>Lister</string>
	<string>Marlowe</string>
	<string>Saxton</string>
	<string>Kubrick</string>
	<string>Welsh</string>
	<string>Herbert</string>
	<string>Moritz</string>
	<string>Parker</string>
	<string>Lawrence</string>
	<string>Brooke</string>
	<string>Lestat</string>
	<string>Romero</string>
	<string>Stovin</string>
	<string>Fisher</string>
	<string>Carpenter</string>
	<string>McLaren</string>
	</array>

	<key>named_stations_random_name_generater_famous_names_list_subtable_3</key>
	<array>
	<string>Churchill</string>
	<string>Obama</string>
	<string>Kennedy</string>
	<string>Servalan</string>
	<string>Tarrant</string>
	<string>Babbadobba</string>
	<string>Hook</string>
	<string>Tyler</string>
	<string>Tomsk</string>
	<string>Smith</string>
	<string>Tarant</string>
	<string>Zheaton</string>
	<string>Heisenberg</string>
	<string>Plank</string>
	<string>Einstein</string>
	<string>Newton</string>
	<string>Jones</string>
	<string>Pinkman</string>
	<string>McGeavy</string>
	<string>Barker</string>
	<string>Baily</string>
	<string>Golan</string>
	<string>Sharrock</string>
	<string>Greenwood</string>
	<string>Silversmith</string>
	<string>Kryten</string>
	<string>Turner</string>
	<string>Tarkin</string>
	<string>Capone</string>
	<string>Kelly</string>
	<string>Wexler</string>
	<string>Redfield</string>
	</array>

	<key>named_stations_random_name_generater_famous_names_list_subtable_4</key>
	<array>
	<string>McCloud</string>
	<string>Dexter</string>
	<string>Haussmann</string>
	<string>McCartney</string>
	<string>Lennon</string>
	<string>Khan</string>
	<string>Wesker</string>
	<string>Singh</string>
	<string>Nielsen</string>
	<string>Pullman</string>
	<string>Bunter</string>
	<string>Scoresby</string>
	<string>Goodwin</string>
	<string>Jenner</string>
	<string>Wodehouse</string>
	<string>Baltar</string>
	<string>Marple</string>
	<string>Hickson</string>
	<string>Hinchcliff</string>
	<string>Mort</string>
	<string>Wharton</string>
	<string>Quelch</string>
	<string>Wellington</string>
	<string>Armstrong</string>
	<string>Picard</string>
	<string>Riker</string>
	<string>Jellico</string>
	<string>Kirk</string>
	<string>McTurk</string>
	<string>Grey</string>
	<string>Petersolvoff</string>
	<string>Lovecraft</string>
	</array>

	<key>named_stations_random_name_generater_famous_names_list_subtable_5</key>
	<array>
	<string>Tolkien</string>
	<string>Karpov</string>
	<string>Ripley</string>
	<string>Walker</string>
	<string>Polard</string>
	<string>Poe</string>
	<string>Barton</string>
	<string>Gamgee</string>
	<string>Took</string>
	<string>Paterson</string>
	<string>Doyle</string>
	<string>Johnson</string>
	<string>Watson</string>
	<string>Dhal</string>
	<string>Pratchett</string>
	<string>Windham</string>
	<string>Blackstone</string>
	<string>Newman</string>
	<string>Asher</string>
	<string>Omar</string>
	<string>Spencer</string>
	<string>Ford</string>
	<string>McArthur</string>
	<string>Beeblebrox</string>
	<string>Greenberg</string>
	<string>Timberman</string>
	<string>Locke</string>
	<string>O'Rook</string>
	<string>Townsend</string>
	<string>Bryson</string>
	<string>O'Donald</string>
	<string>Bond</string>
	</array>

	<key>named_stations_random_name_generater_template_type_2_second_word</key>
	<array>
	<string>Port</string>
	<string>Claim</string>
	<string>Point</string>
	<string>Outpost</string>
	<string>Base</string>
	<string>Hub</string>
	<string>Camp</string>
	<string>Landing</string>
	<string>Cove</string>
	<string>Bay</string>
	<string>Terminus</string>
	<string>Drift</string>
	<string>Gambit</string>
	<string>Rest</string>
	<string>Refuge</string>
	<string>Last Stand</string>
	<string>Lost Love</string>
	<string>Embrace</string>
	<string>Courage</string>
	<string>Wimsey</string>
	<string>Cunning</string>
	<string>Repose</string>
	<string>Regret</string>
	<string>Triumph</string>
	<string>Victory</string>
	<string>Pride</string>
	<string>Benevolence</string>
	<string>Magnificence</string>
	<string>Bluff</string>
	<string>Conceit</string>
	<string>Secret</string>
	<string>Folly</string>
	</array>

	<key>named_stations_random_name_generater_template_type_2_second_word_subtable1</key>
	<array>
	<string>Fist</string>
	<string>Hand</string>
	<string>Gauntlet</string>
	<string>Sword</string>
	<string>Will</string>
	<string>Wall</string>
	<string>Heart</string>
	<string>Conduit</string>
	<string>Mind</string>
	<string>Book</string>
	<string>Rod</string>
	<string>Horn</string>
	<string>Cloak</string>
	<string>Oasis</string>
	<string>Citadel</string>
	<string>Cradle</string>
	</array>

	<key>named_stations_random_name_generater_template_type_2_second_word_subtable2</key>
	<array>
	<string>Iron</string>
	<string>Steel</string>
	<string>Stone</string>
	<string>Ice</string>
	<string>Flame</string>
	<string>Amber</string>
	<string>Jade</string>
	<string>Clarity</string>
	<string>Glory</string>
	<string>Fortitude</string>
	<string>Charity</string>
	<string>Exultation</string>
	<string>Foundation</string>
	<string>Mystery</string>
	<string>Loyalty</string>
	<string>Heroism</string>
	</array>

	<key>named_stations_random_name_generater_template_type_2_subtemplate_type_3</key>
	<array>
	<string>[named_stations_random_name_generater_template_type_2_subtemplate_type_3_name_style1]</string>
	<string>[named_stations_random_name_generater_template_type_2_subtemplate_type_3_name_style2]</string>
	<string>[named_stations_random_name_generater_template_type_2_subtemplate_type_3_name_style3]</string>
	<string>[named_stations_random_name_generater_template_type_2_subtemplate_type_3_name_style4]</string>
	<string>[named_stations_random_name_generater_template_type_2_subtemplate_type_3_name_style5]</string>
	</array>

	<key>named_stations_random_name_generater_template_type_2_subtemplate_type_3_name_style1</key>
	<array>
	<string>[named_stations_random_name_generater_list_of_female_titles] [named_stations_random_name_generater_list_of_female_first_names][named_stations_random_name_generater_list_of_female_titles_ending]</string>
	</array>

	<key>named_stations_random_name_generater_template_type_2_subtemplate_type_3_name_style2</key>
	<array>
	<string>The [named_stations_random_name_generater_list_of_female_titles] [named_stations_random_name_generater_list_of_female_first_names][named_stations_random_name_generater_list_of_female_titles_ending_switch]</string>
	</array>

	<key>named_stations_random_name_generater_template_type_2_subtemplate_type_3_name_style3</key>
	<array>
	<string>The [named_stations_random_name_generater_list_of_female_titles] of [%H]</string>
	</array>

	<key>named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style4</key>
	<array>
	<string>[named_stations_random_name_generater_famous_names_list] [named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style4_ending]</string>
	<string>[named_stations_random_name_generater_famous_names_list] [named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style4_ending]</string>
	<string>[named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style4_first_word] [named_stations_random_name_generater_famous_names_list]</string>
	</array>

	<key>named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style5</key>
	<array>
	<string>[named_stations_random_name_generater_list_of_male_titles] [named_stations_random_name_generater_famous_names_list][named_stations_random_name_generater_list_of_female_titles_ending]</string>
	<string>The [named_stations_random_name_generater_list_of_male_titles] [named_stations_random_name_generater_famous_names_list][named_stations_random_name_generater_list_of_female_titles_ending_switch]</string>
	<string>The [named_stations_random_name_generater_list_of_male_titles] of [%H]</string>	
	</array>	

	<key>named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style4_ending</key>
	<array>
	<string>Point</string>
	<string>Base</string>
	<string>Hub</string>
	<string>Landing</string>
	<string>Cove</string>
	<string>Bay</string>
	<string>Terminus</string>
	<string>Central</string>
	</array>

	<key>named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style4_first_word</key>
	<array>
	<string>Port</string>
	<string>Outpost</string>
	<string>Camp</string>
	</array>

	<key>named_stations_random_name_generater_list_of_female_titles/key>
	<array>
	<string>Queen</string>
	<string>Princess</string>
	<string>Duchess</string>
	<string>Lady</string>
	<string>Marchioness</string>
	<string>Countess</string>
	<string>Viscountess</string>
	<string>Baroness</string>
	</array>

	<key>named_stations_random_name_generater_list_of_male_titles/key>
	<array>
	<string>King</string>
	<string>Prince</string>
	<string>Duke</string>
	<string>Lord</string>
	<string>Marquess</string>
	<string>Earl</string>
	<string>Count</string>
	<string>Viscount</string>
	<string>Baron</string>
	</array>

	<key>named_stations_random_name_generater_list_of_female_titles_ending/key>
	<array>
	<string></string>
	<string>[named_stations_random_name_generater_list_of_female_titles_ending_alt]</string>
	</array>

	<key>named_stations_random_name_generater_list_of_female_titles_ending_switch/key>
	<array>
	<string></string>
	<string>[named_stations_random_name_generater_list_of_female_titles_ending_switch_alt]</string>
	</array>

	<key>named_stations_random_name_generater_list_of_female_titles_alt/key>
	<array>
	<string> the First</string>
	<string> the Second</string>
	<string> the Third</string>
	<string> the Fourth</string>
	</array>

	<key>named_stations_random_name_generater_list_of_female_titles_switch_alt/key>
	<array>
	<string> I</string>
	<string> II</string>
	<string> III</string>
	<string> IV</string>
	<string> V</string>
	<string> VI</string>
	</array>

	<key>named_stations_random_name_generater_template_type_2_subtemplate_type_4</key>
	<array>
	<string>[named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style1]</string>
	<string>[named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style2]</string>
	<string>[named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style3]</string>
	<string>[named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style4]</string>
	<string>[named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style5]</string>
	</array>

	<key>named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style1</key>
	<array>
	<string>[named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style1_first_word] of [named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style1_second_word]</string>
	<string>[named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style1_second_word]'s [named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style1_first_word]</string>
	</array>

	<key>named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style1_first_word</key>
	<array>
	<string>Echo</string>
	<string>Vision</string>
	<string>Song</string>
	<string>Reflection</string>
	<string>Contemplation</string>
	</array>

	<key>named_stations_random_name_generater_template_type_2_subtemplate_type_4_name_style1_second_word</key>
	<array>
	<string>[named_stations_random_name_generater_list_of_all_names]</string>
	<string>[%H]</string>	
	</array>

	<key>named_stations_random_name_generater_list_of_all_names</key>
	<array>
	<string>[named_stations_random_name_generater_list_of_female_first_names]</string>
	<string>[named_stations_random_name_generater_famous_names_list]</string>
	</array>


	<key>named_stations_random_name_generater_list_of_female_first_names</key>
	<array>
	<string>[named_stations_random_name_generater_list_of_female_first_names_subtable1]</string>
	<string>[named_stations_random_name_generater_list_of_female_first_names_subtable2]</string>
	<string>[named_stations_random_name_generater_list_of_female_first_names_subtable3]</string>
	</array>

	<key>named_stations_random_name_generater_list_of_female_first_names_subtable1</key>
	<array>
	<string>Elizabeth</string>
	<string>Anne</string>
	<string>Mary</string>
	<string>Victoria</string>
	<string>Sarah</string>
	<string>Jane</string>
	<string>Rebecca</string>
	<string>Gemma</string>
	<string>Cynthia</string>
	<string>Hayley</string>
	<string>Helen</string>
	<string>Clare</string>
	<string>Sally</string>
	<string>Shauna</string>
	<string>Caroline</string>
	<string>Usha</string>
	<string>Davina</string>
	<string>Ajanta</string>
	<string>Diane</string>
	<string>Elaine</string>
	<string>Emily</string>
	<string>Eve</string>
	<string>Ruth</string>
	<string>Adel</string>
	<string>Lisa</string>
	<string>Louise</string>
	<string>Sigourney</string>
	<string>Suzanna</string>
	<string>Tracey</string>
	<string>Sylvia</string>
	<string>Rose</string>
	<string>Emma</string>
	</array>

	<key>named_stations_random_name_generater_list_of_female_first_names_subtable2</key>
	<array>
	<string>Catherine</string>
	<string>Guinevere</string>
	<string>Mavis</string>
	<string>Diana</string>
	<string>Sue</string>
	<string>Jennifer</string>
	<string>Coco</string>
	<string>Pamela</string>
	<string>Crystal</string>
	<string>Holly</string>
	<string>Sharon</string>
	<string>Monica</string>
	<string>Amanda</string>
	<string>Jasmine</string>
	<string>Olive</string>
	<string>Sara</string>
	<string>Dawn</string>
	<string>Mina</string>
	<string>Janice</string>
	<string>Charlotte</string>
	<string>Gertrude</string>
	<string>Virginia</string>
	<string>Alberta</string>
	<string>Zani</string>
	<string>Priss</string>
	<string>Gwen</string>
	<string>Imogen</string>
	<string>Delphine</string>
	<string>Francesca</string>
	<string>Melanie</string>
	<string>Ruby</string>
	<string>Patricia</string>
	</array>

	<key>named_stations_random_name_generater_list_of_female_first_names_subtable3</key>
	<array>
	<string>Lorraine</string>
	<string>Amanda</string>
	<string>Donna</string>
	<string>Jessica</string>
	<string>Lalla</string>
	<string>Sally</string>
	<string>Laura</string>
	<string>Alice</string>
	<string>Dorothy</string>
	<string>Edith</string>
	<string>Narita</string>
	<string>Navaz</string>
	<string>Eleanor</string>
	<string>Natalie</string>
	<string>Cordelia</string>
	<string>Janet</string>
	<string>Rosie</string>
	<string>Sandra</string>
	<string>Siobhan</string>
	<string>Danielle</string>
	<string>Cecile</string>
	<string>Celeste</string>
	<string>Alison</string>
	<string>Bernadette</string>
	<string>Antoinette</string>
	<string>Isabella</string>
	<string>Savannah</string>
	<string>Sophie</string>
	<string>Ava</string>
	<string>Jill</string>
	<string>Caoimhe</string>
	<string>Cara</string>
	</array>




// Blank Template for C & Ping Tables. Take out before release

	<key></key>
	<array>
	<string></string>
	</array>


</dict>
</plist>
Edit: Had used iCode, but changed it to code. Hopefully thats a bit more reaadable!
Last edited by LittleBear on Sat Jul 25, 2020 7:31 pm, edited 1 time in total.
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
User avatar
Milo
---- E L I T E ----
---- E L I T E ----
Posts: 462
Joined: Mon Sep 17, 2018 5:01 pm

Re: Flavour OXP – Named Stations – Would need help with a Script.

Post by Milo »

You can use the [ code ] [ /code ] tags around the code/plist excerpts.
Post Reply