Jump to content

Recommended Posts

Posted (edited)

This has been discussed before and I am primarily motivated for the same reason. I'd like ashwalkers to be able to make leather for things like goliath cloaks. I was able to make drying racks work on lavaland by changing 

Spoiler

/obj/machinery/smartfridge/drying_rack/power_change()
    if(has_power() && anchored)
        stat &= ~NOPOWER
    else
        stat |= NOPOWER
        toggle_drying(TRUE)
    update_icon(UPDATE_OVERLAYS)

to just

Spoiler

/obj/machinery/smartfridge/drying_rack/power_change()
    if(anchored)
        stat &= ~NOPOWER

along with changing the power consumptions to 0.

I dont know which change is the primary reason it works, but it works. There was the implied assumption that the PR would be looked into, and I guess it just never was. But now the work is mostly done, we can have a drying rack that doesnt need power and allow ashwalker to produce leather as a result. I'd love to see the drip :)

Edited by Aligote
  • Like 1
Link to comment
https://www.paradisestation.org/forum/topic/24469-make-drying-racks-not-rely-on-power/
Share on other sites

Posted

A la Cunningham's Law, here ya go.

There should be a variable on `/obj/machinery` that's called `requires_power`. You should set this to `FALSE` on the drying rack, and then remove any code on the drying rack that checks for it needing power, and after that, making sure it will always work!

Posted (edited)
1 hour ago, DGamerL said:

There should be a variable on `/obj/machinery` that's called `requires_power`. You should set this to `FALSE` on the drying rack, and then remove any code on the drying rack that checks for it needing power, and after that, making sure it will always work!

Swapped for this solution.

Edited by Aligote
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use