We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 20d96da + ef6012c commit 5ef928fCopy full SHA for 5ef928f
Loenn/entities/chains/chained_falling_block.lua
@@ -4,16 +4,18 @@ local fakeTilesHelper = require("helpers.fake_tiles")
4
local chainedFallingBlock = {}
5
6
chainedFallingBlock.name = "CommunalHelper/ChainedFallingBlock"
7
-chainedFallingBlock.fieldInformation = {
8
- tiletype = {
9
- options = fakeTilesHelper.getTilesOptions(),
10
- editable = false
11
- },
12
- fallDistance = {
13
- minimumValue = 0,
14
- fieldType = "integer"
+function chainedFallingBlock.fieldInformation()
+ return {
+ tiletype = {
+ options = fakeTilesHelper.getTilesOptions(),
+ editable = false
+ },
+ fallDistance = {
+ minimumValue = 0,
15
+ fieldType = "integer"
16
+ }
17
}
-}
18
+end
19
20
function chainedFallingBlock.depth(room, entity)
21
return entity.behind and 5000 or 0
0 commit comments