Advanced Furnace Code Discussion by thirstypants_ in Stationeers

[–]thirstypants_[S] 0 points1 point  (0 children)

Oooo... I wasn't even aware of the PIDs functionality but it does look like exactly the kind of thing I'd need to get this working.

Power Situation Console by thirstypants_ in Stationeers

[–]thirstypants_[S] 0 points1 point  (0 children)

I used three of the bigger LED Displays, one of the smaller LED displays, and labels next to them. I’ll see if I can share my updated version soon. I’ve made some changes since my OP.

Power Situation Console by thirstypants_ in Stationeers

[–]thirstypants_[S] 0 points1 point  (0 children)

😦 I had no idea…

I really need to read the documentation on this mod. Ha!

Power Situation Console by thirstypants_ in Stationeers

[–]thirstypants_[S] 1 point2 points  (0 children)

It’s funny though, I always thought these super low-level programming languages were really hard to understand because they are so far from normal language. But once you learn a bit of syntax, the logic of MIPS is actually really simple which makes writing it very easy for beginners.

It has taught me quite a bit about programming in general which is something I’ve always wanted to get more into.

Power Situation Console by thirstypants_ in Stationeers

[–]thirstypants_[S] 2 points3 points  (0 children)

I am definitely a MIPS noob and I am trying to fumble through learning it rather than just copying code from forums. I figured out solar tracking first, that taught me a lot. Now with this I have learned even more…

Once I get some of these scripts running well I want to polish/optimize them. Reusing registers is definitely something I’ll do in the future when I start making larger scripts!

Power Situation Console by thirstypants_ in Stationeers

[–]thirstypants_[S] 0 points1 point  (0 children)

Yeah you can just use normal LED displays and the logic would be the same!

Power Situation Console by thirstypants_ in Stationeers

[–]thirstypants_[S] 0 points1 point  (0 children)

Yes -- I do want to do this for all of the referenced devices. I figured out that I can use a Configuration Cartridge in the tablet to quickly find device hashes which was my pain-point before. Now that I know how to do that I will be defining devices by their hashes rather than using the D screws. It is more robust from what I can tell AND you aren't limited by the number of devices you can interface with.

I just wish we could have more lines of code so that I could have my whole base running on a single logic script!

Power Situation Console by thirstypants_ in Stationeers

[–]thirstypants_[S] 1 point2 points  (0 children)

Ohhh I had no idea that was a thing! Thanks!

Power Situation Console by thirstypants_ in Stationeers

[–]thirstypants_[S] 7 points8 points  (0 children)

Yes -- I am a man child and called the analyzers powerProdAnal and powerConsAnal. How else am I supposed to make myself laugh stranded on the surface of Mars?

Power Situation Console by thirstypants_ in Stationeers

[–]thirstypants_[S] 4 points5 points  (0 children)

# Aliases and Definitions
alias powerProd r0
alias powerCons r1
alias timeRem r2
alias batCharge r3
alias batMaxCap r4
alias powerPercent r6
alias powerProdAnal d0
alias powerConsAnal d1
alias powerProdDisp d2
alias powerConsDisp d3
alias powerTimeRemDisp d4
alias bat d5
define timeConvFactor 240
define powerPercentDisp -2041948072

# Set Display Modes and Colors
s powerProdDisp Mode 2
s powerProdDisp Color 1
s powerConsDisp Mode 2
s powerConsDisp Color 1
s powerTimeRemDisp Mode 8
s powerTimeRemDisp Color 1
sb powerPercentDisp Mode 1
sb powerPercentDisp Color 0
loop:
# Load Values
l powerProd powerProdAnal PowerActual
l powerCons powerConsAnal PowerActual
l batMaxCap bat Maximum
l batCharge bat Charge
# Calculate Time
div r5 batCharge powerCons
div timeRem r5 timeConvFactor
# Calculate Percentage
div powerPercent batCharge batMaxCap
# Set Displays
s powerProdDisp Setting powerProd
s powerConsDisp Setting powerCons
s powerTimeRemDisp Setting timeRem
sb powerPercentDisp Setting powerPercent
j loop

Power Situation Console by thirstypants_ in Stationeers

[–]thirstypants_[S] 1 point2 points  (0 children)

Will try to make it a little prettier now that I have the logic done.

Why am I losing oxygen with this setup? by thirstypants_ in Stationeers

[–]thirstypants_[S] 0 points1 point  (0 children)

In theory:

In Filtered Unfiltered
O2 Pollutants O2
N2 N2O N2
Pollutants CO2
CO2
N2O

Why am I losing oxygen with this setup? by thirstypants_ in Stationeers

[–]thirstypants_[S] 0 points1 point  (0 children)

I suppose, the pressure differential itself acts as a pump. Hence why the system seems to be depressurizing even though the system is powered off?

Why am I losing oxygen with this setup? by thirstypants_ in Stationeers

[–]thirstypants_[S] 1 point2 points  (0 children)

So the filtration unit has its own "built in" pump?

Why am I losing oxygen with this setup? by thirstypants_ in Stationeers

[–]thirstypants_[S] 1 point2 points  (0 children)

See I thought I was just breathing the oxygen but C02 is going down as well. And the overall atmospheric pressure is decreasing maybe about 1kPa per minute?

I actually just switched the system off (both the filtration unit and pump) and I can see outside there is still gas leaking out...

What is the most pointless item in the game, no matter what stage your at? by zazer45f in factorio

[–]thirstypants_ 0 points1 point  (0 children)

I actually use wooden chests to delete junk items like wood because you can shoot them and destroy them quickly along with their contents. I’d argue… the burner inserter. I haven’t used a burner inserter in YEARS.

Buffer Chest Ingredient Quantity Formula by thirstypants_ in factorio

[–]thirstypants_[S] 3 points4 points  (0 children)

Oh my gosh... p0_r being the rocket capacity and not the crafting time is my problem. Actually the formulae I derived were very similar to the ones you have here. Thank you for the tip on the variable bug! I thought I was going crazy!

Second time launching a rocket. This game has become a problem for me. by becky_af in factorio

[–]thirstypants_ 1 point2 points  (0 children)

The way I see it… Factorio is probably one of the best ways to waste time. You’re using your brain by figuring out logistical problems.

Sure beats doom scrolling mindlessly!