Turn off, duplicate, copy and paste rules

Right-click the number for more, and ⌘C a rule into another level or another game.

Coin Quest — NutHouse
The menu that opens when you right-click a rule’s number: add a condition, turn it off, duplicate, delete
Right-click the row number for the row menu.

The row menu

Every rule has a number at the left. Its tooltip says “Click to select, drag to move, right-click for more”. Right-click it and you get:

Add another condition…The same as + and…. Opens the picker to add a condition to this rule.
Turn this event offThe rule stays but does nothing when you play. The row goes faint. The menu then says Turn this event back on.
DuplicateMakes a copy of the rule right under it, with the same conditions and actions.
DeleteRemoves the rule. ⌘Z brings it back.

Turning a rule off

This is the best way to test an idea. Not sure a rule is causing a bug? Turn it off and play. Nothing is lost, and you turn it back on with one click.

Duplicate

Two rules that are nearly the same are quicker to make by duplicating. Duplicate the “Hero collides with Slime” rule, then change one condition on the copy.

WhenHero collides with SlimeHero is falling
DoDestroy SlimeAdd 50 to score
WhenHero collides with BatHero is falling
DoDestroy BatAdd 50 to score

Keyboard shortcuts

Click a row number to select the rule first. Then:

⌘DDuplicate the row.
⌘CCopy the row. The toast says “Copied the event. Press ⌘V to paste.”
⌘XCut the row.
⌘VPaste. The rule goes in under the selected row, or at the bottom if nothing is selected.
DeleteRemove the row.

Into another level or game

Copy and paste works across levels and across games. Copy a rule in level 1, open level 2 in the sidebar, open its Events tab and press ⌘V. You can even open another .nuthouse file and paste there.

The pasted rule brings the objects, pictures and sounds it needs with it, if the game does not have them yet. It does not put those objects in the level, though. If the rule is about a Coin and level 2 has no coins, add some in the Level tab and the rule starts working.

Still stuck?

Try the Chocobreak tutorial, open a sample game and read its rules, or look at the questions people ask.