[MOD 0.12.11+] Stamina

Topics and discussion about specific mods
Schmendrick
Fast Inserter
Fast Inserter
Posts: 222
Joined: Wed Apr 30, 2014 11:17 pm
Contact:

[MOD 0.12.11+] Stamina

Post by Schmendrick »

Stamina

Info:
  • Stamina is a small mod that causes various manual activity to slowly drain your health.
  • Name: Stamina
  • Version: 0.2.3
  • Release: 2016/01/07
  • Tested-With-Factorio-Version: 0.12.20
  • License: CC BY-NC 4.0
    Versions 0.2.1 and earlier had their license explained as "I don't care much what you do with this in terms of adaptation or modpack inclusion, as long as you acknowledge me in your work."
  • Author/contact: Schmendrick (Loren1350)
  • Download:
    Stamina_0.2.3.zip
    (1.27 KiB) Downloaded 731 times


Description:
You should probably automate more things. With Stamina, hand-crafting stuff will slowly drain health, at a rate of 1 health per second. The vanilla player's max health is 100, so you might want to rethink hand crafting that level 3 module...

Mining (which includes chopping trees as well as picking up placed buildings) also drains health, at the same rate - and they stack, so mining while crafting will drain 2 health/second. Running causes you to regen health slower (but will not penalize crafting stamina drain any further, as in versions pre-0.2.1).

This encourages the use of automation (and gives an early game reason to eat fish, as you craft your first few science packs...) and foresight, as well as providing a minor incentive to use vehicles and paving.

Changes
  • 0.2.1: Damage from crafting/mining does not stack with walking regen penalty. Mod should adapt to new character types added by other other mods. Players in vehicles no longer immune to effects.
  • 0.2.2: Updated for 0.12.11+ compatibility
  • 0.2.3: Fixed error with loading a saved game, because I'm a moron and try to use gamescript in on_load and didn't test that.
v.0.2.0, for Factorio 0.12.4 and under.
Stamina_0.2.0.zip
(1.2 KiB) Downloaded 436 times

Known Issues
In v0.2.0, players in vehicles are immune to stamina drain.

0.1.x, for Factorio 0.11.x
Last edited by ssilk on Tue Mar 08, 2016 1:53 pm, edited 7 times in total.
Reason: Fixed thread title, this needs to be like so.
Like my mods? Check out another! Or see older, pre-0.12.0 mods.

User avatar
cpy
Filter Inserter
Filter Inserter
Posts: 839
Joined: Thu Jul 31, 2014 5:34 am
Contact:

Re: [0.12.x] Stamina

Post by cpy »

Noone tested this in 0.12 MP yet?

You don't take damage in train or car. :P

It seems to work in 0.12MP.

Schmendrick
Fast Inserter
Fast Inserter
Posts: 222
Joined: Wed Apr 30, 2014 11:17 pm
Contact:

Re: [0.12.x] Stamina

Post by Schmendrick »

cpy wrote:You don't take damage in train or car. :P
Fixed, thanks to the new script interface. Also made the mod more adaptive to characters added by mods (or future vanilla), and removed the "walking" health drain when also crafting, so it doesn't stack.
Like my mods? Check out another! Or see older, pre-0.12.0 mods.

Schmendrick
Fast Inserter
Fast Inserter
Posts: 222
Joined: Wed Apr 30, 2014 11:17 pm
Contact:

Re: [0.12.5+] Stamina

Post by Schmendrick »

Updated for current Factorio (0.12.20)
Like my mods? Check out another! Or see older, pre-0.12.0 mods.

Schmendrick
Fast Inserter
Fast Inserter
Posts: 222
Joined: Wed Apr 30, 2014 11:17 pm
Contact:

Re: [0.12.5+] Stamina

Post by Schmendrick »

Updated again because I introduced a stupid bug.
Like my mods? Check out another! Or see older, pre-0.12.0 mods.

PST
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Jan 20, 2016 7:47 am
Contact:

Re: [0.12.11+] Stamina

Post by PST »

This mod is extremely cool, it's making the game more challenging and more interesting. I really don't understand why it's getting that little attention and why there's so few downloads.

For me personally it's always a must-have mod in the game. Thank you for making it!

Mr.YaR
Inserter
Inserter
Posts: 26
Joined: Fri Jan 22, 2016 9:17 am
Contact:

Re: [0.12.11+] Stamina

Post by Mr.YaR »

Very much appreciated mod!

WIth Marathon, it's hardcore to use.

malcmiller
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Jan 23, 2016 4:27 am
Contact:

Re: [0.12.11+] Stamina

Post by malcmiller »

This is awesome!. It seems like a better concept to me than some other mods that ban handcrafting outright. I haven't played it yet, but how does the damage work while wearing armor and shields?

Schmendrick
Fast Inserter
Fast Inserter
Posts: 222
Joined: Wed Apr 30, 2014 11:17 pm
Contact:

Re: [0.12.11+] Stamina

Post by Schmendrick »

malcmiller wrote:how does the damage work while wearing armor and shields?
The script adjusts your health directly, so it bypasses armor/shield considerations (and doesn't turn your screen red). When your health drops below... I think 10%, maybe 5%, it deals a (very) small portion of the drain as actual damage, triggering the red screen and potentially interacting with armor and/or shields.
Like my mods? Check out another! Or see older, pre-0.12.0 mods.

Drachimberg
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Feb 15, 2016 5:43 pm
Contact:

Re: [0.12.11+] Stamina

Post by Drachimberg »

Hello Schmendrick,

will you update this mod for V12.22?


With best regards.

Drachimberg.

Schmendrick
Fast Inserter
Fast Inserter
Posts: 222
Joined: Wed Apr 30, 2014 11:17 pm
Contact:

Re: [MOD 0.12.11+] Stamina

Post by Schmendrick »

It is working for me in 0.12.26.
Like my mods? Check out another! Or see older, pre-0.12.0 mods.

kingoftheinternet
Inserter
Inserter
Posts: 25
Joined: Sun Feb 21, 2016 12:25 am
Contact:

Re: [MOD 0.12.11+] Stamina

Post by kingoftheinternet »

I like this a lot. It makes thematic sense and it provides the right amount of pressure toward "hey, you should automate this" without the rigidity of the "no crafting/manual labor at all" mods. Thanks!

Smoovious
Long Handed Inserter
Long Handed Inserter
Posts: 99
Joined: Sun Jan 31, 2016 12:14 am
Contact:

Re: [MOD 0.12.11+] Stamina

Post by Smoovious »

Is there a minimum health it will maintain? So I don't accidentally kill myself crafting something?

Also, is it possible to add a modifier to your mining/crafting efforts based on your health? The lower your health, the less stamina you have, the slower you mine/craft as your fatigue increases?

-- Smoov

Schmendrick
Fast Inserter
Fast Inserter
Posts: 222
Joined: Wed Apr 30, 2014 11:17 pm
Contact:

Re: [MOD 0.12.11+] Stamina

Post by Schmendrick »

Smoovious wrote:Is there a minimum health it will maintain? So I don't accidentally kill myself crafting something?

Also, is it possible to add a modifier to your mining/crafting efforts based on your health? The lower your health, the less stamina you have, the slower you mine/craft as your fatigue increases?

-- Smoov
No minimum; you can definitely kill yourself by crafting. I mean, that's kind of half the point. :) However, your screen will flash red (as you do when being an attacked by an enemy) if you're crafting while below 1/8 (12.5%) health.

Currently there is no way I know of to slow down crafting based on health. At least, not in a multiplayer-friendly way (crafting speed is a shared team attribute).
Like my mods? Check out another! Or see older, pre-0.12.0 mods.

User avatar
sporefreak
Fast Inserter
Fast Inserter
Posts: 181
Joined: Sun Apr 17, 2016 12:55 am
Contact:

Re: [MOD 0.12.11+] Stamina

Post by sporefreak »

I cant even get the mod to show up in my mods section ingame :c

User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 2124
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: [MOD 0.12.11+] Stamina

Post by Ranakastrasz »

This should work.
Attachments
Stamina_0.2.3.zip
(1.27 KiB) Downloaded 122 times
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

Schmendrick
Fast Inserter
Fast Inserter
Posts: 222
Joined: Wed Apr 30, 2014 11:17 pm
Contact:

Re: [MOD 0.12.11+] Stamina

Post by Schmendrick »

Like my mods? Check out another! Or see older, pre-0.12.0 mods.

User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 2124
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: [MOD 0.12.11+] Stamina

Post by Ranakastrasz »

Should be possible to slow crafting now since it is per player.
Also, if you have a shield, the screen doesn't flash at low health.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

kingoftheinternet
Inserter
Inserter
Posts: 25
Joined: Sun Feb 21, 2016 12:25 am
Contact:

Re: [MOD 0.12.11+] Stamina

Post by kingoftheinternet »

FYI, this still works in 0.14 if you just change factorio_version in info.json to "0.14".

abordoli
Fast Inserter
Fast Inserter
Posts: 131
Joined: Thu May 25, 2017 1:19 am
Contact:

Re: [MOD 0.12.11+] Stamina

Post by abordoli »

Any plans to port this up to 0.15?
Regards,
~B

Post Reply

Return to “Mods”