Ludeon Forums

Ludeon Forums

  • October 14, 2019, 01:46:31 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: [A15] [A16] Auto Flick Designation Sun Lamps  (Read 10219 times)

Zhentar

  • Colonist
  • ***
  • Posts: 600
  • Refugee
    • View Profile
[A15] [A16] Auto Flick Designation Sun Lamps
« on: October 23, 2016, 01:01:21 AM »

A16 Download Link: https://github.com/Zhentar/AutoFlicker/releases/download/v1.1/AutoFlicker.zip

A15 Download Link: https://drive.google.com/open?id=0B_iRcVI-TJMZb1JKenRzeTZyVmM

This mod adds an "Auto Flick" option to Sun Lamps and Switches. When enabled, they will automatically designate themselves to be flicked on in the morning (around 5:30, a little bit before plants finish resting), and to be flicked off at night (19:12, when plants start resting).

How is this mod different from other time of day switch mods? It aims to be a Vanilla-friendly micromanagement reduction. Because the actual flicking is still pawn performed, it does not give you any new capabilities or labor reductions that were not already available to a reasonably attentive player. But more importantly, because it is purely pawn powered (presumably using the same timekeeping device they use to follow work/rest schedules), it does not need to be research gated; it is available to your Tundra/Ice Sheet colony on Day 1.

Also, the flick designation is added via a CompProperty that could be used by other mods for other devices (and different hardcoded on/off times are supported).

License: MIT License
Source: https://github.com/Zhentar/AutoFlicker
« Last Edit: December 23, 2016, 01:21:23 AM by Zhentar »
Logged

skullywag

  • Global Moderator
  • Transcendent
  • ****
  • Posts: 5857
  • Engineer
    • View Profile
Re: [A15] Auto Flick Designation Sun Lamps
« Reply #1 on: October 23, 2016, 05:31:46 PM »

Nicely done, great way of handling this, makes your pawns seem less dumb.
Logged
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

merthsoft

  • Drifter
  • **
  • Posts: 67
  • Refugee
    • View Profile
Re: [A15] Auto Flick Designation Sun Lamps
« Reply #2 on: October 23, 2016, 05:55:06 PM »

Oh, that's a really cool idea... Would you mind if I incorporated that into my Time-of-day switch mod?
Logged

kaptain_kavern

  • Planetologist
  • ****
  • Posts: 2074
  • started 10 mods in one tick.
    • View Profile
    • RimWorldMod Slack - A place for live chatting about RimWorld modding
Re: [A15] Auto Flick Designation Sun Lamps
« Reply #3 on: October 23, 2016, 11:56:27 PM »

This one goes right to my QoL list right now ;P

Thanks for the mod

Zhentar

  • Colonist
  • ***
  • Posts: 600
  • Refugee
    • View Profile
Re: [A15] Auto Flick Designation Sun Lamps
« Reply #4 on: October 26, 2016, 11:08:16 PM »

Oh, that's a really cool idea... Would you mind if I incorporated that into my Time-of-day switch mod?

Not at all. Unfortunately, I don't have the source available to post now like I had meant to; that will have to wait until this weekend (hopefully I can remember).
Logged

Zhentar

  • Colonist
  • ***
  • Posts: 600
  • Refugee
    • View Profile
Re: [A15] Auto Flick Designation Sun Lamps
« Reply #5 on: November 05, 2016, 04:31:11 PM »

Finally got around to publishing the source :)
Logged

Awe

  • Colonist
  • ***
  • Posts: 106
  • Refugee
    • View Profile
Re: [A15] Auto Flick Designation Sun Lamps
« Reply #6 on: November 09, 2016, 08:12:22 AM »

Thanks. Very useful.
Logged

mugenzebra

  • Drifter
  • **
  • Posts: 35
  • Refugee
    • View Profile
Re: [A15] Auto Flick Designation Sun Lamps
« Reply #7 on: November 12, 2016, 04:58:14 AM »

Awesome! This is exactly what I need to save power while plants rest. Thank you!
Logged

Ashardalon411

  • Drifter
  • **
  • Posts: 82
  • Refugee
    • View Profile
Re: [A15] Auto Flick Designation Sun Lamps
« Reply #8 on: November 12, 2016, 05:39:30 AM »

Nice, and technicaly compatible with "24h plants" (gived via tilled soil) but gameplay's not compatible:
together the plants will just die.
Logged

mugenzebra

  • Drifter
  • **
  • Posts: 35
  • Refugee
    • View Profile
Re: [A15] Auto Flick Designation Sun Lamps
« Reply #9 on: November 13, 2016, 05:08:29 AM »

Perhaps hydroponics also need to have this functionality.
Logged

Arigas

  • Drifter
  • **
  • Posts: 74
  • Refugee
    • View Profile
Re: [A15] Auto Flick Designation Sun Lamps
« Reply #10 on: December 19, 2016, 11:39:04 PM »

This took me entire too long to find on here :P
Logged

Zhentar

  • Colonist
  • ***
  • Posts: 600
  • Refugee
    • View Profile
Re: [A15] [A16] Auto Flick Designation Sun Lamps
« Reply #11 on: December 23, 2016, 01:21:47 AM »

Bump for A16 update
Logged

alsoandanswer

  • Drifter
  • **
  • Posts: 50
  • Wiki Contributor
    • View Profile
Re: [A15] [A16] Auto Flick Designation Sun Lamps
« Reply #12 on: December 25, 2016, 06:37:39 AM »

Not working, unfortunately. The button for autoflicking is not showing up.

It's at the top of my mod loading list.

I restarted rimworld, and even started a new colony but it didn't work.
Logged


"If I quote some smart guy, then therefore I should be smart myself!" -alsoandanswer

Zhentar

  • Colonist
  • ***
  • Posts: 600
  • Refugee
    • View Profile
Re: [A15] [A16] Auto Flick Designation Sun Lamps
« Reply #13 on: December 25, 2016, 10:52:07 AM »

Top of the mod list is the lowest priority. Do you have any other sun lamp mods?
Logged

alsoandanswer

  • Drifter
  • **
  • Posts: 50
  • Wiki Contributor
    • View Profile
Re: [A15] [A16] Auto Flick Designation Sun Lamps
« Reply #14 on: December 25, 2016, 11:17:27 AM »

oh poopbaskets, it's reverse?

oh man no wonder my mods are in a mess
Logged


"If I quote some smart guy, then therefore I should be smart myself!" -alsoandanswer
Pages: [1] 2