I've got this MagicBounty that's supposed to send the player to any system with a particular theme ("prv_agni_presence"), but the theme is optional and not always present in the sector. If it's missing the bounty will still spawn in the bar event list, but players can't view or accept it. This triggers the "No suitable spawn location could be found for bounty" log error message.
gets the bounty to work as it should, except now it obviously won't send players somewhere interesting.
doesn't seem to help.
Spoiler
"prv_gremlin_rb_rare_hybrid":{
#TRIGGERS (ALL OPTIONAL)
"trigger_min_fleet_size": 75,
"trigger_marketFaction_any": ["prv"],
"trigger_marketFaction_alliedWith": true,
#BOUNTY DESCRIPTION
"job_name": "Flight Into the Unknown",
"job_description": "Your prv naval intelligence contact is as terse as always: \"There is an exploration ship, the 'Flight Into the Unkown'. It has found something it should not have. Destroy the records within it without delay.\" His mild voice and melodic accent stand as a curious contrast to the crude intentions he represents.",
"job_comm_reply": "A grouchy man in a curious brown felt hat eyeballs you through the commscreen. No one says anything. In the background you can see a tabby cat chasing a white hen. What kind of person brings chickens onto a starship bridge? The silence continues. After a few minutes of standoff the cat jumps onto the command console, turning it off. It is time for action.",
"job_intel_success": "Strange things found deep in space, hidden away from inquisitive sensors and telescopes, a spacer tale as old as interplanetary flight. Bizarre creatures from the dark side of the moon, the outer fringes of the domain frontier, or merely living in the closets of our imaginations. Things real enough to kill over.",
#"job_intel_failure": "",
"job_intel_expired": "It was always a tough timetable, finding a fleet in deep space in under three months. By now they are likely to have safely returned to the core with whatever spoils - and information - they could have managed to gather.",
"job_forFaction": "prv",
"job_deadline": 90,
"job_credit_reward": 150000,
"job_reward_scaling": 0.3,
"job_reputation_reward":5,
"job_type":"assassination",
"job_show_type": true,
"job_show_captain": true,
"job_show_fleet": "vanilla",
"job_show_distance": "vanilla",
"job_show_arrow": false,
"job_difficultyDescription": "auto",
#TARGET COMMANDER (OPTIONAL)
"target_first_name":"Old Man",
"target_last_name":"Pettson",
"target_portrait":"graphics/portraits/portrait17.png",
"target_gender":"MALE",
"target_rank": "citizen",
"target_post": "spacer",
"target_personality": "aggressive",
"target_level": 5,
"target_elite_skills":0,
"target_skill_preference": "YES_ENERGY_NO_BALLISTIC_NO_MISSILE_YES_DEFENSE",
#TARGET FLEET
"fleet_name":"Exploration Fleet",
"fleet_faction": "rb",
"fleet_flagship_variant":"prv_gremlin_rb_rare_hybrid",
"fleet_flagship_name":"Flight Into the Unknown",
"fleet_flagship_recoverable": true,
"fleet_flagship_autofit": false,
"fleet_preset_ships": {
"prv_flock_rb_strike":1, "prv_gremlin_rb_strike":1, "prv_gremlin_rb_support":1,
},
"fleet_preset_autofit": false,
"fleet_scaling_multiplier": 0.85,
"fleet_min_FP": 90,
"fleet_composition_quality": 1,
"fleet_transponder": true,
"fleet_no_retreat": false,
"fleet_behavior": "GUARDED",
#LOCATION
"location_distance": "FAR",
"location_themes": ["theme_prv_agni_presence",],
"location_themes_blacklist": ["theme_already_occupied", "theme_already_colonized", "theme_hidden", "no_pulsar_blackhole"],
"location_prioritizeUnexplored": true,
"location_defaultToAnyEntity": true,
},
In particular MagicCampaign.findSuitableTarget seems to be returning null since it's treating
as hard requirements, while the method comments suggest it to be a preference. May be related to comment
never got populated.