RimWorld
433 értékelés
Power Logic
3
2
3
2
   
Díjazás
Kedvenc
Kedvenc
Törlés
Mod, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5
Fájlméret:
Közzétéve:
Frissítve:
2.857 MB
2016. dec. 4., 19:25
2024. ápr. 11., 8:20
80 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
Power Logic

Leírás
Adds Logic Switches and sensors to your game that switch on or off power based on power input

Originally I was going to create a bunch of And Gates, Or Gates, Not Gates, but after the And gate I thought to myself hmm, needs some switches to show it off and after creating one sensor, then I decided hmm, what about a remote switch, and so on and so forth. so now it turned into a mod with an And gate and a bunch of sensor switches with some wifi thrown in for good measure.


Switches

Stay On Switch (Formally the 'And Gate Switch' in A15)
This switch is intended to be connected to 3 or more power conduits, when power is detected in 2 of the connected conduits, power is allowed through the switch until power is lost completely or flicked on/off.

Pressure Sensor Plate
This is a floor sensor switch that will allow power to transmit through it when a pawn is standing on the sensor. it will also work as a grid of Pressure Sensors in case one was not wide enough, and also contains Friend Foe detection.

Stack Sensor Plate
This is a floor sensor switch that powers on when it has over a certain amount of items on it.

Proximity Sensor
The Proximity sensor will allow power through it when someone is within its range, and disallow power when no one is in range. This type of sensor doesn't consume power, but has poor range.

Capacitor Sensor Switch
Monitors stored power levels, and turns off when power gets to the set 'low' point, and back on again when it reaches another set 'high' point.

Current Sensor Switch
This switches on when it detects positive or negative power.

Light Sensor Switch
This turns on when light level is low, this senses both sunlight and lamp lighting.

Heat Sensor Switch
This turns on when above or below a specific target temperature.

Entangled Switch
This does the opposite of whichever switch it is entangled with. Entanglement between this and another switch is permanent, so be sure you are linking to the correct switch (the Entangle tab shows the distance away from other devices, as well as a visual line to help).

Zone Switch
This switch counts the number of items within a zone.  For stockpiles, the count is restricted to allowed items.

Wireless Devices

Remote Proximity Sensor
Similar to the proximity sensor in the way that it triggers when someone is nearby, except this time without the switch component, and instead it transmits a wireless signal to a nearby receiver device. This sensor is also powered, which means it has better range that can be adjusted.

Remote Controlled Switch
This switch activates when it detects a wireless signal, and deactivates when there's no signal.

Signal Repeater
The Signal Repeater does exactly what it says, it repeats any signal that it receives on the same channel as the repeater, effectively increasing the wireless range of your Transmitter or Remote Switch

Signal Transmitter
The Signal Transmitter does exactly what it says, it transmits a signal when powered. Useful for bridging channels or when used in conjunction with another sensor to activate a Remote Controlled Switch.

Remote Controlled Door
This door does what a usual autodoor does, but when it receives a wireless signal, it can perform a series of actions.

Remote Flicker
This device flicks on any adjacent device when it receives a signal.

Remote Gizmo Servo
This device activates a gizmo button on a single adjacent device (that it is pointing at) when it receives a signal. Unlike the remote flicker, it only works when powered.

Boom Box
A Boombox that plays a sound when powered or when powered and detecting a wireless signal. If multiple boomboxes are used, then only one will be heard at a time in a "first on first played" basis.


Laser Tech

Laser Emitter
A Laser Emitter, well, it emits a laser.  This can be paired with a laser switch to create a laser tripwire.  The beam can be bent round corners using laser mirrors and splitters.  Using more power will extend the laser length, this has the side effect of making the beam slightly hazardous to cross if high enough.  Warning, the laser emitter generates a lot of heat, consider using vents or coolers to avoid extreme heat or explosive mishaps.  The emitter beam doesn't differentiate between hostile or friendly pawns, take this into consideration if creating a laser based trap.

Laser Mirror
This Mirror can reflect a laser beam at a 90 degree angle.

Laser Splitter
This Laser Splitter, if struck by a beam at any angle, will split the beam into two perpendicular beams.

Laser Merger
This Laser Merger, if struck by one or more beams, will direct all beams towards the same direction (directed beams will exit out the wide flat side where the arrows are pointing) using refraction through a prism.

Laser Window
This wall will allow laser beams through it unimpeded

Laser Power Panel
When a laser is directed into one of the panels, the beam is diverted into a reservoir of water, the water quickly turns to steam and that steam pushes through a central turbine, causing power to be generated.

Laser Switch
This switch will turn on if struck by a laser beam.


Logic Gates

Input Socket
All gates (with the exception of the Not Inverter) require an input socket placed directly between the gate and a power conduit you plan to use as an input.

Logic Gate
Can be configured as AND, OR, XOR. Any conduit that is neither an input socket nor inverter are considered the gates output.
If configured as AND, then when it is attached to two powered inputs, it allows power through it.
If configured as OR, then when attached to at least one powered input, it allows power through it.
If configured as XOR, then when attached to one powered input, it allows power through it.

Inverter (Not)
when put directly next to a gate, the Inverter reverses the function of the gate (e.g. AND become NAND). Note, this requires a constant power source to function

[ko-fi.com]
Népszerű témák Összes megnézése (24)
9
2021. aug. 6., 15:51
Two power nets and multiple nets on the same cell error
troy8558
8
2024. szept. 30., 22:21
Suggestion Thread
Gambeans
4
2021. máj. 7., 9:30
Remote sensor switch never connecting to wires
lmgginspace
559 megjegyzés
Aizuki jan. 4., 17:18 
do these mod decrease game performance?
Tawnylure 2024. szept. 27., 15:46 
Suggestion : Failure detector
It'd be nice to have something that can detect if something has failed, so you can have a fallback to a working device. Without it being powered 24/7.
Sisyphus 2024. aug. 13., 10:18 
Can't wait to try this, thanks for your hard work!
smitty_the_smith 2024. ápr. 23., 21:41 
Zone switch is all over the map (so to speak). It reads as having 23 items when the zone is empty. I'm not sure whether it is reading the wrong zone or what.
Asteroid 25399 2024. ápr. 17., 12:17 
I love this mod!
staticriou 2024. ápr. 13., 20:14 
thx u for maintain this. supes. great+ mod
shek 2024. jan. 7., 17:03 
I'm just dumb. The capacitor switch I'm messing with tells you it's not connected to power when it's switched off.
shek 2024. jan. 7., 16:54 
I'm probably just dumb but none of the switches or gates on my end are hooking up to conduits at all. Just says "not connected to power".
ChrisF0001 2023. dec. 5., 16:46 
I seem to be having a lot of trouble with signal repeaters...

At first I thought it was as another poster said - I have a transmitter for channels [0, 0] and a transmitter for channels [1, 1], I set up the repeaters as [0, 1] - and with the [0, 0] transmitter powered and the [1, 1] transmitter unpowered, my [1, 1] remote door is receiving a signal and closed - as if a repeater that receives on one channel repeats on every channel.

So I tried setting every repeater to [1, 1] - and with that done the [1, 1] door is *still* receiving. It's as if both the first case is true (repeaters repeat on every channel even if they only receive on one) - *and* the Channel 1 signal is still bouncing around the network, despite the transmitter being off, because multiple repeaters can see each other and keep rebroadcasting it.

Am I just misunderstanding something? I don't remember any of this from when I last used the mod a few patches ago...
kinngrimm 2023. nov. 12., 12:30 
@shcade would be enough if they were invisible till one edits/builts like the underground wires from power ++