 			#{compileLeaveRules spec.leaveRules}
 
 			#{compileEnterRules spec.enterRules}
+
+			#{compileUseRules spec.useRules}
 		"""
 
 	{

		ruleLines = makeList()
		rules.forEach (rule) ->
			ruleLines.push compileEnterRule rule
			return
		push ruleLines.join ' else '


						x: #{params['start_location'][0]},
						y: #{params['start_location'][1]},
						level: "#{params['start_location'][2]}",
						direction: 2,
					},
					inventory: {
						index: -1,
