Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- //-- Part 1: Recipe fixes
- //
- //-- Step 1: move recipes to new folder
- //-- This step isn't completely necessary because I just found that the working files were still in the root
- //-- the spout.recipe file is still invalid in the /mechanics/ directory (my bad there), but the original placed files work fine (They both have updated/corrected code).
- //-- I just did it this way because the author of MoreAlarms did (that's how I figured out what to replace the error lines with)
- - Move /Spigot/recipes/wirestation/spigot.recipe to /Spigot/recipes/wirestation/mechanics/spigot.recipe
- - Move /Spigot/recipes/wirestation/spout.recipe to /Spigot/recipes/wirestation/mechanics/spout.recipe
- //-- Step 2: changes to spigot.recipe
- - Line 7, change
- "groups" : [ "wiringstation", "all" ]
- to
- "groups" : [ "craftingwiring", "mechanics", "all" ]
- //-- Step 3: changes to spout.recipe
- - Line 7, change
- "groups" : [ "wiringstation", "all" ]
- to
- "groups" : [ "craftingwiring", "mechanics", "all" ]
- //
- //-- Part 2: Object fixes
- //
- //-- Step 1: changes to spigot.object
- - Line 73, change
- "inboundNodes" : [ [0, 0] ],
- to
- "inputNodes" : [ [0, 0] ],
- //-- Step 2: changes to spout.object
- - Line 84, change
- "inboundNodes" : [ [0, 0] ],
- to
- "inputNodes" : [ [0, 0] ],
- //
- //-- Part 3: LUA changes
- //
- //-- Step 1: changes to spigot.lua
- - Line 4, change
- self.outflowOff = entity.configParameter("outflow")
- to
- self.outflowOff = config.getParameter("outflow")
- - Line 20, change
- entity.setAnimationState("spigotState", "on")
- to
- animator.setAnimationState("spigotState", "on")
- - Line 22, change
- entity.setAnimationState("spigotState", "off")
- to
- animator.setAnimationState("spigotState", "off")
- - Line 66, change
- if entity.getInboundNodeLevel(0) then
- to
- if object.getInputNodeLevel(0) then
- - Line 90, change
- return entity.toAbsolutePosition(self.outflowOff)
- to
- return object.toAbsolutePosition(self.outflowOff)
- //-- Step 2: changes to spout.lua
- - Line 4, change
- self.outflowOff = entity.configParameter("outflow")
- to
- self.outflowOff = config.getParameter("outflow")
- - Line 18, change
- entity.setAnimationState("spoutState", "on")
- to
- animator.setAnimationState("spoutState", "on")
- - Line 20, change
- entity.setAnimationState("spoutState", "off")
- to
- animator.setAnimationState("spoutState", "off")
- - Line 51, change
- if entity.getInboundNodeLevel(0) then
- to
- if object.getInputNodeLevel(0) then
- - Line 73, change
- return entity.toAbsolutePosition(self.outflowOff)
- to
- return object.toAbsolutePosition(self.outflowOff)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement