Giter Site home page Giter Site logo

violet-scarelli / senomorerocketmanfix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mjem/senomorerocketman

0.0 0.0 0.0 188 KB

Factorio mod to make spaceships, transport capsules and logistics cheaper and available sooner using the Space Exploration mod (removing dependency on K2)

License: MIT License

Python 21.84% Lua 78.16%

senomorerocketmanfix's Introduction

Space Exploration - No More Rocket Man

Summary

Tweaks to the Space Exploration mod centered around encouraging use of spaceships instead of cargo rockets.

Introduction

This mod makes playing using the Space Exploration mod faster paced by making spaceships and other techs cheaper and available earlier. It is only for use with Space Exploration and Krastorio 2, optionally with the Very BZ mod.

Spaceships become available soon after the player reaches Nauvis orbit and their launch costs are reduced making them a viable transport option almost from the start of the space age.

Logistics, spaceship automation, space trains and elevators and other techs are also available much sooner than normal in SE.

In addition, for balance and to further encourage use of spaceships, cargo rockets and delivery capsules are removed. I find spaceships are the most fun way of setting up interplanetary transport networks and dislike the way cargo rockets and delivery capsules simply instantly teleport between surfaces, losing the sense of scale that the Space Exploration mod is capable of.

All the changes are optional and controlled via mod settings in the GUI, except the changes listed below which must be made by manually patching the SE mod code. The settings can only be adjusted when starting a new game. This mod can be safely added to an existing save (but watch out for changes to the space elevator cable recipe if added to a save advanced enough to use them).

Tech changes

With this mod installed and all options active you get the following progressions sooner than usual:

  • Rocket Science - Personal transport capsules and logistic chests
  • Space Science - Spaceships and spaceship automation
  • Production Science - Space science lab (by unlocking lithium batteries)
  • Utility and Production Science - Space trains, space elevator

Manual changes

The following changes make spaceships and personal transport capsules cheaper to build and operate and more useful.

Setup

First, find the Space Exploration mod .zip file. On Linux this will be mods underneath the directory where the game files were unpacked to.

Unzip the original mod using the command line unzip <filename> or by using Windows Explorer.

Reduce launch costs for spaceships

Edit scripts/spaceship.lua around line 378 at the end of function Spaceship.get_launch_energy_cost() from:

return energy_cost

to:

return energy_cost / 100

Reduce fuel and cargo rocket sections cost for launching personal transport capsules

Edit scripts/capsule.lua (around line 311) and change:

return total_fuel_cost, sections_cost

to:

return math.min(total_fuel_cost/10, 10000000000), 0

Enable larger cargo capacity for transport capsules

Find scripts/capsule.lua and change the line (around line 16) from:

Capsule.max_stacks = 200

to:

Capsule.max_stacks = 2000

Remove the display of rocket sections and cargo limits in the capsule gui

Edit scripts/capsule-gui.lua and find the following lines around 83:

-- Capacity
local property_flow = subheader_frame.add{type="flow", direction="horizontal"}

Change to:

-- Capacity
local property_flow = subheader_frame.add{type="flow", direction="horizontal", visible=false}

And change:

-- First stage
property_flow = subheader_frame.add{type="flow", direction="horizontal"}

to:

-- First stage
property_flow = subheader_frame.add{type="flow", direction="horizontal", visible=false}

Finishing up

You can run the game directly from the unzipped source files - the directory of individual files will take precedent over the original .zip file. Or if you prefer, re-compress the changed files and delete the directory of individual files.

Diffs

The source code for this mod on gitlab includes .patch files for applying these changes.

senomorerocketmanfix's People

Contributors

mjem avatar violet-scarelli avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.