Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Pages: 1 [2] 3 4

Author Topic: [0.95a] Modified Industry Requirements v0.3 (now editable+no pollution)  (Read 72706 times)

captinjoehenry

  • Commander
  • ***
  • Posts: 100
    • View Profile
Re: [0.95a] Modified Industry Requirements v0.2
« Reply #15 on: April 18, 2021, 06:30:34 PM »

Hello, for some reason the no req one is working for every item except the Catalitic Core ? Still needs "No planet or no atmosphere"
Pretty weird

I have the same problem with the synchrotron, it worked when the planet was barren but after terraforming to terran through DIY terraforming mod the synchrotron stopped working citing "No planet or no atmosphere". This is also on the no requirement version.
Yeah same problem here with the no requirement version.  For me it's the synchrotron and Catalitic core.  Last play through with the same mods had no issue.  But for some reason it's broken now.
Logged

gossho

  • Ensign
  • *
  • Posts: 1
    • View Profile
Re: [0.95a] Modified Industry Requirements v0.2
« Reply #16 on: April 18, 2021, 11:26:00 PM »

Hello, for some reason the no req one is working for every item except the Catalitic Core ? Still needs "No planet or no atmosphere"
Pretty weird

I have the same problem with the synchrotron, it worked when the planet was barren but after terraforming to terran through DIY terraforming mod the synchrotron stopped working citing "No planet or no atmosphere". This is also on the no requirement version.
Yeah same problem here with the no requirement version.  For me it's the synchrotron and Catalitic core.  Last play through with the same mods had no issue.  But for some reason it's broken now.
If you also have Nexerelin at the same time, that would be the cause. I had the same problem with both mods enabled. And it seems to be a problem not with this mod but with Nexerelin - the requirements for the Synchrotron and Catalitic Core are hard coded there, not even a config option. The exact place it happens there is modifySynchrotronAndCatCore() in exerelin/plugins/ExerelinModPlugin.java, if anyone is interested. I tried to fix this myself but I couldn't get the Nexerelin version I built to work.
By the way - the code for the nanoforge pollution seems to be in the method updatePollutionStatus() of com.fs.starfarer.api.impl.campaign.econ.impl.HeavyIndustry
Logged

Arazach

  • Ensign
  • *
  • Posts: 9
    • View Profile
Re: [0.95a] Modified Industry Requirements v0.2
« Reply #17 on: April 19, 2021, 04:15:59 AM »

Would it be plausible to get a config file so i dont have to use every modification this mod does?
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4661
    • View Profile
    • GitHub profile
Re: [0.95a] Modified Industry Requirements v0.2
« Reply #18 on: April 19, 2021, 07:32:22 PM »

The Nexerelin incompatibility can be worked around by changing the mod name (in mod_info.json) to something like "ZZ Modified Industry Requirements". This makes sure it runs after Nex or any other mod that changes special item requirements.

(Kind of an ugly way to do it, yeah, someone ask Alex to implement an order string field in mod info)
Logged

Fokka

  • Ensign
  • *
  • Posts: 11
    • View Profile
Re: [0.95a] Modified Industry Requirements v0.2
« Reply #19 on: April 20, 2021, 05:30:00 AM »

Spoiler
This small mod is aimed to expand the use area of new Special items, added in 0.95, by changing planet status requirements.

DOWNLOAD v0.2

DOWNLOAD(No requirements version)

Will make "+2 industries from Coronal tap" or any other reasonable version if there will be a request for it.

Note: Flavour text mostly changed, but Coronal Hypershunt activation sequence remains vanilla.

Changes:
Spoiler
  • Coronal tap:
    Range increased 10 -> 80 LY
    Transplutonics demand reduced 10 -> 6 units
  • Fusion lamp:
    Volatiles demand reduced 10 -> 5 units
  • Mantle bore:
    Requirements changed "Not a gas giant, not habitable" -> "Not a gas giant"
  • Soil nanites:
    Requirements changed "No volatiles deposits and no transplutonics deposits" -> "No volatiles deposits"
  • Catalytic core:
    Requirements changed "No atmosphere" -> "Not extreme weather and not extreme tectonic activity"
  • Synchrotron Core:
    Requirements changed "No atmosphere" -> No requirements
  • Biofactory Embryo:
    Requirements changed "Habitable" -> "Not extreme weather and not extreme tectonic activity"
[close]

No requirements version:
Spoiler
- Changed Hypershunt distance to 100 LY
- Changed Hypershunt tap and Fusion lamp resources demand to 1
- Removed all other requirements except Cryoarithmetic engine's (it won't be useful on other planets anyway)
- Changed flavour text accordingly, with the exception of Coronal Hypershunt activation sequence
[close]

Changelog:
Spoiler
- v0.2 - edited flavour text, changed Synchrotron Core reqs, added "No reqs" version
[close]

Compability:will likely cause issues with any mod that alters impl.campaign.econ.impl.ItemEffectsRepo and data/campaign/special_items.csv.
It is not advisable to disable the mod before taking out items that can't be applied to the industry in vanilla.

P.S. Thanks stormbringer951 for making this possible.
[close]
Can you make the cryosleeper facility allow it to produce organs? Also I know this is not the modding section but how can we increase or decrase the volatile or transplutonics demand?

No, I can't. Its my first mod.

If you're asking about orbital lamp and hypershunt tap, then you can set up an IDE and change values in my files, its obvious there. Or wait until I figure out how and will have time to make settings in a separate file.
Logged

Fokka

  • Ensign
  • *
  • Posts: 11
    • View Profile
Re: [0.95a] Modified Industry Requirements v0.2
« Reply #20 on: April 20, 2021, 05:35:17 AM »

By the way - the code for the nanoforge pollution seems to be in the method updatePollutionStatus() of com.fs.starfarer.api.impl.campaign.econ.impl.HeavyIndustry

Thanks, will take a look.
Logged

Droll

  • Lieutenant
  • **
  • Posts: 93
    • View Profile
Re: [0.95a] Modified Industry Requirements v0.2
« Reply #21 on: April 20, 2021, 04:48:11 PM »

The Nexerelin incompatibility can be worked around by changing the mod name (in mod_info.json) to something like "ZZ Modified Industry Requirements". This makes sure it runs after Nex or any other mod that changes special item requirements.

(Kind of an ugly way to do it, yeah, someone ask Alex to implement an order string field in mod info)

Thanks this fixed it for me.
Logged

belone

  • Ensign
  • *
  • Posts: 49
    • View Profile
Re: [0.95a] Modified Industry Requirements v0.2
« Reply #22 on: April 21, 2021, 12:38:24 PM »

Can you tell me which part of the code is responsible for the hypershunt range? all I really want is raise it by a single lightyear.
Logged

QuinnDexter

  • Ensign
  • *
  • Posts: 10
    • View Profile
Re: [0.95a] Modified Industry Requirements v0.2
« Reply #23 on: April 21, 2021, 10:52:13 PM »

Nice mod, but would indeed be nice to have a config file that is easily configurable. For example, I find the 100LY range for hypershunts excessive, it removes the need to explore for optimal locations too much. IMO, 15 LY for cryosleepers and hypershunts would be more balanced.
Logged

Revanite

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: [0.95a] Modified Industry Requirements v0.2
« Reply #24 on: April 22, 2021, 10:51:27 AM »

i dont how much work this would cause but would it be possoble to have a setting file so we can edit / turn on/off features off this mod?
Logged

Fokka

  • Ensign
  • *
  • Posts: 11
    • View Profile
Re: [0.95a] Modified Industry Requirements v0.2
« Reply #25 on: April 22, 2021, 02:01:50 PM »

Can you tell me which part of the code is responsible for the hypershunt range? all I really want is raise it by a single lightyear.

The very beginning of modplugin file. Or com.fs.starfarer.api.impl.campaign.econ.impl.ItemEffectsRepo if you want to make your own mod.

(Not sure if the first value is actually needed because alone it doesnt change anything, but just in case I change both)

[attachment deleted by admin]
« Last Edit: April 22, 2021, 02:05:28 PM by Fokka »
Logged

JudgmentCrow

  • Ensign
  • *
  • Posts: 1
    • View Profile
Re: [0.95a] Modified Industry Requirements v0.3 (now editable+no pollution)
« Reply #26 on: April 24, 2021, 01:30:57 PM »

Am I missing something? How do I use the coronal hypershunt?

I've found and defeated the super [REDACTED] ships defending it, activated by bringing the resources, but I cant use it? When I go to my colonies and click Population & Infrastructure and install item theres nothing there.
Logged

belone

  • Ensign
  • *
  • Posts: 49
    • View Profile
Re: [0.95a] Modified Industry Requirements v0.3 (now editable+no pollution)
« Reply #27 on: April 24, 2021, 01:35:34 PM »

Am I missing something? How do I use the coronal hypershunt?

I've found and defeated the super [REDACTED] ships defending it, activated by bringing the resources, but I cant use it? When I go to my colonies and click Population & Infrastructure and install item theres nothing there.

You need to find another item called "Hypershunt tap", good luck, it's rare as heck.
Logged

Szasz

  • Captain
  • ****
  • Posts: 314
    • View Profile
Re: [0.95a] Modified Industry Requirements v0.2
« Reply #28 on: April 25, 2021, 05:24:42 AM »

Thanks! These are now actually more balanced, especially the ones that required 10 resources (considering the limited number of colonies we can have.....).
There is no colony limit, however that won't help.
The problem is the lack of realism regarding economy. You cannot fulfil the requirement of 10 transplutonics with two colonies producing 5 each for example.
Logged

Blitzm0

  • Ensign
  • *
  • Posts: 18
    • View Profile
Re: [0.95a] Modified Industry Requirements v0.3 (now editable+no pollution)
« Reply #29 on: August 27, 2021, 10:11:20 PM »

Hey uhm can you also update this ton adjustable cryosleeper range?That'll be a great selling point
Logged
Pages: 1 [2] 3 4