mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 12:21:52 +09:00
bulb now requires walls to spawn
This commit is contained in:
@@ -2,24 +2,39 @@
|
||||
"wire@basegame:8192": { /* signal wire red */
|
||||
"workbench": "",
|
||||
"ingredients": [
|
||||
[10, 1, "item@basegame:112"], /* 1 copper */
|
||||
[1, 1, "$SIGNALWIRE"] /* 1 other signal wire */
|
||||
]
|
||||
},
|
||||
"wire@basegame:8193": { /* signal wire green */
|
||||
"workbench": "",
|
||||
"ingredients": [
|
||||
[10, 1, "item@basegame:112"], /* 1 copper */
|
||||
[1, 1, "$SIGNALWIRE"] /* 1 other signal wire */
|
||||
] },
|
||||
"wire@basegame:8194": { /* signal wire blue */
|
||||
"workbench": "",
|
||||
"ingredients": [
|
||||
[10, 1, "item@basegame:112"], /* 1 copper */
|
||||
[1, 1, "$SIGNALWIRE"] /* 1 other signal wire */
|
||||
]
|
||||
},
|
||||
|
||||
"wire@basegame:8192": { /* signal wire red */
|
||||
"workbench": "wirerollingmill",
|
||||
"ingredients": [
|
||||
[10, 1, "item@basegame:112"] /* 1 copper */
|
||||
]
|
||||
},
|
||||
"wire@basegame:8193": { /* signal wire green */
|
||||
"workbench": "wirerollingmill",
|
||||
"ingredients": [
|
||||
[10, 1, "item@basegame:112"] /* 1 copper */
|
||||
] },
|
||||
"wire@basegame:8194": { /* signal wire blue */
|
||||
"workbench": "wirerollingmill",
|
||||
"ingredients": [
|
||||
[10, 1, "item@basegame:112"] /* 1 copper */
|
||||
]
|
||||
},
|
||||
|
||||
"item@basegame:35": { /* copper bulb */
|
||||
"workbench": "basiccrafting",
|
||||
"ingredients": [
|
||||
|
||||
@@ -14,6 +14,7 @@ import net.torvald.terrarumsansbitmap.gdx.TextureRegionPack
|
||||
class FixtureSignalBulb : Electric {
|
||||
|
||||
@Transient override val spawnNeedsFloor = false
|
||||
@Transient override val spawnNeedsWall = true
|
||||
|
||||
constructor() : super(
|
||||
BlockBox(BlockBox.NO_COLLISION, 1, 1),
|
||||
|
||||
Reference in New Issue
Block a user