RimWorld

RimWorld

153 ratings
Redstone Logic
9
3
3
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4
File Size
Posted
Updated
1.020 MB
Jun 19, 2023 @ 12:57am
Jun 23, 2023 @ 1:04am
4 Change Notes ( view )

Subscribe to download
Redstone Logic

In 2 collections by Zed
Zed's mods
18 items
YO DAWG I HEARD YOU LIKE MINECRAFT
9 items
Description
Redstone Logic

UPDATE: Comparator added.

Requires research. Prerequisite: stonecutting.

Not official Minecraft product. Not approved by or associated with Mojang or Microsoft.

Redstone dust


A mysterious glowing mineral from a parallel universe. An essential component of all redstone-operated mechanisms.

Obtaining:
- small lumps of redstone ore will be generated on new maps
- Ground-penetrating scanner will find lumps of buried redstone on existing maps
- trade caravans
- quest rewards
- redstone mining worksites (Ideology)

Redstone wire


Similar to electric conduit, redstone wire transmits redstone power.
Power level drops by 1 for every cell of redstone wire.
Thus, redstone wire can transmit power for no more than 15 cells.

Generators

  • Redstone Torch - generates signal of level 15, cannot be moved, never burns out
  • Redstone Block - generates signal of level 15, can me moved, can be pushed by pistons
  • Lever - generates signal of level 15 when switched on, cannot be moved

Daylight Detector


Produces redstone power in proportion to the daylight cycle. Can be switched to moonlight mode. Is not affected by roofs or artificial light sources.

Tripwire Hook


Emits a redstone signal when any pawn or item appears between two hooks.
One hook can have up to 4 links.
Floor-level buildings, like pressure plates, will not trigger the hook.

Pressure plates


Wooden pressure plates can detect all entities.

Stone pressure plates can detect only pawns/animals.

Golden ("Light") detect all entities, and the signal strength equals the number of entities stood on one.

Steel ("Heavy") is similar to golden, but measures groups of 10 entities.

TNT


An explosive block with logic pretty similar to minecraft's one.
Can be ignited by redstone signal, fire or explosion.
Best combined with tripwires or pressure plates :)

Repeater


Repeats incoming signal with a configurable 1..250 ticks delay.

Comparator


A redstone comparator is a block that can produce an output signal from its front by reading chests, lecterns, beehives and similar blocks, or repeat a signal without changing its strength. It can also be set to either stop outputting a signal when its side input recieves a stronger one (front torch off), or subtract its side input's signal strength from its output (front torch on).

Block


Just a simple stuffable block that can be pushed by pistons. Think of it as a movable wall.

Piston and sticky piston


Piston:
- pushes any items into an empty cell
- pushes acceptable items into a storage
- breaks any plants/trees, producing harvested resources, if any
- pushes pawns
- if pawns are pushed against the wall, they receive blunt damage
- pushes blocks
- pushes other pistons if they're not extended

Sticky piston:
- pushes all things similar to a regular one
- pulls blocks / pistons back

By default pistons will not push or pull most of vanilla buildings. I've added example support to vanilla torch lamp, campfire and
low pod, which will be just breaked by a piston.

Extending
If building is simple and does not have any caching logic in postspawn(), then this should be sufficient:

<modExtensions> <li Class="RedstoneLogic.ExtPistonMoveable"/> </modExtensions>
If you want building to break when pushed by a piston:

<modExtensions> <li Class="RedstoneLogic.ExtPistonMoveable"> <breaks>true</breaks> </li> </modExtensions>
If building has some internal logic/caching, and just changing it's position is not sufficient: (true for all storage buildings)

<modExtensions> <li Class="RedstoneLogic.ExtPistonMoveable"> <respawn>true</respawn> </li> </modExtensions>

Verified compatible/supported mods

You may also like...


https://github.com/zed-0xff/RW-RedstoneLogic

Support me
[ko-fi.com] or Patreon[www.patreon.com]
33 Comments
Yalkin Apr 22, 2024 @ 6:54pm 
1.5?
DameInu23 Mar 6, 2024 @ 11:41pm 
I'm enjoying this MOD.
However, when I was using it, I realized that I wanted the following block.

Block that turns on the electrical switch when the signal is passed through it.
Block that generates signal of level 15 when power is secured.

That's all.Thank you for creating this interesting MOD.

このMODを楽しませてもらっています。
ただ、使っていて以下のブロックがほしいと思いました。

信号を流すと電気のスイッチがONになるブロック
電力が確保されるとレベル15の信号を生成するブロック

以上となります。面白いMODを作成していただきありがとうございました。
HIM🐀 Feb 20, 2024 @ 1:38pm 
WOOOOW
CTH2004 Sep 8, 2023 @ 9:16am 
great! a few suggestions/ questions though:

1. are observers planned?
2. could you add a pressure plate that only detects enemies? iirc one of minecrafts weighted pressure plates only detects hostiles... (Granted, I've never really used weighted pressure plates)
3. are buttons planned?
kad Aug 21, 2023 @ 1:55am 
great mod!
Rob Bobbert Jun 30, 2023 @ 12:42pm 
OH MY GOD! YES
YEV Jun 25, 2023 @ 8:20am 
make a mod with default rimworld texture, not minecrat. Congrats on the mod!!
сэр Суер-Выер Jun 24, 2023 @ 2:01am 
reminds me of minecraft a bit
tintin971 Jun 24, 2023 @ 1:23am 
THE ULTIMATE MICRAFT MOD IN RIMWORLD!!!!!!!!!!!!!!
Bulquerque Jun 23, 2023 @ 2:55pm 
make a not minecraft texture amazing mod