MiningCo. Spaceship

MOD Desc
This mod adds MiningCo. spaceships. See the forum thread for content/changelog. https://ludeon.com/forums/index.php?topic=14711.msg153947#msg153947

PLEASE START A NEW WORLD AND COLONY! Otherwise, you may get errors about null faction (or use Orion’s Faction discovery mod).
A FAQ is available. Take a minute to read it! 🙂

MiningCo.: spaceship
This time, MiningCo. is showing all its might! The orbital station is fully functional, dispatching expedition teams all around this rimworld and crushing any resistance with a rain of bullets, rockets and fire!

– Want to trade with us? Build an orbital relay and a proper landing pad. Let’s the business begin and the cash flow!
– Having problems with raiders? Request a real air strike!
– Your pawns are dying from the plague and you have run out of medicine? Request a medical assistance!
– Your need more and more steel? Request a real cargo spaceship with plenty of supplies!

Features
1) Adds several spaceship kinds:
– cargo spaceship: will periodically land to trade few bulk goods.
– cargo spaceship: (requested) will land with an assortment of MiningCo. stuff and more bulk goods.
– medical spaceship: (requested for a price) will dispatch medics to heal your pawns.
– dispatcher spaceships: will pay you to use your landing pads to drop and pick expedition teams.

2) Request air strikes to crush intruders! Warning! MiningCo. cannot be held responsible for any collateral damage.

3) Send a pawn needing urgent medical attention to get proper healing aboard the orbital station.
* To receive orbital healing, a pawn must obviously have treatable injuries or illnesses. Old injuries are not treatable but things like carcinoma, toxic build-up or malaria are.
* You must have enough silver near an orbital trade beacon to pay for the orbital healing.
* Order the injured pawn to board the spaceship if he can move or use a healthy to pawn to carry him aboard.
* The medical spaceship will take-off after a while or you can order it manually.
* The injured pawns will stay aboard the orbital station during their treatment. You cannot interrupt it!
* Once the treament is finished (duration depends on the number of injuries and lethality of illnesses), the pawn will be sent back on your colony with a drop-pod.


I have an unusual lighting-based bug that I think I’ve traced back to the landing-pad, used in combination with minify-everything. I had the landing pad installed on the exterior of a base built partially into the side of a mountain. I later found an open grassy area within the mountain itself, and I minify-ed and moved the landing pad into the interior space. When I did so, the lights that sequence on the landing pad stayed in their original location on the ground outside, but they stopped flashing. In addition, the pad at its new location fills the entire screen with a bright blue glow in the Draw Things Dynamic space that obscures everything on screenso long as the screen has a corner of the landing pad in it, which is unaffected by toggling the power to the pad. My only other comment is unrelated, which that I would appreciate a countdown indicator on strafing runs so its easier to select a location for bombers to hit.

After repirting the damaged ship (Spaceship_DamagedSpaceship even), it will infinitely spawn rewards and pop-up messagesException ticking SpaceshipDamaged657702: System.NullReferenceException: Object reference not set to an instance of an objectat Spaceship.Util_Faction.AffectFactionGoodwillWithOther (RimWorld.Faction faction, RimWorld.Faction other, Single goodwillChange) [0x00000] in :0 at Spaceship.Building_SpaceshipDamaged.DetermineConsequences () [0x00000] in :0 at Spaceship.Building_SpaceshipDamaged.Destroy (DestroyMode mode) [0x00000] in :0 at Spaceship.Building_Spaceship.Tick () [0x00000] in :0 at Spaceship.Building_SpaceshipDamaged.Tick () [0x00000] in :0 at Verse.TickList.Tick () [0x00000] in :0Link to the full log: https://gist.github.com/HugsLibRecordKeeper/3b29e093b567719b9687646937469cf6#file-output_log-txt-L8706

System.NullReferenceException: Object reference not set to an instance of an object at Spaceship.Util_DownedPawn.GetRandomReachableDownedPawn (Verse.Pawn carrier) [0x00000] in :0 at Spaceship.Trigger_ReachableDownedPawn.ActivateOn (Verse.AI.Group.Lord lord, TriggerSignal signal) [0x00000] in :0 at Verse.AI.Group.Transition.CheckSignal (Verse.AI.Group.Lord lord, TriggerSignal signal) [0x00000] in :0 at Verse.AI.Group.Lord.CheckTransitionOnSignal (TriggerSignal signal) [0x00000] in :0 at Verse.AI.Group.Lord.LordTick () [0x00000] in :0 at Verse.AI.Group.LordManager.LordManagerTick () [0x00000] in :0 at Verse.Map.MapPostTick () [0x00000] in :0 Verse.Log:Error(String)Verse.Map:MapPostTick()Verse.TickManager:DoSingleTick()Verse.TickManager:TickManagerUpdate()Verse.Game:UpdatePlay()Verse.Root_Play:Update()


Leave a Reply

Your email address will not be published. Required fields are marked *